emkornfield commented on a change in pull request #9863:
URL: https://github.com/apache/arrow/pull/9863#discussion_r605008680



##########
File path: cpp/src/parquet/thrift_internal.h
##########
@@ -256,6 +256,8 @@ static inline format::Type::type ToThrift(Type::type type) {
 static inline format::ConvertedType::type ToThrift(ConvertedType::type type) {
   // item 0 is NONE
   DCHECK_NE(type, ConvertedType::NONE);
+  // it is forbidden to emit "NA" (PARQUET-1990)
+  DCHECK_NE(type, ConvertedType::NA);

Review comment:
       DCHECK_Lt might be better here.




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