-
Notifications
You must be signed in to change notification settings - Fork 301
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
Support Databricks Agent API 2.1 and Console URL #1935
Merged
pingsutw
merged 18 commits into
flyteorg:master
from
Future-Outlier:databricks-update-api-version
Dec 12, 2023
Merged
Support Databricks Agent API 2.1 and Console URL #1935
pingsutw
merged 18 commits into
flyteorg:master
from
Future-Outlier:databricks-update-api-version
Dec 12, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Future Outlier <[email protected]>
Future-Outlier
requested review from
wild-endeavor,
kumare3,
eapolinario,
pingsutw and
cosmicBboy
as code owners
November 4, 2023 07:23
Signed-off-by: Future Outlier <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
Future-Outlier
changed the title
Support Databricks Agent Api 2.1 version
Support Databricks Agent Api 2.1 version and Support Nov 4, 2023
existing_cluster_id
and new_cluster
to create a Job
Signed-off-by: Future Outlier <[email protected]>
Future-Outlier
changed the title
Support Databricks Agent Api 2.1 version and Support
Support Databricks Agent Api 2.1 version and Support Nov 4, 2023
existing_cluster_id
and new_cluster
to create a Jobexisting_cluster_id
and new_cluster
options to create a Job
8 tasks
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #1935 +/- ##
==========================================
+ Coverage 85.84% 85.86% +0.01%
==========================================
Files 306 306
Lines 22897 22907 +10
Branches 3470 3471 +1
==========================================
+ Hits 19657 19668 +11
+ Misses 2645 2644 -1
Partials 595 595 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Future Outlier <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
…nto databricks-update-api-version
…nto databricks-update-api-version
Signed-off-by: Future Outlier <[email protected]>
Future-Outlier
changed the title
Support Databricks Agent Api 2.1 version and Support
Support Databricks Agent Api 2.1
Dec 5, 2023
existing_cluster_id
and new_cluster
options to create a Job
Future-Outlier
changed the title
Support Databricks Agent Api 2.1
Support Databricks Agent API 2.1 Version
Dec 5, 2023
…nto databricks-update-api-version
…nto databricks-update-api-version Signed-off-by: Future Outlier <[email protected]>
Future-Outlier
changed the title
Support Databricks Agent API 2.1 Version
Support Databricks Agent API 2.1 and TaskLogs
Dec 10, 2023
Future-Outlier
changed the title
Support Databricks Agent API 2.1 and TaskLogs
Support Databricks Agent API 2.1 and Console URL
Dec 10, 2023
Signed-off-by: Future Outlier <[email protected]>
pingsutw
approved these changes
Dec 12, 2023
RRap0so
pushed a commit
to RRap0so/flytekit
that referenced
this pull request
Dec 15, 2023
Signed-off-by: Future Outlier <[email protected]> Co-authored-by: Future Outlier <[email protected]> Signed-off-by: Rafael Raposo <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TL;DR
Currently, we only support Databricks API 2.0 and only the
new_cluster
key in the databricks config.However, some users want to use Databricks API 2.1 and want to use
existing_cluster_id
in the databricks config.Here's the update version.
you can find the difference about
existing_cluster_id
andnew_cluster
Type
Are all requirements met?
Complete description
Config yaml in dev mode
Example Code
Test it
Screenshots
Create a job
Get the job (PENDING State)
Delete the job
Get the job (TERMINATED State)
Test TaskLog proto for Databricks Console.
Tracking Issue
flyteorg/flyte#3936
flyteorg/flyte#4362
Related PRs
#1797
#2021