-
Notifications
You must be signed in to change notification settings - Fork 130
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
Add serverless_compute_id
field to the config
#675
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #675 +/- ##
=======================================
Coverage 57.69% 57.69%
=======================================
Files 48 48
Lines 33079 33080 +1
=======================================
+ Hits 19084 19085 +1
Misses 13995 13995 ☔ 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.
LGTM. Docs?
I couldn't find any docs for the other related fields, e.g. cluster_id, so i think we are not documenting it (at least yet). @mgyucht please lmk if documentation is needed |
Isn't the only allowed value at the moment "auto" then? If this is the case, shouldn't it have validation? |
i'm open to both options, the pros for not validating in config IMO are:
|
Sorry for being horrible annoying. According to https://docs.databricks.com/en/compute/serverless.html I would just name the field |
Co-authored-by: Martin Grund <[email protected]> Signed-off-by: Alex Khakhlyuk <[email protected]>
serverless_compute_id
field to the config
Changes
We propose adding a new
serverless_compute_id
attribute in the config that will be used to enable serverless compute in the downstream applications. The default value to enable serverless isserverless_compute_id = auto
, other values might be used in the future if needed. Config doesn't have to validate the value inserverless_compute_id
, this will be done in the downstream applications.Tests
make test
run locallymake fmt
applied