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

TypeError: DecimalColumn.__init__() got multiple values for argument 'scale' #479

Open
thmsobrmlr opened this issue Feb 27, 2025 · 0 comments

Comments

@thmsobrmlr
Copy link

thmsobrmlr commented Feb 27, 2025

Trying to execute the following query results in the error TypeError: DecimalColumn.__init__() got multiple values for argument 'scale'

client.execute("SELECT [now64() - interval 1 day, now64()] AS arr, arrayZip(arr, arrayDifference(arr))")

The version without sub-second precision works however:

client.execute("SELECT [now() - interval 1 day, now()] AS arr, arrayZip(arr, arrayDifference(arr))")

Running the original query in clickhouse-client also works, to rule out an error in CH itself.

Versions

  • Version of package with the problem: 0.2.9
  • ClickHouse server version. Version can be obtained by running SELECT version() query: 24.8.7.41
  • Python version: 3.11.11
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

1 participant