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 extract_signature dbapi2: handling square brakets in table name #1947

Merged
merged 1 commit into from Dec 5, 2023

Conversation

aless10
Copy link
Contributor

@aless10 aless10 commented Dec 5, 2023

What does this pull request do?

This PR should fixes how dbapi2 extract the signature if a table name has square brackets.
I added some tests to check if the fix actually solved the problem. I hope that the test cases are enough and cover all the possibilities.
Please let me know if I'm missing a possible usage of the method.

Related issues

Closes #1929

Copy link

cla-checker-service bot commented Dec 5, 2023

💚 CLA has been signed

@github-actions github-actions bot added agent-python community Issues opened by the community triage Issues awaiting triage labels Dec 5, 2023
Copy link
Contributor

@basepi basepi left a comment

Choose a reason for hiding this comment

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

Looks great! Thank you!

@basepi
Copy link
Contributor

basepi commented Dec 5, 2023

cla/check

@basepi
Copy link
Contributor

basepi commented Dec 5, 2023

@elasticmachine, run elasticsearch-ci/docs

@basepi basepi enabled auto-merge (squash) December 5, 2023 23:46
@basepi basepi merged commit 46b0c52 into elastic:main Dec 5, 2023
86 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-python community Issues opened by the community triage Issues awaiting triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dbapi2 fails to extract table name when using square brackets
2 participants