Closed ronanstokes-db closed 9 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
a6987b2
) 92.19% compared to head (22925fd
) 92.22%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
It's working for me. We're testing it a little deeper but looks good. Please don't forget to bump the version.
Proposed changes
When using a shared cluster with UC shared mode in DBR 14.2, referencing the sparkContext produces an attribute error. To fix this, if an error is thrown when accessing the sparkContext, we use a default parallelism of 200 unless an alternative value was explicitly specified.
This PR also uses the Spark SQL function element_at rather than direct array indexing due to incompatibilities with some spark versions.
Types of changes
What types of changes does your code introduce to dbldatagen? Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...