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

[JOBS-13997] Add SdkJobsUtils and fix taskValuesUtils in proxy mode #33

Merged
merged 5 commits into from
Nov 1, 2023

Conversation

vsamoilov
Copy link
Contributor

Changes

Tests

  • New tests
  • Current tests

@mgyucht mgyucht self-requested a review October 20, 2023 09:46
Copy link

@gaborratky-db gaborratky-db left a comment

Choose a reason for hiding this comment

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

We should limit our changes to introducing an implementation of TaskValuesUtils and not make changes to CommandContext.

Comment on lines 171 to 172
private var commandContext =
CommandContext()

Choose a reason for hiding this comment

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

Do we need an instance here? It seems our integration does not rely on it. Can this be private var commandContext: CommandContext = _?

Copy link
Contributor Author

@vsamoilov vsamoilov Nov 1, 2023

Choose a reason for hiding this comment

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

I check that initially getContext returns empty context

Copy link

@gaborratky-db gaborratky-db left a comment

Choose a reason for hiding this comment

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

setJson should not throw, otherwise the SDK cannot be used for local development when the customer relies on setJson on top of DBR.

I will defer final review to @mgyucht.

Copy link
Collaborator

@mgyucht mgyucht left a comment

Choose a reason for hiding this comment

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

Couple comments, thanks for the contribution!

@mgyucht mgyucht added this pull request to the merge queue Nov 1, 2023
Merged via the queue into databricks:main with commit cf5a26d Nov 1, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants