Andy Li
05/11/2022, 9:29 PMCOALESCE
or multi-column CASE
statements on the Pinot side. This seems reasonable for predicates as currently it looks like push down logic is on aggregations / predicates. However, we're looking for some performance improvements here by having this as a SELECT
pushdown instead of having to return all data to Presto for processing as we can "aggregate" row-wise for various operators and take advantage of certain indexing i.e. bloom filters, etc. for COALESCE
, CONCAT
, etc. Are there concerns or pointers around this? @Xiang FuXiang Fu
Xiang Fu
Xiang Fu
Xiang Fu
Xiang Fu
Andy Li
05/12/2022, 5:03 PMSELECT col1 + col2 FROM table LIMIT 10
results in a query plan that doesn't add them together but rather does the projection separate from the query itself?
GeneratedPinotQuery{query=SELECT col1, col2 FROM table LIMIT 10...
expr := (col1) + (col2) (1:80)
Andy Li
05/12/2022, 5:47 PMAndy Li
05/12/2022, 7:36 PMAndy Li
05/12/2022, 7:37 PMXiang Fu
Xiang Fu
Andy Li
05/12/2022, 8:01 PMSELECT col + 3 FROM table
this actually doesn't push downAndy Li
05/16/2022, 4:00 PMXiang Fu