Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
Hello,
Are you using talend component API or javajet to create your custom component?
Best regards
Sabrina
Hi @xdshi , I'm using component-api v1.1.3 and Talend open studio v7.1.1.
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