Add serverless_compute_id field to the config#675
Add serverless_compute_id field to the config#675alexkh-db wants to merge 5 commits intodatabricks:mainfrom
serverless_compute_id field to the config#675Conversation
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. |
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_idattribute 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 testrun locallymake fmtapplied