matrixorigin / matrixone

Hyperconverged cloud-edge native database
https://docs.matrixorigin.cn/en
Apache License 2.0
1.79k stars 277 forks source link

[Feature Request]: support Runtime partition prune for prepare statements #16063

Open qingxinhome opened 6 months ago

qingxinhome commented 6 months ago

Is there an existing issue for the same feature request?

Is your feature request related to a problem?

No response

Describe the feature you'd like

Add operator to support compile runtime partition pruning for prepare statements 对于preapre语句, 每次EXECUTE stmt时, 不并会重新构建逻辑计划, 也不会重新构建物理计划, 执行时复用物理计划,每次执行preapre语句, 只会做运行时占位符的常量替换,因此需要做Runtime阶段分区裁剪

Describe implementation you've considered

No response

Documentation, Adoption, Use Case, Migration Strategy

No response

Additional information

No response

qingxinhome commented 5 months ago

关联:https://github.com/matrixorigin/matrixone/issues/16085