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 SQL schemas #45

Open
frgomes opened this issue Jul 11, 2023 · 1 comment
Open

Add support for SQL schemas #45

frgomes opened this issue Jul 11, 2023 · 1 comment

Comments

@frgomes
Copy link

frgomes commented Jul 11, 2023

It would be handy if something like this would be available:

$ pqrs schema --sql-dialect=clickhouse --name=ticker /path/to/file.parquet
CREATE TABLE ticker (
  isin String NOT NULL,
  O Int32 NOT NULL,
  H Int32 NOT NULL,
  L Int32 NOT NULL,
  C Int32 NOT NULL
) ENGINE = Parquet('/path/to/file.parquet');
@manojkarthick
Copy link
Owner

Agree that this would be useful but I'm not sure if this fits into pqrs. I would also not like to end up supporting various SQL dialects within pqrs. Might be better off as a separate tool?

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

No branches or pull requests

2 participants