prestodb / presto

The official home of the Presto distributed SQL query engine for big data
http://prestodb.io
Apache License 2.0
16.07k stars 5.38k forks source link

Add input distribution to delete node #24104

Open feilong-liu opened 4 days ago

feilong-liu commented 4 days ago

Description

Add an optional field to DeleteNode so that DeleteNode can specify the input data distributions for a DeleteNode.

This PR also include changes which moved the DeleteNode to SPI

Motivation and Context

To enable specify input data properties for DeleteNode. Default is empty which means no requirement.

Impact

Allow to specify input data properties for DeleteNode.

Test Plan

Existing tests.

Contributor checklist

Release Notes

Please follow release notes guidelines and fill in the release notes below.

== RELEASE NOTES ==

General Changes
* Add an optional input distribution constraint to DeleteNode :pr:`24104`