planner & mpp: need a explicit MPPPartitionType to mark PassThrough Exchange
.
#31762
Labels
MPP
related to MPP in tiflash
sig/planner
SIG: Planner
type/enhancement
The issue or PR belongs to an enhancement.
Enhancement
Currently, ExchangeSender/Receiver has an exchange type
PassThrough
, It corresponds toAnyType
inMPPPartitionType
. ButAnyType
may also meanDon't exchange
, which creates several inconveniences; For example:enforceExchangerImpl
, instead of guaranteeing it byenforceProperty
.AnyType
ofMPPPartitionType
is ambiguous, it may represent an exchange that does not require an exchange, or it may represent an exchange that requires an exchange.AnyType
can't reuse the property, such as this sql will do an extra passthrough.The text was updated successfully, but these errors were encountered: