You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "xitep (via GitHub)" <gi...@apache.org> on 2026/03/31 05:53:30 UTC

[PR] Parens [datafusion-sqlparser-rs]

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

   * this suggests `Parens<T>`. hopefully advancing #1548 a bit and being the foundation for #2050
   * it is (a bit) wasteful to store the parens' location as a `Span` (since a paren is just a single character, the start location would fully suffice), but I simply went for consistency.
   * with this PR (so far), it's used only by `Value` so that i can properly determined the end of an `insert` statement and distinguish between "`... VALUES ('foo' /\*xyz\*/)` and `... VALUES('foo') /\*xyz\*/`
   * of course, many more places in the AST could be covered, e.g. function params/args, subqueries, etc. if this PR is OK as is, i can put in some more time and expand on the coverage. (just let me know.)


-- 
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: [PR] Track `Parens`'s span [datafusion-sqlparser-rs]

Posted by "xitep (via GitHub)" <gi...@apache.org>.
xitep commented on PR #2291:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2291#issuecomment-4269175507

   alright @iffyio, looks like it's good now :) (btw: thank you for the fix-clippy-pr!)


-- 
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: [PR] Track `Parens`'s span [datafusion-sqlparser-rs]

Posted by "iffyio (via GitHub)" <gi...@apache.org>.
iffyio merged PR #2291:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2291


-- 
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: [PR] Track `Parens`'s span [datafusion-sqlparser-rs]

Posted by "xitep (via GitHub)" <gi...@apache.org>.
xitep commented on PR #2291:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2291#issuecomment-4267017802

   i guess, we'll wait for #2308.


-- 
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: [PR] Track `Parens`'s span [datafusion-sqlparser-rs]

Posted by "iffyio (via GitHub)" <gi...@apache.org>.
iffyio commented on PR #2291:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2291#issuecomment-4268818937

   @xitep the clippy issues have been fixed on main  now, could you rebase when you get the chance?


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