kestra-io / plugin-jdbc

https://kestra.io/plugins/
Apache License 2.0
13 stars 14 forks source link

ClickHouse plugin does not support Unsigned data types #331

Open aku opened 4 months ago

aku commented 4 months ago

Describe the issue

'class com.clickhouse.data.value.UnsignedByte' for column '[REDACTED]' is not supported

Related issue https://github.com/kestra-io/plugin-jdbc/issues/332

Please check that you support other ClickHouse data types.

Environment

anna-geller commented 4 months ago

Could you share a reproducer (example flow that generates that error)? It's difficult to help otherwise. thx in advance!

aku commented 4 months ago

@anna-geller

  - id: clickhouse
    type: io.kestra.plugin.jdbc.clickhouse.Query
    url: [REDACTED]
    username:  [REDACTED]
    password:  [REDACTED]
    sql: |
      SELECT 
            toUInt8(1)
          , toUInt16(1)
          , toUInt32(1)
          , toUInt64(1)
          , toUInt128(1)
          , toUInt256(1)
    fetchOne: true