Skip to content

Cube Store readily ingests CSV files with non-unique columns #3485

Open
@igorlukanin

Description

@igorlukanin

Describe the bug
Cube Store loads a CSV file with pre-aggregated data and stores it without errors even if it contains non-unique columns (e.g., two columns with identical names).

To Reproduce
Steps to reproduce the behavior:

  1. Create a pre-aggregation where a single dimension is references twice
  2. Execute a query and trigger pre-aggregations build
  3. The query will yield this error:

Internal: Error during planning: Schema contains duplicate qualified field name "..."

Expected behavior
Cube Store fails to ingest data with non-unique columns and shows an error message clearly indicating the issue.

Screenshots
Screenshot 2021-09-24 at 14 22 36
Screenshot 2021-09-24 at 14 18 35

Version:
0.28.38

Metadata

Metadata

Assignees

No one assigned

    Labels

    cube storeIssues relating to Cube Store

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions