Skip to content

Add support for ClickHouse format settings - #105

Open
sivagirish81 wants to merge 1 commit into
ClickHouse:mainfrom
sivagirish81:issue-49
Open

sivagirish81 wants to merge 1 commit into
ClickHouse:mainfrom
sivagirish81:issue-49

Conversation

@sivagirish81

Copy link
Copy Markdown

Adds ClickHouse format setting support to chdb_hook, including PostgreSQL-friendly mappings such as delimiter → format_csv_delimiter and format_-stripped aliases for other supported settings. Settings are normalized to canonical ClickHouse names and applied across COPY FROM, COPY TO, DESCRIBE, structure_from, and copy_from, with duplicate/conflicting settings rejected and pg_chdb’s internal transport settings protected.

Uses parameterized SET statements on each isolated helper connection and adds regression coverage for aliases, conflicts, invalid names/values, escaping, COPY, and CREATE paths.

Resolves #49

@sivagirish81
sivagirish81 force-pushed the issue-49 branch 8 times, most recently from 9da588f to 8ac16d5 Compare October 13, 2026 08:03
@sivagirish81 sivagirish81 changed the title [WIP] : Add support for ClickHouse format settings Add support for ClickHouse format settings Oct 13, 2026
@sivagirish81
sivagirish81 marked this pull request as ready for review October 13, 2026 08:03
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.

Add support for ClickHouse format settings

1 participant