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

Query should not support only str #363

Closed
pkit opened this issue Jun 16, 2024 · 1 comment · Fixed by #365 or #366
Closed

Query should not support only str #363

pkit opened this issue Jun 16, 2024 · 1 comment · Fixed by #365 or #366
Labels
enhancement New feature or request

Comments

@pkit
Copy link

pkit commented Jun 16, 2024

Currently query data is expected to be a str instance.
Which limits how I can use it.
For example, embedding binary data (while supported by ClickHouse) is not possible.
Maybe exposing some bytes-based raw_query(something) interface is a good idea?
Right now I need to subclass or monkey-patch it in...

Just an example of what works in raw ClickHouse HTTP:

SELECT * FROM format(Parquet, $<random uuid>$<Parquet binary data>$<random uuid>$) FORMAT CSV
@pkit
Copy link
Author

pkit commented Jun 24, 2024

Nice!

@genzgd genzgd mentioned this issue Jun 24, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant