You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2019/09/10 10:48:29 UTC

[GitHub] [incubator-hudi] Gowthamsb12 commented on issue #845: how to store null value in columns?

Gowthamsb12 commented on issue #845: how to store null value in columns?
URL: https://github.com/apache/incubator-hudi/issues/845#issuecomment-529880460
 
 
   I faced the same issue due to "double and null" values in my Hoodie partition column.
   Fix: 
   For example :   
   1.joinedDF.col("START_EPOCH_TIME").cast("int")  // Double to Integer 
   2.Dataset<Row> filteredData = joinedDF.na().fill(0);  // Replace null with 0

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services