ClickHouse / clickhouse-tableau-connector-jdbc

Tableau connector to ClickHouse using JDBC driver
Apache License 2.0
57 stars 9 forks source link

Error when working with large numbers in a column #18

Closed Arkronus closed 2 years ago

Arkronus commented 2 years ago

Добрый день.

При создании экстракта столкнулся с следующей ошибкой.

ClickHouse exception, message: Error parsing '13275473927779226473' as java.lang.Long; For input string: "13275473927779226473"
Unable to create extract

Connector Class: clickhouse_jdbc, Version: 0.1.3
artshevchenko commented 2 years ago

Hi! This is normal behavior when working with large numbers. ClickHouse has UInt64, which has no counterpart on the Tableau side. The only way to solve this problem is to cast such columns to a String on the Tableau side in the data source.

Привет! Это нормальное поведение при работе с большими числами. В ClickHouse присутствует UInt64, которому нет аналога на стороне Tableau. Единственный способ решить эту проблему — приведение таких колонок к String на стороне Tableau в источнике данных.