Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix OracleQuery Dialect Quote Char #516

Merged
merged 1 commit into from
Nov 5, 2020

Conversation

noambloom
Copy link
Contributor

Oracle SQL query breaks when double quoted

A quoted identifier begins and ends with double quotation marks (").
If you name a schema object using a quoted identifier,
then you must use the double quotation marks whenever you refer to that object.
Thus it makes sense that the user will double quote the identifier
him/herself.

A nonquoted identifier is not surrounded by any punctuation.

See https://docs.oracle.com/database/121/SQLRF/sql_elements008.htm

Addresses #394 (comment)
Addresses #298 for OracleQuery

@noambloom noambloom requested review from twheys and a team as code owners November 4, 2020 14:43
@coveralls
Copy link

coveralls commented Nov 4, 2020

Coverage Status

Coverage increased (+0.001%) to 98.219% when pulling a59ab3e on noambloom:bugfix_oracle_query_quote_char into 82d0877 on kayak:master.

@noambloom noambloom force-pushed the bugfix_oracle_query_quote_char branch 2 times, most recently from 76a7601 to ee7e825 Compare November 4, 2020 14:51
Oracle SQL query breaks when double quoted

A quoted identifier begins and ends with double quotation marks (").
If you name a schema object using a quoted identifier,
then you must use the double quotation marks whenever you refer to that object.
Thus it makes sense that the user will double quote the identifier
him/herself.

A nonquoted identifier is not surrounded by any punctuation.

See https://docs.oracle.com/database/121/SQLRF/sql_elements008.htm
@noambloom noambloom force-pushed the bugfix_oracle_query_quote_char branch from ee7e825 to a59ab3e Compare November 4, 2020 21:35
@noambloom noambloom requested a review from gl3nn November 4, 2020 21:38
@gl3nn gl3nn merged commit 2d81f10 into kayak:master Nov 5, 2020
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.

3 participants