caicancai commented on code in PR #4043:
URL: https://github.com/apache/calcite/pull/4043#discussion_r1835731825
##########
arrow/src/main/java/org/apache/calcite/adapter/arrow/ArrowTable.java:
##########
@@ -194,6 +194,8 @@ private static TreeNode makeLiteralNode(String literal,
String type) {
return TreeBuilder.makeLiteral(parseFloat(literal));
case "double":
return TreeBuilder.makeLiteral(parseDouble(literal));
+ case "decimal":
+ return TreeBuilder.makeDecimalLiteral(literal, 19, 0);
Review Comment:
Comply with Calcite's default Decimal type
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]