You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "tejaswini-imply (via GitHub)" <gi...@apache.org> on 2023/03/16 06:08:50 UTC

[GitHub] [druid] tejaswini-imply commented on a diff in pull request #13935: Fixes parquet uint_32 datatype conversion

tejaswini-imply commented on code in PR #13935:
URL: https://github.com/apache/druid/pull/13935#discussion_r1138169118


##########
extensions-core/parquet-extensions/src/main/java/org/apache/druid/data/input/parquet/simple/ParquetGroupConverter.java:
##########
@@ -364,6 +364,7 @@ private static Object convertPrimitiveField(Group g, int fieldIndex, int index,
           case UINT_16:
             return g.getInteger(fieldIndex, index);
           case UINT_32:
+            return g.getInteger(fieldIndex, index) & (-1L >>> 32);

Review Comment:
   Fixed it, Thanks.



-- 
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: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org