Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
mauerwegrunner
Contributor III
Contributor III

Create table in postgreSQL with comments being included in tDbOutput schema

Hello,

I often use the functionality "drop table if exists and create" which is very useful. Now I've tried to include comments to columns in the schema, which should be part of the new created output table. So I've tested it by adding some comment text in schema column "comment"

0695b00000G34YWAAZ.jpg.

I've tried double double quotation, single quotation and no quotation. However, the comments do not appear in the created table's DDL:

0695b00000G34cOAAR.jpg

The default value appears. What is wrong? I am using TOS 7.3.1, target tables are in a postgreSQL 12.7

Thanks in advance, Matthias

Labels (2)
4 Replies
Anonymous
Not applicable

Hello,

Are you able to apply the Talend schema comments in DB columns comment with tCreateTable component?

Best regards

Sabrina

mauerwegrunner
Contributor III
Contributor III
Author

Hello Sabrina,

I tried, but there is no comment as well:

 

 

Anonymous
Not applicable

Hello,

It seems to be a new feature as there exists a jira issue: https://jira.talendforge.org/browse/TDI-20519

Best regards

Sabrina

mauerwegrunner
Contributor III
Contributor III
Author

Hello Sabrina,

 

thanks for the answer. Then I will use an alter table script and add comments for the time being.

 

Best regards,

Matthias