logan-keede commented on issue #14437:
URL: https://github.com/apache/datafusion/issues/14437#issuecomment-2795126344

   > 
![](https://private-user-images.githubusercontent.com/6002855/406083289-32efeb4f-aad9-41c9-a1e3-600a00d525c3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQyODQ4NjYsIm5iZiI6MTc0NDI4NDU2NiwicGF0aCI6Ii82MDAyODU1LzQwNjA4MzI4OS0zMmVmZWI0Zi1hYWQ5LTQxYzktYTFlMy02MDBhMDBkNTI1YzMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDQxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTA0MTBUMTEyOTI2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MzVkOTZjM2YxZDA1ODhkNTU5ZWRlNjFjZGM1MmE5YTU4NjUwODYwMmEyZjcyNzJmMmJhNzdjZTZkMDIyZmFhNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.dEuMiXmO978QOLYy1sTkgjm6aIIgWBMTRdRpi2FbBqo)
   > 
   > See [#14429](https://github.com/apache/datafusion/issues/14429) for more 
information.
   
   @eliaperantoni How are you printing these messages?
   
   Also, the error generated by the above mentioned query seems to be generated 
by sqlparser and then propagated to DataFusion. So, AFAIK it might not be 
possible to attach diagnostic for that particular error as `TokenWithSpan` is 
lost. Though we can do this for the syntax errors detected in DataFusion, till 
the day we have `DfParser` free of `sqlparser::parser:Parser` .
   
   I have opened a PR #15680, it will take some time to be ready for review but 
if you have some time I would be grateful if you can let me know whether the 
approach makes sense to you.


-- 
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: github-unsubscr...@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to