Skip to content

incorrect handling of undrescores in column names in composite bloom filter #9578

@akuzm

Description

@akuzm
CREATE TABLE t (
      ts timestamptz NOT NULL,
      a_b int,
      c   int,
      a   int,
      b_c int
  );

  SELECT create_hypertable('t', 'ts');

  ALTER TABLE t SET (
      timescaledb.compress,
      timescaledb.compress_orderby = 'ts',
      timescaledb.compress_index = 'bloom(a_b, c), bloom(a, b_c)'
  );

  INSERT INTO t VALUES ('2024-01-01', 1, 2, 3, 4);

  SELECT compress_chunk(c) FROM show_chunks('t') c;

  -- ERROR:  column "_ts_meta_v2_bloomh_a_b_c" specified more than once

It would be good to fix this for the next release while this feature is still fresh.

Metadata

Metadata

Assignees

Labels

ColumnstoreRelated to the column store / compressionbug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions