lirui-apache commented on pull request #15712:
URL: https://github.com/apache/flink/pull/15712#issuecomment-838095484


   Hi @hehuiyuan , I tried reading the parquet file you attached with both 
hive-2.0.0 and hive-2.3.4. Hive-2.0.0 returns `hehuiyuan     NULL` and 
hive-2.3.4 returns `hehuiyuan {}`.
   So I'd prefer to return `NULL` in `HiveInspectors` if the map object is 
null. On flink side we actually can't decide whether the result should be null 
or empty map. So it's better to just return null when hive gives us null. WDYT?


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