Skip to content

docs: result types before the rows — JDBC metadata, Arrow, ADBC, federation (0.3.5) - #476

Merged
fupelaqu merged 1 commit into
mainfrom
docs/result-schemas-0.25.0
Nov 26, 2026
Merged

fupelaqu merged 1 commit into
mainfrom
docs/result-schemas-0.25.0

Conversation

@fupelaqu

Copy link
Copy Markdown
Contributor

What

The client and SQL documentation now describes what the JDBC driver 0.3.5 and arrow-extensions 0.3.5 report about result types, and matches the site.

  • JDBC (documentation/client/jdbc.md):
    • Column types is rewritten. A query's ResultSetMetaData is the engine's declared schema. It used to be inferred from the first non-null value of each column. A TINYINT or SMALLINT column is reported as itself, with Integer values (JDBC 4.3, Table B-3). Only an ANY column is still typed from its rows. getObject answers the class getColumnClassName names.
    • New paragraph The metadata before execution: PreparedStatement.getMetaData() answers the metadata its execution reports, without running anything. It used to answer null. The paragraph covers the unbound ?, ANY, and when it still answers null.
  • Arrow Flight SQL (documentation/client/arrow_flight_sql.md):
    • The type-mapping paragraph now says the Arrow schema is the engine's declared schema, read before any row, as the site already says.
    • New paragraph: statements the relational engine runs are typed when they are prepared (prepared statement, GetSchema, GetFlightInfo).
  • ADBC (documentation/client/adbc_driver.md): new section The schema before the rows, on executeSchema().
  • Cross-index JOINs (documentation/sql/joins.md, Row 3): the federation coordinator's result schema before the rows.
  • Pages the change made false:
    • known_limitations.md: the "column types read from the values" limitation now applies only to a driver older than 0.3.5.
    • dql_statements.md: one sentence on set operations.
    • scroll.md: one note on SELECT * metadata.

Verification

  • Each statement was checked against the JDBC driver and Arrow layer sources at 0.3.4 and 0.3.5, and their tests. Then one independent review, and a final check of its fixes.
  • The same text goes to the site in its own PR, word for word apart from link targets.

🤖 Generated with Claude Code

…ration (0.3.5)

ResultSetMetaData is the engine's declared schema and
PreparedStatement.getMetaData() answers before execution (JDBC driver
0.3.5); the Arrow schema, prepared statements, ADBC executeSchema() and the
federation coordinator's GetSchema advertise the declared result
(arrow-extensions 0.3.5). Pages the change made false are corrected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fupelaqu
fupelaqu marked this pull request as ready for review November 26, 2026 11:31
@fupelaqu
fupelaqu merged commit c3e98e6 into main Nov 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant