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

Support for PG copy command #5833

Open
SloNN opened this issue Jun 21, 2024 · 0 comments
Open

Support for PG copy command #5833

SloNN opened this issue Jun 21, 2024 · 0 comments
Labels

Comments

@SloNN
Copy link
Collaborator

SloNN commented Jun 21, 2024

Please consider support PG Copy Command.
Use case:

  1. Create table in YDB
  2. Create ClickHouse Database,
CREATE TABLE default.table1
(
    `id` UInt64,
    `column1` String
)
ENGINE = PostgreSQL('10.131.0.7:5432', '/Root/database', 'yellow_with_pg_types', 'root', 'password')

Query id: 6990e76e-8e33-44c3-930f-c4109bd5776a

Ok.

0 rows in set. Elapsed: 0.000 sec.

pg-jumphost.ru-central1.internal :) select * from table1;

SELECT *
FROM table1
  1. ClickHouse makes a query
COPY (SELECT "id", "column1" FROM "yellow_with_pg_types") TO STDOUT"

that fails

@vitstn vitstn added the area/pg label Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants