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

vdk-oracle: escape special chars in column names #3045

Merged
merged 2 commits into from
Jan 23, 2024

Conversation

DeltaMichael
Copy link
Contributor

Why?

Special characters in column names currently cause errors. They should be supported in case the plugin is used for tables with unorthodox column names

What?

Support special characters in oracle column names
Refactor column caching logic

Special chars are escaped as advised here
https://docs.oracle.com/en/error-help/db/ora-00904/

How was this tested?

Ran functional tests locally
CI/CD

What kind of change is this?

Feature/non-breaking

Signed-off-by: Dilyan Marinov [email protected]

Export identifier normalization to separate function

@DeltaMichael DeltaMichael force-pushed the person/mdilyan/oracle-special-chars branch from 70d6f92 to 7b97f67 Compare January 22, 2024 13:59
Copy link
Collaborator

@antoniivanov antoniivanov 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 to me. None major comments. Mostly minor clean code suggestions.

@DeltaMichael DeltaMichael force-pushed the person/mdilyan/oracle-special-chars branch from 7b97f67 to 2a09a24 Compare January 23, 2024 08:48
Why?

Special characters in column names currently cause
errors. They should be supported in case the plugin
is used for tables with unorthodox column names

What?

Support special characters in oracle column names
Refactor column caching logic

Special chars are escaped as advised here
https://docs.oracle.com/en/error-help/db/ora-00904/

How was this tested?

Ran functional tests locally
CI/CD

What kind of change is this?

Feature/non-breaking

Signed-off-by: Dilyan Marinov <[email protected]>

Export identifier normalization to separate function
@DeltaMichael DeltaMichael force-pushed the person/mdilyan/oracle-special-chars branch from 4a71461 to ab3cd1c Compare January 23, 2024 08:50
@DeltaMichael DeltaMichael merged commit c6ba708 into main Jan 23, 2024
9 of 10 checks passed
@DeltaMichael DeltaMichael deleted the person/mdilyan/oracle-special-chars branch January 23, 2024 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants