caicancai commented on code in PR #4043:
URL: https://github.com/apache/calcite/pull/4043#discussion_r1845322170
##########
arrow/src/main/java/org/apache/calcite/adapter/arrow/ArrowTable.java:
##########
@@ -130,7 +130,16 @@ public Enumerable<Object> query(DataContext root,
ImmutableIntList fields,
// if the split condition has more than two parts it's a binary
operator
// with an additional literal node
if (data.length > 2) {
- treeNodes.add(makeLiteralNode(data[2], data[3]));
+ if (data[3].startsWith("decimal")) {
Review Comment:
In the long run, string is not a good choice to represent data types. I plan
to restructure it into Calcite.Sqltype 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]