Skip to content
Advertisement

Clickhouse, create dictionary with decimal type

I try to create a clickhouse dictionary:

But I get an error:

Unknown type Decimal(20, 6) (version 20.6.3.28 (official build))

What should I do to create dictionary with this structure?

Advertisement

Answer

Try to use types with fixed precision, such as Decimal32:


It looks like a bug, could you create the issue in https://github.com/ClickHouse/ClickHouse/issues?

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement