apache/pinot

Impossible to use the virtual column generated by the timestamp index ($ts$DAY) in the startree index

Open

#10,213 opened on Feb 1, 2023

 (2 comments) (0 reactions) (0 assignees)Java (1,234 forks)batch import
bughelp wanted

Repository metrics

Stars
 (4,937 stars)
PR merge metrics
 (PR metrics pending)

Description

When I try to create my realtime table with a timestamp and a startree index, I get this error :

Invalid table config: my-table-name_REALTIME. Column Name $ts$DAY defined in StarTreeIndex Config must be a valid column defined in the schema

Currently the table config validation requires all the star-tree index to be explicitly configured within the schema.

Contributor guide