vvysotskyi commented on a change in pull request #2128:
URL: https://github.com/apache/drill/pull/2128#discussion_r543733009



##########
File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/store/bson/BsonRecordReader.java
##########
@@ -178,6 +178,11 @@ private void writeToListOrMap(BsonReader reader, final 
MapOrListWriterImpl write
         writeTimeStamp(time, writer, fieldName, isList);
         atLeastOneWrite = true;
         break;
+      case DECIMAL128:
+        double readDoubleAsDecimal128 = reader.readDecimal128().doubleValue();
+        writeDouble(readDoubleAsDecimal128, writer, fieldName, isList);

Review comment:
       Drill has VarDecimal data type, please use it instead of double.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to