You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "alamb (via GitHub)" <gi...@apache.org> on 2025/02/24 21:28:48 UTC

[I] Create an MSRV policy in this crate [datafusion-sqlparser-rs]

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

   TLDR woudl be:
   1. Define a MSRV policy (maybe copy the existing DataFusion one)
   2. Implement some sort of CI check (again can copy / reuse the datafusion one if we want)
   3. 
   
                 🤔  interestingly we don't seem to have an MSRV policy in this crate (at least not that I could find in https://github.com/apache/datafusion-sqlparser-rs/blob/main/README.md) 
   
   We do have such a thing in DataFusion here: https://github.com/apache/datafusion?tab=readme-ov-file#rust-version-compatibility-policy
   
   Maybe it is worth considering adding some documentation / policy in the sqlparser crate too 🤔
   
   _Originally posted by @alamb in https://github.com/apache/datafusion-sqlparser-rs/issues/1736#issuecomment-2676808035_
               


-- 
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-unsubscribe@datafusion.apache.org.apache.org

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


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


Re: [I] Create an MSRV policy in this crate [datafusion-sqlparser-rs]

Posted by "rvql (via GitHub)" <gi...@apache.org>.
rvql commented on issue #1744:
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/1744#issuecomment-4009253354

   Hi,
   
   I think this crate no longer works in stable rust before 1.81 because [this commit](https://github.com/apache/datafusion-sqlparser-rs/commit/37aa792277089de6dbcf01823d7db5e9029ce5c7) introduced `core::error::Error`.


-- 
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-unsubscribe@datafusion.apache.org

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


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


Re: [I] Create an MSRV policy in this crate [datafusion-sqlparser-rs]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #1744:
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/1744#issuecomment-2683182151

   > From looking into [#1612](https://github.com/apache/datafusion-sqlparser-rs/issues/1612), some test code uses associated type bounds ([stabilized in 1.79](https://github.com/rust-lang/rust/pull/122055/)). It could be rewritten if an earlier MSRV is desired (1.75 worked without it). That's moot if following a more progressive policy like DataFusion though.
   
   I don't have a strong preference -- I think keeping sqlparser simple / easy to embed sounds like a good idea but all the projects I care about use newer versions of rust 🤷 
   
   Hopefully others can chime in with their points of view


-- 
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-unsubscribe@datafusion.apache.org

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


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


Re: [I] Create an MSRV policy in this crate [datafusion-sqlparser-rs]

Posted by "mvzink (via GitHub)" <gi...@apache.org>.
mvzink commented on issue #1744:
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/1744#issuecomment-2679756348

   From looking into #1612, some test code uses associated type bounds ([stabilized in 1.79](https://github.com/rust-lang/rust/pull/122055/)). It could be rewritten if an earlier MSRV is desired (1.75 worked without it). That's moot if following a more progressive policy like DataFusion though.


-- 
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-unsubscribe@datafusion.apache.org

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


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