joshelser commented on a change in pull request #150:
URL: https://github.com/apache/calcite-avatica/pull/150#discussion_r698103406



##########
File path: 
core/src/main/java/org/apache/calcite/avatica/util/AbstractCursor.java
##########
@@ -722,13 +701,21 @@ protected Number getNumber() throws SQLException {
       return (Number) super.getObject();
     }
 
+    //FIXME There are several problems with this, the code below simply 
implements
+    //a previous behaviour codified by the Calcite test suite.
+    //
+    // 1. It interprets a scale of 0 as a NOOP parameter, it should in fact 
drop all fractionals

Review comment:
       Yeah, that is funny. Julian might have opinions if you have an interest 
in knowing why it is this way. With a lot of this type handling, it's been 
better (IMO) to make a decision based on what we know at the current time :)




-- 
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]


Reply via email to