-
Notifications
You must be signed in to change notification settings - Fork 80
Handle JDBC passwords containing special chars #2146
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
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2146 +/- ##
==========================================
+ Coverage 65.10% 65.14% +0.04%
==========================================
Files 100 100
Lines 8493 8503 +10
Branches 884 885 +1
==========================================
+ Hits 5529 5539 +10
Misses 2774 2774
Partials 190 190 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
✅ 51/51 passed, 11 flaky, 3m50s total Flaky tests:
Running from acceptance #3122 |
a68f6d9 to
c0c2054
Compare
b23b721 to
6223d21
Compare
gueniai
left a comment
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.
LGTM
| connector = TSQLServerDataSourceUnderTest(mock_spark, mock_ws) | ||
|
|
||
| columns = connector.get_schema("labs_azure_sandbox_remorph", "dbo", "Employees") | ||
| columns = connector.get_schema("labs_azure_sandbox_remorph", "dbo", "reconcile_in") |
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.
Where does this come from?
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.
manually created by me.
| } | ||
|
|
||
| def reader(self, query: str) -> DataFrameReader: | ||
| def reader(self, query: str, options: dict | None = None) -> DataFrameReader: |
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.
| def reader(self, query: str, options: dict | None = None) -> DataFrameReader: | |
| def reader(self, query: str, options: Mapping[str, OptionalPrimitiveType] | None = None) -> DataFrameReader: |
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.
I cant import OptionalPrimitiveType so using object
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.
Try:
from pyspark.sql.readwriter import OptionalPrimitiveTypeThere 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 cannot be imported as well. I copied it so we can use it.
sundarshankar89
left a comment
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.
LGTM
Changes
What does this PR do?
Relevant implementation details