mirror of
https://github.com/lancedb/lancedb.git
synced 2026-11-27 04:53:59 +00:00
fix(sql)!: request JSON for storage integration descriptions
Apply the reviewed storage integration change.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user