cxing opened a new issue #7627:
URL: https://github.com/apache/pinot/issues/7627


   When reloading segments, pinot will skip many segments when derived column 
not configured in schema or segments metadata , which will cause some segments 
not synced latest new columns
   
   We got the following error message when query from table:
   
![image](https://user-images.githubusercontent.com/13634486/138628158-fe6abe65-7572-4130-9e73-0d0ff05ba96d.png)
   
   Code need remove:
   ```
   for (String argument : arguments) {
     ColumnMetadata columnMetadata = 
_segmentMetadata.getColumnMetadataFor(argument);
     if (columnMetadata == null) {
       LOGGER.warn("Skip creating derived column: {} because argument: {} does 
not exist in the segment", column,
           argument);
       return false;
     }
     argumentsMetadata.add(columnMetadata);
   }
   ```
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to