sourabh-27 commented on issue #18808:
URL: https://github.com/apache/pinot/issues/18808#issuecomment-4770940867

   @xiangfu0 
   
   I did some testing after force-deleting a column and observed the following 
behaviour:
   
   SSE returns:
   UnknownColumnError: Unknown columnName 'OriginState' found in the query
   The query reaches the broker request handling path and fails in 
BaseSingleStageBrokerRequestHandler while resolving the column metadata:
   Map<String, String> columnNameMap = 
_tableCache.getColumnNameMap(rawTableName);
   
   MSE fails during Calcite validation with:
   QueryValidationError: The definition of column 'OriginState' depends on 
itself through the following columns: 'OriginState'
   The failure occurs much earlier during Calcite validation itself:
   plannerContext.getValidator().validate(sqlNode)
   
   My inclination is to keep this same behaviour. Thoughts?


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