Skip to content

fix(table): list the supported formats when a format table is rejected - #702

Open
jackylee-ch wants to merge 1 commit into
apache:mainfrom
jackylee-ch:fix/list-supported-values-in-errors
Open

fix(table): list the supported formats when a format table is rejected#702
jackylee-ch wants to merge 1 commit into
apache:mainfrom
jackylee-ch:fix/list-supported-values-in-errors

Conversation

@jackylee-ch

Copy link
Copy Markdown
Contributor

A format table with an unreadable file.format reports only the rejected value, so the user
cannot tell which formats are available — and the sets differ from Java in both directions
(Java has CSV/TEXT/JSON, Rust has .row), so the Java docs do not answer it either. Java's
FormatTable.parseFormat appends the supported list.

Fix: build the message from a supported_format_table_formats() helper, as #690 just did
for the write side. Also documents the global-index.thread-num upper bound added by #647,
which the doc comment and the option table still omit.

Adding CSV/TEXT/JSON support is out of scope. Adds the first tests to format_table_scan.rs.

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