3개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
I had the same issue and solved that with creating a view and adding some size checks for array columns like this one:
IF(CARDINALITY(my_array_column) = 0, NULL, my_array_column) AS my_array_column
답변함 5년 전
0
I am having the same problem but unfortunately the above suggestion does not work because it appears to happen with nested arrays as well which i cannot check the cardinality of and replace with null if empty without unnesting everything first (if that would even be possible due to multiple struct & array columns and levels of nesting).
답변함 5년 전
0
Admittedly responding to an old question, but a simple solution is to use ORC as format instead of PARQUET (format='ORC'), which doesn't have an issue with empty values.
답변함 3년 전
관련 콘텐츠
- AWS 공식업데이트됨 3년 전
- AWS 공식업데이트됨 7달 전
- AWS 공식업데이트됨 2년 전