We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Same as #159 but with arrays of dates.
import datetime client.query('SELECT {l:Array(Date)}', parameters={"l": [datetime.date.today()]}).result_rows
DatabaseError: :HTTPDriver for https://rw.chcl5l17008fjmn0m8s9.at.double.cloud:8443/ returned response code 400) Code: 27. DB::ParsingException: Cannot parse input: expected '\'' before: '2023-05-05]'. (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 22.8.17.17 (official build))
returns
[([datetime.date(2023, 5, 5)],)]
import clickhouse_connect client = clickhouse_connect.get_client( dsn=connection_string ) client.query('SELECT {l:Array(Date)}', parameters={"l": [datetime.date.today()]}).result_rows
The text was updated successfully, but these errors were encountered:
Thanks for the detailed report! This should be fixed in 0.5.24
Sorry, something went wrong.
Thanks !
Successfully merging a pull request may close this issue.
Describe the bug
Same as #159 but with arrays of dates.
Steps to reproduce
Expected behaviour
returns
Code example
clickhouse-connect and/or ClickHouse server logs
Configuration
Environment
ClickHouse server
The text was updated successfully, but these errors were encountered: