Skip to main content
Question

Hi all, Can anyone tell me why is this happening because I am not able to get the list of columns even table is there in data pool ..?


imageimage

2 replies

kandi.naidu
Level 7
Forum|alt.badge.img+6

Hi Sanjay,

 

I think , you should load the table in the data model first then use data model inplace of data pool.

 

For example :

temp_data_model.get_tables().find('TEMP_INPUT_DATA').get_columns()


Jan-Peter van der Steege
Level 12
Forum|alt.badge.img+27

Hi Sanjay,

 

I think , you should load the table in the data model first then use data model inplace of data pool.

 

For example :

temp_data_model.get_tables().find('TEMP_INPUT_DATA').get_columns()

I agree on this remark.

 

To add here: if you want to use the 'get_table()' command, you should refer to the table ID instead of its name. If you want to use the name to search on, then the 'find()' command should be used.