crepererum commented on issue #4615:
URL: 
https://github.com/apache/arrow-datafusion/issues/4615#issuecomment-1368728770

   The "when to check errors" is highly dependent on the database. I've worked 
with MS cloud SQL and Exasol before and in some cases, type errors (e.g. due to 
incompatible operators or functions that only accept a certain type) were only 
raised if at least a single row was passed throw it (post joins and where 
selections). These errors happened at query execution (not planning). From a 
user's perspective this was highly confusing. I recommend we take a look at the 
SQL standard and if it allows for it we bail out of invalid queries as early as 
possible, no matter if there's any data to query. 


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

Reply via email to