Open cvinacuasonoc opened 10 months ago
I'd like a try to help with it.
i would like to work on this.
Even though BIG_DECIMAL can be mapped to BigDecimal in Java, it's about how Presto can understand and process the BIG_DECIMAL data type from your Pinot database.
Even though BIG_DECIMAL can be mapped to BigDecimal in Java, it's about how Presto can understand and process the BIG_DECIMAL data type from your Pinot database.
@tdcmeehan ?
Presto does not support Pinot data type BIG_DECIMAL. When a column is found with this data type, Presto fails with this message:
Expected Behavior or Use Case
I would expect this fields to be mapped as Java BigDecimal
Presto Component, Service, or Connector
This behavior affects to the Pinot Connector
Possible Implementation
I guess, it can be mapped as a Java BigDecimal
Example Screenshots (if appropriate):
Context
BigDecimal data types are needed for monetary amounts where you want a decimal representation of the decimal places not a binary representation that may be different. Those monetary amounts also need decimal operations in base 10.