Note that Injective and Optimize are of type *bool. This is so they are included in the outgoing JSON even when they're set to false, but are still not included if their values is not set.
A property of injective can override the lookup's own sense of whether or not it is injective. If left unspecified, Druid will use the registered cluster-wide lookup configuration.
and
A property optimize can be supplied to allow optimization of lookup based extraction filter (by default optimize = true).
Therefore, it's important to distinguish between those fields missing and explicitly set to false.
Note that
Injective
andOptimize
are of type*bool
. This is so they are included in the outgoing JSON even when they're set tofalse
, but are still not included if their values is not set.As detailed here:
and
Therefore, it's important to distinguish between those fields missing and explicitly set to
false
.