xuyang created CALCITE-4916: ------------------------------- Summary: Need more exception information about "Non-query expression encountered in illegal context" Key: CALCITE-4916 URL: https://issues.apache.org/jira/browse/CALCITE-4916 Project: Calcite Issue Type: Improvement Reporter: xuyang
As a user, in most cases I was confused with the exception with "Non-query expression encountered in illegal context", and re-check my entire sql even if the sql is too long. I see some issues about this exception have been existed. The root cause is that the exception lacks some necessary information such asĀ position and expected sequences following. So, maybe the exception information can be improved to be more clear to users. -- This message was sent by Atlassian Jira (v8.20.1#820001)