Skip to content

Changes to pass through sqlparser options#15349

Merged
rschlussel merged 1 commit intoprestodb:masterfrom
BlueberryDS:sql-parser-options-passthrough
Nov 16, 2020
Merged

Changes to pass through sqlparser options#15349
rschlussel merged 1 commit intoprestodb:masterfrom
BlueberryDS:sql-parser-options-passthrough

Conversation

@BlueberryDS
Copy link
Contributor

Parsing for prepared statements has differences from the regular statement handler in that configured parsing options are not performed consistently. This change passes the SqlParsingOptions through to the prepared statement handling code to make that logic consistent.

Test Plan - Unit tests

== RELEASE NOTES ==

General Changes
* Pass SqlParserOptions to prepared statement handler so that parsing logic is consistent with regular requests

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Oct 23, 2020

CLA Check
The committers are authorized under a signed CLA.

  • ✅ Dong Shi (c284141375371bcedfd1daf4f571d1a38c7759d8)

@BlueberryDS
Copy link
Contributor Author

@rschlussel

Copy link
Contributor

@rschlussel rschlussel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please squash all your commits together and rebase on master (we don't do merge commits, so you need to rebase rather than merge.)

@BlueberryDS BlueberryDS force-pushed the sql-parser-options-passthrough branch 5 times, most recently from 6285bde to dac427e Compare November 10, 2020 19:47
…atements.

    Parsing for prepared statements has differences from the regular statement handler in that configured parsing options are not performed consistently. This change passes the SqlParsingOptions through to the prepared statement handling code to make that logic consistent.
@BlueberryDS BlueberryDS force-pushed the sql-parser-options-passthrough branch from dac427e to 34bd7ba Compare November 13, 2020 07:19
Copy link
Contributor

@rschlussel rschlussel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@rschlussel rschlussel merged commit 548457a into prestodb:master Nov 16, 2020
@caithagoras caithagoras mentioned this pull request Dec 4, 2020
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants