You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Within the Cacades planner, there are methods for converting certain EXPLODE expressions into InSources for IN-join and IN-union planning. However, this logic is restricted to only LiteralValues (which get turned into InValues sources) and QuantifiedObjectValues (which get turned into InParameter sources). We're missing a few types, such as ConstantObjectValues.
We could add a Value-based InSource that can wrap ConstantObjectValues (etc) and then use those. There's a bit of work to consider here, to make sure that we don't use these values where it isn't appropriate. There's also some thought that we'll probably want to replace those with nested-loop joins and merge joins in the future, at which point we can probably remove these types of plans.
The text was updated successfully, but these errors were encountered:
This allows for `IN`s with a `Value` based source to be used during query execution with an IN-join or IN-union plan. There already was an `InComparandSource`, so rather than introducing a new one, it makes use of that existing class.
This resolvesFoundationDB#2717.
This allows for `IN`s with a `Value` based source to be used during query execution with an IN-join or IN-union plan. There already was an `InComparandSource`, so rather than introducing a new one, it makes use of that existing class.
This resolvesFoundationDB#2717.
* update IN tests to be dual planner
* Resolves#2717: Support Value-based InSource
This allows for `IN`s with a `Value` based source to be used during query execution with an IN-join or IN-union plan. There already was an `InComparandSource`, so rather than introducing a new one, it makes use of that existing class.
This resolves#2717.
* remove planPartition filtering so that InJoin can be used with aggregates
* update release note
* remove `instanceof ConstantObjectValue` in favor of `.isConstant()`
Within the Cacades planner, there are methods for converting certain
EXPLODE
expressions intoInSource
s for IN-join and IN-union planning. However, this logic is restricted to onlyLiteralValue
s (which get turned intoInValues
sources) andQuantifiedObjectValue
s (which get turned intoInParameter
sources). We're missing a few types, such asConstantObjectValue
s.We could add a
Value
-basedInSource
that can wrapConstantObjectValue
s (etc) and then use those. There's a bit of work to consider here, to make sure that we don't use these values where it isn't appropriate. There's also some thought that we'll probably want to replace those with nested-loop joins and merge joins in the future, at which point we can probably remove these types of plans.The text was updated successfully, but these errors were encountered: