imay commented on a change in pull request #1593: Fix parquet directory have 
empty file
URL: https://github.com/apache/incubator-doris/pull/1593#discussion_r311365030
 
 

 ##########
 File path: be/src/exec/parquet_scanner.cpp
 ##########
 @@ -142,7 +142,12 @@ Status ParquetScanner::open_next_reader() {
             continue;
         }
         _cur_file_reader = new ParquetReaderWrap(file_reader.release());
-        return _cur_file_reader->init_parquet_reader(_src_slot_descs);
+        Status status = _cur_file_reader->init_parquet_reader(_src_slot_descs);
+        if(status.is_end_of_file()) {
 
 Review comment:
   ```suggestion
           if (status.is_end_of_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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to