Skip to content

Conversation

szarnyasg
Copy link
Collaborator

Add some spaces and other seperators.

I spotted in the docs that the formatting of the sniffer's error messages is inconsistent, see https://duckdb.org/docs/data/csv/reading_faulty_csv_files#anatomy-of-a-csv-error

  file= people.csv
  delimiter = , (Auto-Detected)
  quote = " (Auto-Detected)
  escape = " (Auto-Detected)
  new_line = \r\n (Auto-Detected)
  header = true (Auto-Detected)
  skip_rows = 0 (Auto-Detected)
  date_format = (DD-MM-YYYY) (Auto-Detected)
  timestamp_format =  (Auto-Detected)
  null_padding=0
  sample_size=20480
  ignore_errors=false
  all_varchar=0

This PR adds a bunch of whitespace and also other separators for similar error messages.

@Mytherin Mytherin merged commit 89828ab into duckdb:main Sep 25, 2024
44 checks passed
@Mytherin
Copy link
Collaborator

Thanks!

github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Oct 16, 2024
github-actions bot added a commit to duckdb/duckdb-r that referenced this pull request Oct 16, 2024
Format CSV error messages (duckdb/duckdb#14097)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants