Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for camel case column names in target for insert-from-sql #365

Merged

Conversation

hlcianfagna
Copy link
Contributor

This allows insert-from-sql to be used in situations like the below:

CREATE TABLE tbl1("COL1" int);
INSERT INTO tbl1 SELECT 1;
CREATE TABLE tbl2("COL1" int);
cr8 insert-from-sql \
   --src-uri "postgresql://crate@localhost:5432/doc" \
   --query "SELECT * FROM tbl1" \
   --hosts localhost:4200 \
   --table doc.tbl2

@hlcianfagna hlcianfagna force-pushed the hlcianfagna/columnnamesintarget branch from 22b8894 to 05ac04d Compare October 11, 2023 16:00
@mfussenegger mfussenegger merged commit df98bfb into mfussenegger:master Oct 12, 2023
6 checks passed
@hlcianfagna hlcianfagna deleted the hlcianfagna/columnnamesintarget branch October 12, 2023 08:20
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.

2 participants