Skip to content

The app crash when decode an empty low cardinality array #178

Description

@huyphams

After this merge #173 now I can decode the array of low cardinality, however it will crash when decoding an empty array.

  1. Create a table with a column array of low cardinality.
CREATE TABLE array_lowcardinality
(
    `country` Array(LowCardinality(String)),
)
ENGINE = MergeTree
  1. Insert some rows with an empty array.
  2. Select from that table

=> Crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions