-
Notifications
You must be signed in to change notification settings - Fork 25.4k
Closed
Labels
:Analytics/ES|QLAKA ESQLAKA ESQL>enhancementTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)Meta label for analytical engine team (ESQL/Aggs/Geo)
Description
ReplaceMissingFieldWithNull
will check if the indices of a data node even have a given field, and if not, will define a literal NULL
in its place to avoid extracting null blocks.
When the join key for a LOOKUP JOIN
is missing on the data node, we could optimize away the whole join rather than extracting null blocks and then performing lookups with them.
Or, at least we should check that the current implementation is sufficiently cheap - but I think it's likely not in cases where we fan out to loads of data nodes, many of which just don't have values for the join key; like in FROM * | LOOKUP JOIN lu_idx ON some_rather_rare_field | SORT whatever_field
.
Metadata
Metadata
Assignees
Labels
:Analytics/ES|QLAKA ESQLAKA ESQL>enhancementTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)Meta label for analytical engine team (ESQL/Aggs/Geo)