yoavcloud commented on issue #1392:
URL: 
https://github.com/apache/datafusion-sqlparser-rs/issues/1392#issuecomment-3347323717

   The team I work with at Satori and I have been thinking about this problem 
for a while. We've had many cases where we could benefit from an incomplete AST 
for our own purposes, for example, a while ago, the parser only supported the 
first statement, and it failed on the second:
   ```
   INSERT INTO tbl VALUES (...)
   INSERT OVERWRITE INTO tbl VALUES (...)
   ```
   
   For our use case, the two are equivalent and we would have been just fine 
with an incomplete AST. But as written above, this will likely completely 
change the error handling strategy of the parser.
   
   I will try to carve out some time in the near future to try and propose a 
solution.


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