alamb opened a new issue, #2036:
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/2036

   @Omega359 [mentioned in 
discord](https://discord.com/channels/885562378132000778/1344430130252218439/1415763431516278794)
 a blog post by the Databend folks about how they wrote a replacement of 
sqlparser-rs for their system
   
   
   https://www.databend.com/blog/category-engineering/2025-09-10-query-parser/
   
   <img width="464" height="338" alt="Image" 
src="https://github.com/user-attachments/assets/3e3bfc61-bb1d-4ef9-b214-6bde36cce649";
 />
   
   One thing they cite is the fact that sqlparser-rs often copies strings, even 
when this could be avoided
   
   If anyone cares, we can probably avoid copying strings, someone just has to 
care enough to thread the lifetime information through all the tokens (or maybe 
use an Arc<str> w/ an offset)
   
   @AdamGS mentioned he might be interested in trying this
   
   This could possibly be related to another ticket here:
   - https://github.com/apache/datafusion-sqlparser-rs/issues/1558


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