Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi ,
I came across this type of table again which has case sensitive columns , I found a workaround to insert data through output component .
In edit schema - > dbcolumn
We need to surround the concerned column which is in Camel-case with quotes and escape sequence
So if the column name is Text , change it to \"Text\" in the output component schema in the "dbcolumn" column and it works.
It would be better if Talend does this automatically for us , may be in future release but for now this solution works.
Regards,
Karan Dama
Hello,
The connection is established successfully from talend to SAP HANA? The table name and schema name which your are trying to query do exist in SAP HANA?
Are you able to fire direct query from tSAPHANARow component to query your column?
Best regards
Sabrina
Hi Sabrina ,
The answer is YES to all your questions .
For now , I've asked the owner of HANA database to capitalize all their columns after that everything worked fine.
But this seems like a Bug in Talend.
Thanks ,
Karan
Hello,
For this case sensitive issue, could you please clarify in which Talend version/edition you are?
Best regards
Sabrina
Hello,
SAP HANA supports case sensitive columns for a table. While querying such tables it is necessary to have quotes around the fields name else it throws "Invalid column name" error.
With our SAP HANA Input component, you can manully modify the query and add quotes the field name. Does this issue only repro on SAP HANA output?
Best regards
Sabrina
Hello @karandama2006
Thanks for your information. Indeed, we could add a feature to handle the case sensitive columns in SAP HANA table. I will report this issue/new feature to our PMs to see if there is any workaround for that. We will keep you posted.
Best regards
Sabrina
Hi ,
I came across this type of table again which has case sensitive columns , I found a workaround to insert data through output component .
In edit schema - > dbcolumn
We need to surround the concerned column which is in Camel-case with quotes and escape sequence
So if the column name is Text , change it to \"Text\" in the output component schema in the "dbcolumn" column and it works.
It would be better if Talend does this automatically for us , may be in future release but for now this solution works.
Regards,
Karan Dama
Hello @karandama2006
Thanks for you feedback and sharing your solution with us on community.
Feel free to create a workitem jira issue on talend bug tracker.
https://jira.talendforge.org/secure/Dashboard.jspa
Best regards
Sabrina