Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Discovering schema and BigDecimal type

Hello folks, as the subject says, when programmatically discovering schema (for example after clicking "guess schema" button) how should we define BigDecimal type?

If we use 

recordBuilderFactory.newSchemaBuilder(entryBuilder.withType...)

to generate the initial schema, there is no BigDecimal type in the Schema.Type Enumeration, BUT in "edit schema" window we can manually select BigDecimal type for the column type. Is there a reason why we cannot programmatically set entry type to be BigDecimal (but we can manually), and what should we use instead of BigDecimal?

 

Thank you!

Matija 

Labels (2)
3 Replies
Anonymous
Not applicable
Author

Hello,

Are you using talend component API or javajet to create your custom component?

Best regards

Sabrina

Anonymous
Not applicable
Author

Hi @xdshi , I'm using component-api v1.1.3 and Talend open studio v7.1.1.

Anonymous
Not applicable
Author

Hi @matijapetanjek ,

 

BigDecimal is not supported by Talend Component Kit, you can pass big number through STRING type. The schema shows it for the compatibility with the studio and other components but it is not a type of the framework.

 

Romain