flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [flink] lirui-apache commented on pull request #15712: [FLINK-22400][hive connect]fix NPE problem when convert flink object for Map
Date Tue, 11 May 2021 08:49:44 GMT

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



Mime
View raw message