imay commented on a change in pull request #2187: Fix bug : num_of_columns_from_file incompatibility cause BE crashed during the upgrade URL: https://github.com/apache/incubator-doris/pull/2187#discussion_r345672399
########## File path: be/src/exec/parquet_scanner.cpp ########## @@ -143,7 +145,11 @@ Status ParquetScanner::open_next_reader() { file_reader->close(); continue; } - _cur_file_reader = new ParquetReaderWrap(file_reader.release(), range.num_of_columns_from_file); + if (range.__isset.num_of_columns_from_file ) { Review comment: ```suggestion if (range.__isset.num_of_columns_from_file) { ``` ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org