Skip to content

Fail to create sharded table with decimal column type

picodata> pico.sql([[create table "wonderland" (
                    "property" text not null,
                    "value" decimal,
                    primary key ("property")
                ) using memtx distributed by ("property")
                option (timeout = 3.0)
            ]])
---
- null
- 'sbroad: invalid node: AST column type node ParseNode { children: [], rule: TypeDecimal,
  value: Some("decimal") } has unexpected type'
...