-
Notifications
You must be signed in to change notification settings - Fork 122
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
FORMAT PrettyCompact, Syntax error #103
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to use other formats, for example,
FORMAT PrettyCompact
to write to a file for reporting, however, the queries fail becauseFORMAT JSON;
is being appended to the query after.I read the docs, tried the
format
andraw
options, tried removing the format options, setting it to null, etc., but no success.There is code to process the
FORMAT
option, but I wasn't able to see any way to deactivate the postfixing ofFORMAT JSON;
without changing the source of this library.Is there a way? Any ideas?
Test code (works directly in clickhouse-client)
Error:
Syntax error: failed at position 25: PrettyCompact FORMAT JSON;
Version:
[email protected]
The text was updated successfully, but these errors were encountered: