Add ability to configure SQL parser dialect in SessionState#23235
Add ability to configure SQL parser dialect in SessionState#23235Viicos wants to merge 1 commit into
SessionState#23235Conversation
What do you mean? That it's not possible to set a custom SQL dialect from a string name, e.g. What does the config return once you set a custom dialect using these APIs ( |
Makes sense, most likely it makes sense for users using this API to make sure they set their |
Which issue does this PR close?
Fixes #23109.
Rationale for this change
What changes are included in this PR?
This is one approach that tries solving #23109, by allowing the SQL parser dialect to be configured at the
SessionStatelevel.It's still a bit inconsistent, because it doesn't follow what is set at the config level (see issue), but I guess better than nothing?
Are these changes tested?
Yes.
Are there any user-facing changes?
No.