Re: [PR] [WIP] Store spans for Value expressions [datafusion-sqlparser-rs]

2025-02-24 Thread via GitHub
lovasoa commented on PR #1738: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1738#issuecomment-2678995461 > Any chance you can pull the doc strings from https://github.com/lovasoa/sqlparser-rs/commit/4d101b0f4af2b9381bea63ca6d58f61926e6b10f as well? I did. I think this

Re: [PR] [WIP] Store spans for Value expressions [datafusion-sqlparser-rs]

2025-02-24 Thread via GitHub
lovasoa commented on PR #1738: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1738#issuecomment-2679030792 > It appears there are a few failed tests :grimacing: I had forgotten to run `cargo test --all-features`. It's fixed now. -- This is an automated message from t

Re: [PR] [WIP] Store spans for Value expressions [datafusion-sqlparser-rs]

2025-02-24 Thread via GitHub
alamb commented on PR #1738: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1738#issuecomment-2679021258 It appears there are a few failed tests: ![Screenshot 2025-02-24 at 11 34 25  AM](https://github.com/user-attachments/assets/f1e20a66-ef46-4bd0-819d-bb69853ab328)

Re: [PR] [WIP] Store spans for Value expressions [datafusion-sqlparser-rs]

2025-02-24 Thread via GitHub
alamb commented on PR #1738: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1738#issuecomment-2678918594 Looking quite nice! Any chance you can pull the doc strings from https://github.com/lovasoa/sqlparser-rs/pull/1/commits/4d101b0f4af2b9381bea63ca6d58f61926e6b10f as w

Re: [PR] [WIP] Store spans for Value expressions [datafusion-sqlparser-rs]

2025-02-24 Thread via GitHub
lovasoa commented on PR #1738: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1738#issuecomment-2678881467 Ok, ast-grep is [a bit of a pita to use with rust](https://github.com/ast-grep/ast-grep/issues/853), but I managed to get it to do most of the work with the following rul

Re: [PR] [WIP] Store spans for Value expressions [datafusion-sqlparser-rs]

2025-02-24 Thread via GitHub
alamb commented on PR #1738: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1738#issuecomment-2678717651 @lovasoa here is a proposed contribution: - https://github.com/lovasoa/sqlparser-rs/pull/1 If you like that, I think we can apply the same thing to the other tests

Re: [PR] [WIP] Store spans for Value expressions [datafusion-sqlparser-rs]

2025-02-24 Thread via GitHub
alamb commented on PR #1738: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1738#issuecomment-2678615822 > If someone wants to volunteer help... I will post a note in DataFUsion slack and see if I can find anyone to help In terms of logitistics, I suggest people:

Re: [PR] [WIP] Store spans for Value expressions [datafusion-sqlparser-rs]

2025-02-24 Thread via GitHub
lovasoa commented on PR #1738: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1738#issuecomment-2678028420 ![image](https://github.com/user-attachments/assets/10f7bbc8-7e68-4769-940a-b1ff3c4f6650) If someone wants to volunteer help... -- This is an automated messa

Re: [PR] [WIP] Store spans for Value expressions [datafusion-sqlparser-rs]

2025-02-24 Thread via GitHub
lovasoa commented on code in PR #1738: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1738#discussion_r1967358401 ## src/ast/value.rs: ## @@ -26,10 +26,25 @@ use bigdecimal::BigDecimal; #[cfg(feature = "serde")] use serde::{Deserialize, Serialize}; -use crate::

Re: [PR] [WIP] Store spans for Value expressions [datafusion-sqlparser-rs]

2025-02-24 Thread via GitHub
eliaperantoni commented on code in PR #1738: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1738#discussion_r1967336588 ## src/ast/value.rs: ## @@ -26,10 +26,25 @@ use bigdecimal::BigDecimal; #[cfg(feature = "serde")] use serde::{Deserialize, Serialize}; -use c

Re: [PR] [WIP] Store spans for Value expressions [datafusion-sqlparser-rs]

2025-02-24 Thread via GitHub
lovasoa commented on code in PR #1738: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1738#discussion_r1967171526 ## tests/sqlparser_bigquery.rs: ## @@ -50,112 +50,146 @@ fn parse_literal_string() { let select = dialect.verified_only_select(sql); assert_e

Re: [PR] [WIP] Store spans for Value expressions [datafusion-sqlparser-rs]

2025-02-24 Thread via GitHub
lovasoa commented on code in PR #1738: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1738#discussion_r1967169666 ## src/ast/value.rs: ## @@ -26,10 +26,25 @@ use bigdecimal::BigDecimal; #[cfg(feature = "serde")] use serde::{Deserialize, Serialize}; -use crate::

Re: [PR] [WIP] Store spans for Value expressions [datafusion-sqlparser-rs]

2025-02-23 Thread via GitHub
eliaperantoni commented on code in PR #1738: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1738#discussion_r1967128017 ## src/ast/value.rs: ## @@ -26,10 +26,25 @@ use bigdecimal::BigDecimal; #[cfg(feature = "serde")] use serde::{Deserialize, Serialize}; -use c

Re: [PR] [WIP] Store spans for Value expressions [datafusion-sqlparser-rs]

2025-02-23 Thread via GitHub
alamb commented on PR #1738: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1738#issuecomment-2676821051 FYI @eliaperantoni -- any chance you are willing to help our with this one? -- This is an automated message from the Apache Git Service. To respond to the message, please

Re: [PR] [WIP] Store spans for Value expressions [datafusion-sqlparser-rs]

2025-02-21 Thread via GitHub
lovasoa commented on PR #1738: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1738#issuecomment-2675136484 feel free to edit the code directly without asking me first :) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to G

[PR] [WIP] Store spans for Value expressions [datafusion-sqlparser-rs]

2025-02-21 Thread via GitHub
lovasoa opened a new pull request, #1738: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1738 (no comment) -- 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 u