Skip to content

Conversation

@7ttp
Copy link

@7ttp 7ttp commented Jan 20, 2026

Summary

Added support for custom CSV delimiter option in S3 FDW to handle CSV files with non comma delimiters.

Problem

S3 FDW only supported comma delimited CSV files. Users couldn't read CSV files with other delimiters like semicolons, tabs, or pipes.

Solution

  • Added csv_delimiter field to S3Fdw struct (defaults to comma)
  • Parse delimiter option from foreign table options during begin_scan
  • Pass custom delimiter to CSV reader builder when creating parser

Related

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.

s3_fdw CSV parser fails on header row with spaces in column names (byte 435 parsing error)

1 participant