Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
"browse_only": false,
"catalog_name": "main",
"catalog_type": "MANAGED_CATALOG",
"created_at": [UNIX_TIME_MILLIS][0],
"created_at": [UNIX_TIME_MILLIS],
"created_by": "[USERNAME]",
"enable_predictive_optimization": "INHERIT",
"full_name": "main.schema-[UNIQUE_NAME]",
"metastore_id": "[UUID]",
"name": "schema-[UNIQUE_NAME]",
"owner": "[USERNAME]",
"schema_id": "[UUID]",
"updated_at": [UNIX_TIME_MILLIS][0],
"updated_at": [UNIX_TIME_MILLIS],
"updated_by": "[USERNAME]"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
"browse_only": false,
"catalog_name": "main",
"catalog_type": "MANAGED_CATALOG",
"created_at": [UNIX_TIME_MILLIS][0],
"created_at": [UNIX_TIME_MILLIS],
"created_by": "[USERNAME]",
"enable_predictive_optimization": "INHERIT",
"full_name": "main.schema-[UNIQUE_NAME]",
"metastore_id": "[UUID]",
"name": "schema-[UNIQUE_NAME]",
"owner": "[USERNAME]",
"schema_id": "[UUID]",
"updated_at": [UNIX_TIME_MILLIS][0],
"updated_at": [UNIX_TIME_MILLIS],
"updated_by": "[USERNAME]"
}

Expand Down
8 changes: 4 additions & 4 deletions acceptance/bundle/deploy/readplan/whl-upload/output.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

=== bundle deploy uploads the wheel
>>> [CLI] bundle deploy
Uploading .databricks/bundle/default/patched_wheels/my_test_code_my_test_code/my_test_code-0.0.1+[UNIX_TIME_NANOS][0]-py3-none-any.whl...
Uploading .databricks/bundle/default/patched_wheels/my_test_code_my_test_code/my_test_code-0.0.1+[UNIX_TIME_NANOS]-py3-none-any.whl...
Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/whl-upload/default/files...
Created jobs.my_job
Files: 2 uploaded, 0 deleted
Expand All @@ -10,7 +10,7 @@ Resources: 1 created, 0 changed, 0 deleted, 0 unchanged
>>> print_requests.py //artifacts/.internal --del-field raw_body
{
"method": "POST",
"path": "/api/2.0/workspace-files/import-file/Workspace/Users/[USERNAME]/.bundle/whl-upload/default/artifacts/.internal/my_test_code-0.0.1+[UNIX_TIME_NANOS][0]-py3-none-any.whl",
"path": "/api/2.0/workspace-files/import-file/Workspace/Users/[USERNAME]/.bundle/whl-upload/default/artifacts/.internal/my_test_code-0.0.1+[UNIX_TIME_NANOS]-py3-none-any.whl",
"q": {
"overwrite": "true"
}
Expand All @@ -26,7 +26,7 @@ Destroy: 1 deleted

=== bundle deploy --plan also uploads the wheel
>>> [CLI] bundle deploy --plan tmp.plan.json
Uploading .databricks/bundle/default/patched_wheels/my_test_code_my_test_code/my_test_code-0.0.1+[UNIX_TIME_NANOS][0]-py3-none-any.whl...
Uploading .databricks/bundle/default/patched_wheels/my_test_code_my_test_code/my_test_code-0.0.1+[UNIX_TIME_NANOS]-py3-none-any.whl...
Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/whl-upload/default/files...
Created jobs.my_job
Files: 4 uploaded, 0 deleted
Expand All @@ -35,7 +35,7 @@ Resources: 1 created, 0 changed, 0 deleted, 0 unchanged
>>> print_requests.py //artifacts/.internal --del-field raw_body
{
"method": "POST",
"path": "/api/2.0/workspace-files/import-file/Workspace/Users/[USERNAME]/.bundle/whl-upload/default/artifacts/.internal/my_test_code-0.0.1+[UNIX_TIME_NANOS][0]-py3-none-any.whl",
"path": "/api/2.0/workspace-files/import-file/Workspace/Users/[USERNAME]/.bundle/whl-upload/default/artifacts/.internal/my_test_code-0.0.1+[UNIX_TIME_NANOS]-py3-none-any.whl",
"q": {
"overwrite": "true"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

>>> [CLI] bundle deploy
Building my_test_code...
Uploading .databricks/bundle/default/patched_wheels/my_test_code_my_test_code/my_test_code-0.0.1+[UNIX_TIME_NANOS][0]-py3-none-any.whl...
Uploading .databricks/bundle/default/patched_wheels/my_test_code_my_test_code/my_test_code-0.0.1+[UNIX_TIME_NANOS]-py3-none-any.whl...
Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/[UNIQUE_NAME]/files...
Created jobs.some_other_job
Files: 13 uploaded, 0 deleted
Expand All @@ -10,7 +10,7 @@ Resources: 1 created, 0 changed, 0 deleted, 0 unchanged
=== The environment dependency keeps its [train] extras suffix
>>> [CLI] jobs get [SOME_OTHER_JOB_ID]
[
"/Workspace/Users/[USERNAME]/.bundle/[UNIQUE_NAME]/artifacts/.internal/my_test_code-0.0.1+[UNIX_TIME_NANOS][0]-py3-none-any.whl[train]"
"/Workspace/Users/[USERNAME]/.bundle/[UNIQUE_NAME]/artifacts/.internal/my_test_code-0.0.1+[UNIX_TIME_NANOS]-py3-none-any.whl[train]"
]

>>> [CLI] bundle run some_other_job
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"job_cluster_key": "job_cluster",
"libraries": [
{
"whl": "/Workspace/Users/[USERNAME]/.bundle/my_default_python/dev/artifacts/.internal/my_default_python-0.0.1+[UNIX_TIME_NANOS][0]-py3-none-any.whl"
"whl": "/Workspace/Users/[USERNAME]/.bundle/my_default_python/dev/artifacts/.internal/my_default_python-0.0.1+[UNIX_TIME_NANOS]-py3-none-any.whl"
}
],
"notebook_task": {
Expand All @@ -67,7 +67,7 @@
"job_cluster_key": "job_cluster",
"libraries": [
{
"whl": "/Workspace/Users/[USERNAME]/.bundle/my_default_python/dev/artifacts/.internal/my_default_python-0.0.1+[UNIX_TIME_NANOS][0]-py3-none-any.whl"
"whl": "/Workspace/Users/[USERNAME]/.bundle/my_default_python/dev/artifacts/.internal/my_default_python-0.0.1+[UNIX_TIME_NANOS]-py3-none-any.whl"
}
],
"python_wheel_task": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
"provider_config": [],
"pypi": [],
"requirements": "",
"whl": "/Workspace/Users/[USERNAME]/.bundle/my_default_python/dev/artifacts/.internal/my_default_python-0.0.1+[UNIX_TIME_NANOS][0]-py3-none-any.whl"
"whl": "/Workspace/Users/[USERNAME]/.bundle/my_default_python/dev/artifacts/.internal/my_default_python-0.0.1+[UNIX_TIME_NANOS]-py3-none-any.whl"
}
],
"max_retries": 0,
Expand Down Expand Up @@ -262,7 +262,7 @@
"provider_config": [],
"pypi": [],
"requirements": "",
"whl": "/Workspace/Users/[USERNAME]/.bundle/my_default_python/dev/artifacts/.internal/my_default_python-0.0.1+[UNIX_TIME_NANOS][0]-py3-none-any.whl"
"whl": "/Workspace/Users/[USERNAME]/.bundle/my_default_python/dev/artifacts/.internal/my_default_python-0.0.1+[UNIX_TIME_NANOS]-py3-none-any.whl"
}
],
"max_retries": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
"browse_only": false,
"catalog_name": "main",
"comment": "mycomment",
"created_at": [UNIX_TIME_MILLIS][0],
"created_at": [UNIX_TIME_MILLIS],
"created_by": "[USERNAME]",
"full_name": "main.schema_grants.mymodel",
"id": "main.schema_grants.mymodel",
Expand All @@ -186,7 +186,7 @@
],
"schema_name": "schema_grants",
"storage_location": null,
"updated_at": [UNIX_TIME_MILLIS][0],
"updated_at": [UNIX_TIME_MILLIS],
"updated_by": "[USERNAME]"
},
"sensitive_attributes": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
"serialized_dashboard": {
"action": "skip",
"reason": "etag_based",
"old": "sha256:[HASH][0]",
"new": "sha256:[HASH][0]",
"old": "sha256:[HASH]",
"new": "sha256:[HASH]",
"remote": "{}\n"
},
"update_time": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ Resources: 2 created, 0 changed, 0 deleted, 0 unchanged
"method": "POST",
"path": "/api/2.2/jobs/run-now",
"body": {
"idempotency_token": "[IDEMPOTENCY_TOKEN][0]",
"idempotency_token": "[IDEMPOTENCY_TOKEN]",
"job_id": [MY_JOB_ID]
}
}
{
"method": "POST",
"path": "/api/2.2/jobs/run-now",
"body": {
"idempotency_token": "[IDEMPOTENCY_TOKEN][0]",
"idempotency_token": "[IDEMPOTENCY_TOKEN]",
"job_id": [MY_JOB_ID]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ json.serial = 1;
json.plan.resources.model_serving_endpoints.my_endpoint.action = "recreate";
json.plan.resources.model_serving_endpoints.my_endpoint.new_state.value.name = "[ENDPOINT_NAME_2]";
json.plan.resources.model_serving_endpoints.my_endpoint.remote_state.description = "";
json.plan.resources.model_serving_endpoints.my_endpoint.remote_state.endpoint_details.creation_timestamp = [UNIX_TIME_MILLIS][0];
json.plan.resources.model_serving_endpoints.my_endpoint.remote_state.endpoint_details.creation_timestamp = [UNIX_TIME_MILLIS];
json.plan.resources.model_serving_endpoints.my_endpoint.remote_state.endpoint_details.creator = "[USERNAME]";
json.plan.resources.model_serving_endpoints.my_endpoint.remote_state.endpoint_details.description = "";
json.plan.resources.model_serving_endpoints.my_endpoint.remote_state.endpoint_details.id = "[ENDPOINT_ID_1]";
json.plan.resources.model_serving_endpoints.my_endpoint.remote_state.endpoint_details.last_updated_timestamp = [UNIX_TIME_MILLIS][0];
json.plan.resources.model_serving_endpoints.my_endpoint.remote_state.endpoint_details.last_updated_timestamp = [UNIX_TIME_MILLIS];
json.plan.resources.model_serving_endpoints.my_endpoint.remote_state.endpoint_details.name = "[ENDPOINT_NAME_1]";
json.plan.resources.model_serving_endpoints.my_endpoint.remote_state.endpoint_details.permission_level = "CAN_MANAGE";
json.plan.resources.model_serving_endpoints.my_endpoint.remote_state.endpoint_details.route_optimized = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@
]
}
},
"creation_timestamp": [UNIX_TIME_MILLIS][0],
"creation_timestamp": [UNIX_TIME_MILLIS],
"creator": "[USERNAME]",
"description": "",
"id": "[UUID]",
"last_updated_timestamp": [UNIX_TIME_MILLIS][0],
"last_updated_timestamp": [UNIX_TIME_MILLIS],
"name": "[ORIGINAL_ENDPOINT_ID]",
"permission_level": "CAN_MANAGE",
"route_optimized": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@
]
}
},
"creation_timestamp": [UNIX_TIME_MILLIS][0],
"creation_timestamp": [UNIX_TIME_MILLIS],
"creator": "[USERNAME]",
"description": "",
"id": "[UUID]",
"last_updated_timestamp": [UNIX_TIME_MILLIS][0],
"last_updated_timestamp": [UNIX_TIME_MILLIS],
"name": "[ORIGINAL_ENDPOINT_ID]",
"permission_level": "CAN_MANAGE",
"route_optimized": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@
]
}
},
"creation_timestamp": [UNIX_TIME_MILLIS][0],
"creation_timestamp": [UNIX_TIME_MILLIS],
"creator": "[USERNAME]",
"description": "",
"id": "[UUID]",
"last_updated_timestamp": [UNIX_TIME_MILLIS][0],
"last_updated_timestamp": [UNIX_TIME_MILLIS],
"name": "[ORIGINAL_ENDPOINT_ID]",
"permission_level": "CAN_MANAGE",
"route_optimized": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ Resources: 1 created, 0 changed, 1 deleted, 0 unchanged
]
}
},
"creation_timestamp": [UNIX_TIME_MILLIS][0],
"creation_timestamp": [UNIX_TIME_MILLIS],
"creator": "[USERNAME]",
"description": "",
"id": "[UUID]",
"last_updated_timestamp": [UNIX_TIME_MILLIS][0],
"last_updated_timestamp": [UNIX_TIME_MILLIS],
"name": "[ORIGINAL_ENDPOINT_ID]",
"permission_level": "CAN_MANAGE",
"route_optimized": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@
]
}
},
"creation_timestamp": [UNIX_TIME_MILLIS][0],
"creation_timestamp": [UNIX_TIME_MILLIS],
"creator": "[USERNAME]",
"description": "",
"id": "[UUID]",
"last_updated_timestamp": [UNIX_TIME_MILLIS][0],
"last_updated_timestamp": [UNIX_TIME_MILLIS],
"name": "[ORIGINAL_ENDPOINT_ID]",
"permission_level": "CAN_MANAGE",
"route_optimized": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@
]
}
},
"creation_timestamp": [UNIX_TIME_MILLIS][0],
"creation_timestamp": [UNIX_TIME_MILLIS],
"creator": "[USERNAME]",
"description": "",
"id": "[UUID]",
"last_updated_timestamp": [UNIX_TIME_MILLIS][0],
"last_updated_timestamp": [UNIX_TIME_MILLIS],
"name": "[ORIGINAL_ENDPOINT_ID]",
"permission_level": "CAN_MANAGE",
"route_optimized": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@
]
}
},
"creation_timestamp": [UNIX_TIME_MILLIS][0],
"creation_timestamp": [UNIX_TIME_MILLIS],
"creator": "[USERNAME]",
"description": "",
"id": "[UUID]",
"last_updated_timestamp": [UNIX_TIME_MILLIS][0],
"last_updated_timestamp": [UNIX_TIME_MILLIS],
"name": "[ENDPOINT_ID]",
"permission_level": "CAN_MANAGE",
"route_optimized": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@
]
}
},
"creation_timestamp": [UNIX_TIME_MILLIS][0],
"creation_timestamp": [UNIX_TIME_MILLIS],
"creator": "[USERNAME]",
"description": "",
"id": "[UUID]",
"last_updated_timestamp": [UNIX_TIME_MILLIS][0],
"last_updated_timestamp": [UNIX_TIME_MILLIS],
"name": "[ENDPOINT_ID]",
"permission_level": "CAN_MANAGE",
"route_optimized": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@
]
}
},
"creation_timestamp": [UNIX_TIME_MILLIS][0],
"creation_timestamp": [UNIX_TIME_MILLIS],
"creator": "[USERNAME]",
"description": "",
"id": "[UUID]",
"last_updated_timestamp": [UNIX_TIME_MILLIS][0],
"last_updated_timestamp": [UNIX_TIME_MILLIS],
"name": "[ENDPOINT_ID]",
"permission_level": "CAN_MANAGE",
"route_optimized": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
]
}
},
"creation_timestamp": [UNIX_TIME_MILLIS][0],
"creation_timestamp": [UNIX_TIME_MILLIS],
"creator": "[USERNAME]",
"description": "",
"email_notifications": {
Expand All @@ -96,7 +96,7 @@
]
},
"id": "[UUID]",
"last_updated_timestamp": [UNIX_TIME_MILLIS][0],
"last_updated_timestamp": [UNIX_TIME_MILLIS],
"name": "[ENDPOINT_ID]",
"permission_level": "CAN_MANAGE",
"route_optimized": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@
]
}
},
"creation_timestamp": [UNIX_TIME_MILLIS][0],
"creation_timestamp": [UNIX_TIME_MILLIS],
"creator": "[USERNAME]",
"description": "",
"id": "[UUID]",
"last_updated_timestamp": [UNIX_TIME_MILLIS][0],
"last_updated_timestamp": [UNIX_TIME_MILLIS],
"name": "[ENDPOINT_ID]",
"permission_level": "CAN_MANAGE",
"route_optimized": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ Plan: 1 to add, 0 to change, 1 to delete, 1 unchanged
}
},
"remote_state": {
"creation_timestamp": [UNIX_TIME_MILLIS][0],
"creation_timestamp": [UNIX_TIME_MILLIS],
"creator": "[USERNAME]",
"endpoint_status": {
"state": "ONLINE"
},
"endpoint_type": "STANDARD",
"endpoint_uuid": "[UUID]",
"id": "[UUID]",
"last_updated_timestamp": [UNIX_TIME_MILLIS][0],
"last_updated_timestamp": [UNIX_TIME_MILLIS],
"last_updated_user": "[USERNAME]",
"name": "vs-endpoint-[UNIQUE_NAME]",
"scaling_info": {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ Resources: 1 created, 0 changed, 0 deleted, 0 unchanged
{
"catalog_name": "main",
"comment": "COMMENT1",
"created_at": [UNIX_TIME_MILLIS][0],
"created_at": [UNIX_TIME_MILLIS],
"created_by": "[USERNAME]",
"full_name": "main.myschema.myvolume",
"name": "myvolume",
"owner": "[USERNAME]",
"schema_name": "myschema",
"storage_location": "s3://[METASTORE_NAME]/metastore/[UUID]/volumes/[UUID]",
"updated_at": [UNIX_TIME_MILLIS][0],
"updated_at": [UNIX_TIME_MILLIS],
"volume_id": "[UUID]",
"volume_type": "MANAGED"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"remote_state": {
"catalog_name": "main",
"comment": "COMMENT1",
"created_at": [UNIX_TIME_MILLIS][0],
"created_at": [UNIX_TIME_MILLIS],
"created_by": "[USERNAME]",
"full_name": "main.myschema.myvolume",
"name": "myvolume",
"owner": "[USERNAME]",
"schema_name": "myschema",
"storage_location": "s3://[METASTORE_NAME]/metastore/[UUID]/volumes/[UUID]",
"updated_at": [UNIX_TIME_MILLIS][0],
"updated_at": [UNIX_TIME_MILLIS],
"volume_id": "[UUID]",
"volume_type": "MANAGED"
},
Expand Down
Loading
Loading