-
Notifications
You must be signed in to change notification settings - Fork 129
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 non-quoted db&catalog issues #1558
Conversation
CI tests are all failing still... I've fixed this here. |
Test: test_2_rounds_1k_duckdbPercentage change: -30.0%
Test: test_2_rounds_1k_sqlitePercentage change: -27.9%
Click here for vega lite time series charts |
@ThomasHepworth That is great. Thanks a lot. I also started on a PR and was stuck trying to add a proper test for it. I think it would be nice to also add this as part of the PR. |
@ThomasHepworth No problem. That happens. No way for you to know this as I was a bit slow submitting a draft. I learned some new things and we will get it fixed. That is all that matters. Please let this PR be open. Greatly appreciated. I was actually trying to make a new catalog name which involved figuring out how to set this in the Spark config. Easier and better to just do it with a new database as you do it here as the names are combined anyway in the issue that we want to solve. |
@ThomasHepworth Can I contribute with something to get this one merged? |
👋 apologies for the delayed reply, I was on leave last week. Please do. I think it may in fact be easier if you submit a pull request as then I'll be able to QA and merge it personally. I'll close this PR once you've opened another. |
@ThomasHepworth Unfortunately I am unable to get this done in the next two weeks so maybe we can just leave this as is and get it merged when the dev team find it suitable? Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All seems to be working okay, nice one 👍
Type of PR
Is your Pull Request linked to an existing Issue or Pull Request?
See #1556
Give a brief description for the solution you have provided
Previously, we weren't quoting catalog and database names which was resulting in unusual catalog and database combinations causing SQL errors.
I've simply added quotes to
self.splink_data_store
(the only location both catalog and db are used) and it appears to be resolving the issue.To test, you can try creating a random database named
1111
and setting that as your target db from within the linker object:PR Checklist