fix(sql)!: request JSON for storage integration descriptions

Apply the reviewed storage integration change.
This commit is contained in:
Jack Ye
2026-11-26 17:31:51 -08:00
committed by GitHub
parent 8685809218
commit b53bbd0bca
4 changed files with 23 additions and 9 deletions
@@ -66,6 +66,11 @@ def remote_server(text_type=pa.string()):
)
elif b"DROP STORAGE INTEGRATION" in command:
result = pa.table({"dropped": [True]})
elif b"DESCRIBE STORAGE INTEGRATION" in command:
assert b"FORMAT JSON" in command
result = pa.table(
{"description": [json.dumps(info)]}
).replace_schema_metadata({b"lancedb.describe.format": b"json"})
else:
if b"STORAGE_PROVIDER = 'HUGGINGFACE'" in command:
info.update(