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
The basic assumption that for a given operator we can recompute its schema from inputs' schema is unsound.
metadata: for plans constructed from SQL metadata will usually be empty, but an application can attach additional metadata to schema or field. The metadata can be assigned on the relational operator (its schema or one of the fields) and may not be derivable from inputs.
field qualification: a plan node may have field qualification retained from inputs or erased, or reassigned. At the optimizer time, we cannot simply assume one way or the other.
The usage of recompute_schema within optimizer should be replaced with explicit node schema updates.
For example, when pruning inputs with RequiredIndices, the node's schema should be pruned the same way, not recomputed anew.
The usage of recompute_schema within analyzer is left for a different issue.
The text was updated successfully, but these errors were encountered:
The basic assumption that for a given operator we can recompute its schema from inputs' schema is unsound.
ReturnTypeInfo
to return aField
rather thanDataType
#14247, Extension Types #12644, but also other, non-type related use-cases, like primary ID trackingThe usage of
recompute_schema
within optimizer should be replaced with explicit node schema updates.For example, when pruning inputs with
RequiredIndices
, the node's schema should be pruned the same way, not recomputed anew.The usage of
recompute_schema
within analyzer is left for a different issue.The text was updated successfully, but these errors were encountered: