Skip to content
Merged
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 @@ -8,10 +8,11 @@ trap cleanup EXIT

trace $CLI bundle deploy

# The backend (and the test server) rewrite the schema on create, so
# get-index returns Spark type names and sorted keys, not the config literal.
# The backend (and the test server) rewrite the schema on create, so get-index
# returns Spark type names, not the config literal. The backend does not
# guarantee column order, so sort keys to keep this comparison stable.
index_name="main.default.vs_index_${UNIQUE_NAME}"
trace $CLI vector-search-indexes get-index "${index_name}" | jq -r '.direct_access_index_spec.schema_json'
trace $CLI vector-search-indexes get-index "${index_name}" | jq -rcS '.direct_access_index_spec.schema_json | fromjson'

# Re-plan must be a no-op: remote changes to schema_json are ignored
# (ignore_remote_changes), so the immutable spec does not plan a recreate.
Expand Down
Loading