LucaCappelletti94 opened a new pull request, #2028:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2028

   This PR introduces the `From` trait implementation for all variants of the 
`Statement` enum which are evidently mapped 1-1. There are a few variants which 
are not mappable in such a way, and therefore I refrained from creating one 
From impl for those. I have also added some `.into()` in the code where I have 
seen clear examples of statements conversion which may benefit from using the 
`From` trait instead of specifying the Statement variant. There are certainly 
more such cases, but I thought it was outside of the scope of this PR to 
replace such things.
   
   This PR closes #2020 


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