From 260e6e586d8c250582b74787e59040cb14ea5b82 Mon Sep 17 00:00:00 2001 From: Caroline Chen <324939130+caroline-db@users.noreply.github.com> Date: Thu, 19 Nov 2026 20:22:16 +0000 Subject: [PATCH 1/2] air: Note in config help that some parameter floats load as strings air run re-encodes parameters, writing floats such as 2e-5 and 1e6 in exponent form without a decimal point, which PyYAML's yaml.safe_load reads as strings. Co-authored-by: Isaac --- cmd/air/runconfig.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/air/runconfig.go b/cmd/air/runconfig.go index 501f2d3ee9f..f09141d6fbc 100644 --- a/cmd/air/runconfig.go +++ b/cmd/air/runconfig.go @@ -67,7 +67,7 @@ type runConfig struct { MaxRetries *int `yaml:"max_retries" help:"How many times to retry a failed run. Must be >= 0. Defaults to 3 when unset." group:"Execution"` TimeoutMinutes *int `yaml:"timeout_minutes" help:"Wall-clock limit for the run in minutes. Must be >= 1." group:"Execution"` IdempotencyToken *string `yaml:"idempotency_token" help:"Reuse token: a repeat submission with the same token returns the existing run instead of starting another. Max 64 characters." group:"Execution"` - Parameters map[string]any `yaml:"parameters" help:"Free-form values passed through to the workload. Any nested structure is allowed." group:"Workload"` + Parameters map[string]any `yaml:"parameters" help:"Free-form values passed through to the workload. Any nested structure is allowed. Floats such as 2e-5 and 1e6 can load as strings in Python." group:"Workload"` MLflowRunName *string `yaml:"mlflow_run_name" help:"Name for the MLflow run. Max 100 characters, alphanumerics, hyphens, and underscores only." group:"MLflow tracking"` MLflowExperimentDirectory *string `yaml:"mlflow_experiment_directory" help:"Workspace directory holding the MLflow experiment. Must start with /Workspace." group:"MLflow tracking"` MLflowArtifactLocation *string `yaml:"mlflow_artifact_location" help:"DBFS location where MLflow artifacts are written. A /Volumes path is normalized to dbfs:/Volumes/... ." group:"MLflow tracking"` From 5ca5521e631f003b2c65b1221d8536d5ce68489b Mon Sep 17 00:00:00 2001 From: Caroline Chen <324939130+caroline-db@users.noreply.github.com> Date: Thu, 19 Nov 2026 20:23:00 +0000 Subject: [PATCH 2/2] Add changelog fragment Co-authored-by: Isaac --- .nextchanges/air/7827.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 .nextchanges/air/7827.md diff --git a/.nextchanges/air/7827.md b/.nextchanges/air/7827.md new file mode 100644 index 00000000000..24495ed7f81 --- /dev/null +++ b/.nextchanges/air/7827.md @@ -0,0 +1 @@ +* Note in `air run -h config.parameters` that floats such as `2e-5` and `1e6` can load as strings in Python. ([#7827](https://github.com/databricks/cli/pull/7827))