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/27 19:19:38 UTC

[GitHub] [pinot] jackjlli commented on pull request #7644: Adding config to allow not throwing BadQueryRequestException

jackjlli commented on pull request #7644:
URL: https://github.com/apache/pinot/pull/7644#issuecomment-953237367


   > > > Can you provide some reasons a to why we are adding this config? Isnt it easier for the client to just ignore the exception? Is there an ask (issue) for such a thing?
   > > > Also, if we _must_ add a config, can it be on a per-table level instead of across all tables on a broker?
   > > 
   > > 
   > > The purpose is to have a way to keep compatibility but just track if any existing user is accidentally on the old behavior.
   > > Once finished the investigation, we should just deprecate this config(maybe after 0.9.0 release) and always throw exception.
   > 
   > Maybe I am missing something. I am sure the user code had some exception or other to handle before, so why bother with compatibility here? If they send an invalid query, nothing can be done anyway
   
   Currently there is no way to find out whether invalid column is being used in the query; an empty response instead of an exception will be returned once the invalid column is included in the query. The purpose of having a metric here is to identify such use cases and then force the users to properly handle such cases.


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