You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 16f9e44
Browse filesBrowse the repository at this point in the historyBrowse files
fix: initialize Arrow schemas without direct results
Load schemas lazily from cached metadata or GetResultSetMetadata in both
Arrow iterators, with the unchanged Thrift fallback. Schema access
does not fetch data or mutate shared rows metadata, and leaves pending
page-fetch errors for Next. Reuse rows-held metadata and preserve the
CloudFetch schema override unless this loader inferred the schema.
Reject explicit non-Arrow formats and cover schema provenance and
Next-before-Schema inline conversion.
Fixes#312
Signed-off-by: Vu Anh Phung <vu.phung@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
# Release History
2
2
3
+
## Unreleased
4
+
5
+
### Driver changes
6
+
7
+
-**Behavior change:** Without direct results, `ArrowIPCStreamIterator.SchemaBytes()` and `ArrowBatchIterator.Schema()` now retrieve result metadata without fetching data and return the result schema, including for empty results, and can return request or schema-conversion errors. Schemas inferred from Thrift metadata may differ from CloudFetch file schemas when server ArrowSchema is absent (databricks/databricks-sql-go#312).
query:=fmt.Sprintf("SELECT CAST(9007199254740993 AS BIGINT) AS value, array(1, 2) AS items, TIMESTAMP'2024-01-01 12:34:56' AS ts, repeat(sha2(CAST(id AS STRING), 256), 4) AS pad FROM range(%d)", scenario.rows)
0 commit comments