clickhouse-java
clickhouse-java copied to clipboard
find a bug in clickhouse-jdbc 0.6.0
bug code : com.clickhouse.jdbc.internal.ClickHouseConnectionImpl#getTableColumns line 260
when I have a following table , this table contains a cloumn named '0'
in this code, it will run the sql:
this sql will get an error: Code: 59. DB::Exception: Illegal type Float64 of column 0 for filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.9.54 (official build))
when I remove 'where 0', it's ok