You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2021/10/25 03:02:29 UTC

[GitHub] [pinot] cxing opened a new issue #7627: Pinot can't skip creating derived column when configured in transform functions

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: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org