Commit c70f0a8
Support ALTER TABLE SET DISTRIBUTED BY for external tables
The external tables have distribution policy but it does not dictate
actual data distribution. It is only used when unloading data, to
compare with source table's distribution policy.
Therefore, when supporting ALTER TABLE SET DISTRIBUTED BY for external
tables, we don't really need to re-organize the table but just need
to make sure the catalog change happens.1 parent c53d3db commit c70f0a8
File tree
3 files changed
+15
-19
lines changed- src
- backend/commands
- test/regress
- input
- output
3 files changed
+15
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5563 | 5563 | | |
5564 | 5564 | | |
5565 | 5565 | | |
5566 | | - | |
| 5566 | + | |
5567 | 5567 | | |
5568 | 5568 | | |
5569 | 5569 | | |
| |||
18620 | 18620 | | |
18621 | 18621 | | |
18622 | 18622 | | |
| 18623 | + | |
| 18624 | + | |
| 18625 | + | |
| 18626 | + | |
| 18627 | + | |
| 18628 | + | |
18623 | 18629 | | |
18624 | 18630 | | |
18625 | 18631 | | |
| |||
18853 | 18859 | | |
18854 | 18860 | | |
18855 | 18861 | | |
18856 | | - | |
| 18862 | + | |
| 18863 | + | |
18857 | 18864 | | |
18858 | 18865 | | |
18859 | 18866 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3614 | 3614 | | |
3615 | 3615 | | |
3616 | 3616 | | |
3617 | | - | |
3618 | | - | |
3619 | | - | |
3620 | 3617 | | |
3621 | 3618 | | |
3622 | 3619 | | |
| |||
3629 | 3626 | | |
3630 | 3627 | | |
3631 | 3628 | | |
3632 | | - | |
| 3629 | + | |
3633 | 3630 | | |
3634 | 3631 | | |
3635 | 3632 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4916 | 4916 | | |
4917 | 4917 | | |
4918 | 4918 | | |
4919 | | - | |
| 4919 | + | |
4920 | 4920 | | |
4921 | 4921 | | |
4922 | 4922 | | |
4923 | 4923 | | |
4924 | 4924 | | |
4925 | 4925 | | |
4926 | 4926 | | |
4927 | | - | |
4928 | 4927 | | |
4929 | 4928 | | |
4930 | 4929 | | |
4931 | | - | |
| 4930 | + | |
4932 | 4931 | | |
4933 | 4932 | | |
4934 | 4933 | | |
4935 | | - | |
4936 | 4934 | | |
4937 | 4935 | | |
4938 | 4936 | | |
4939 | | - | |
| 4937 | + | |
4940 | 4938 | | |
4941 | 4939 | | |
4942 | | - | |
4943 | | - | |
4944 | | - | |
4945 | | - | |
4946 | | - | |
4947 | 4940 | | |
4948 | 4941 | | |
4949 | 4942 | | |
| |||
4953 | 4946 | | |
4954 | 4947 | | |
4955 | 4948 | | |
4956 | | - | |
| 4949 | + | |
4957 | 4950 | | |
4958 | 4951 | | |
4959 | 4952 | | |
4960 | 4953 | | |
4961 | 4954 | | |
4962 | 4955 | | |
4963 | 4956 | | |
4964 | | - | |
4965 | 4957 | | |
4966 | 4958 | | |
4967 | 4959 | | |
4968 | | - | |
| 4960 | + | |
4969 | 4961 | | |
4970 | 4962 | | |
4971 | 4963 | | |
| |||
0 commit comments