-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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(database-import): Support importing a DB connection with a version set #26116
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #26116 +/- ##
==========================================
- Coverage 69.10% 66.91% -2.19%
==========================================
Files 1940 1940
Lines 75869 75870 +1
Branches 8445 8445
==========================================
- Hits 52428 50768 -1660
- Misses 21266 22927 +1661
Partials 2175 2175
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
This is great, thanks for the fix!
@Vitor-Avila shouldn't we fill the version when a new database connection is created from the interface? |
@michael-s-molina the field is visible in the connection dialog (in the ADVANCED tab under the Other section), however the field is not required. I know it's used for Presto and Dremio, but not all engine dialects have variations on the version value. the issue was that an export for a connection with a version set couldn't be imported. |
…n set (apache#26116) (cherry picked from commit c033ca9)
SUMMARY
Add support for importing a DB connection with a version set.
TESTING INSTRUCTIONS
Unit test added for this case. To manually test it:
ADDITIONAL INFORMATION