mirror of https://github.com/databricks/cli.git
74 lines
1.9 KiB
Plaintext
74 lines
1.9 KiB
Plaintext
|
|
>>> $CLI bundle validate -o json -t development
|
|
{
|
|
"mode": "development",
|
|
"quality_monitors": {
|
|
"my_monitor": {
|
|
"assets_dir": "/Shared/provider-test/databricks_monitoring/main.test.thing1",
|
|
"inference_log": {
|
|
"granularities": [
|
|
"1 day"
|
|
],
|
|
"model_id_col": "model_id",
|
|
"prediction_col": "prediction",
|
|
"problem_type": "PROBLEM_TYPE_REGRESSION",
|
|
"timestamp_col": "timestamp"
|
|
},
|
|
"output_schema_name": "main.dev",
|
|
"schedule": null,
|
|
"table_name": "main.test.dev"
|
|
}
|
|
}
|
|
}
|
|
|
|
>>> $CLI bundle validate -o json -t staging
|
|
{
|
|
"mode": null,
|
|
"quality_monitors": {
|
|
"my_monitor": {
|
|
"assets_dir": "/Shared/provider-test/databricks_monitoring/main.test.thing1",
|
|
"inference_log": {
|
|
"granularities": [
|
|
"1 day"
|
|
],
|
|
"model_id_col": "model_id",
|
|
"prediction_col": "prediction",
|
|
"problem_type": "PROBLEM_TYPE_REGRESSION",
|
|
"timestamp_col": "timestamp"
|
|
},
|
|
"output_schema_name": "main.staging",
|
|
"schedule": {
|
|
"quartz_cron_expression": "0 0 12 * * ?",
|
|
"timezone_id": "UTC"
|
|
},
|
|
"table_name": "main.test.staging"
|
|
}
|
|
}
|
|
}
|
|
|
|
>>> $CLI bundle validate -o json -t production
|
|
{
|
|
"mode": null,
|
|
"quality_monitors": {
|
|
"my_monitor": {
|
|
"assets_dir": "/Shared/provider-test/databricks_monitoring/main.test.thing1",
|
|
"inference_log": {
|
|
"granularities": [
|
|
"1 day",
|
|
"1 hour"
|
|
],
|
|
"model_id_col": "model_id_prod",
|
|
"prediction_col": "prediction_prod",
|
|
"problem_type": "PROBLEM_TYPE_REGRESSION",
|
|
"timestamp_col": "timestamp_prod"
|
|
},
|
|
"output_schema_name": "main.prod",
|
|
"schedule": {
|
|
"quartz_cron_expression": "0 0 12 * * ?",
|
|
"timezone_id": "UTC"
|
|
},
|
|
"table_name": "main.test.prod"
|
|
}
|
|
}
|
|
}
|