on 2018 Sep 12 9:32 PM
Hi All,
We have a requirement to extract the data from Hana where the Information Steward (IS) is creating the table. The issue is for every landscape IS appends an auto generated id at the end of table. Thus, we would not know the table in every landscape to be used in DS.
So, what i did is I wrote a script to identify my required table from table "IS_FD_TABLES_MAP" in hana and I get to know my required table.
$Test_Table = sql('Hana','SELECT A.TABLE_ALIAS || \'_FD\'
FROM "SCHEMA"."IS_FD_TABLES_MAP" A
WHERE A.FQ_TABLE_NAME LIKE \'TEST_%\'');
And I try to use the SQL transformation to read the table that is now stored in variable $Test_Table. Just select statement like this "Select * from $Test_Table" but DS throws an error.
Appreciate your thoughts.
Thanks,
Vinay
Request clarification before answering.
DS doesn't throw an error. It just shows the error you get from the underlying database.
What's the error message like?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 13 | |
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.