Commit b44e243
[SQL][MINOR] Update comments and remove dead code in UnionLoop
### What changes were proposed in this pull request?
Remove function assertNoRecursiveCTE which is no longer used (when recursive references from subqueries were enabled, this function became obsolete).
Also edit comments and error message to reflect current state.
### Why are the changes needed?
Code cleanliness.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Existing golden file tests in cte-recursion and postgreSQL/with.sql.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #51097 from Pajaraja/pavle-martinovic_data/rctecleanup.
Authored-by: pavle-martinovic_data <[email protected]>
Signed-off-by: Wenchen Fan <[email protected]>1 parent 4554600 commit b44e243
File tree
3 files changed
+4
-26
lines changed- common/utils/src/main/resources/error
- sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst
- analysis
- optimizer
3 files changed
+4
-26
lines changedLines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3416 | 3416 | | |
3417 | 3417 | | |
3418 | 3418 | | |
3419 | | - | |
3420 | | - | |
3421 | | - | |
3422 | | - | |
3423 | | - | |
3424 | 3419 | | |
3425 | 3420 | | |
3426 | | - | |
| 3421 | + | |
3427 | 3422 | | |
3428 | 3423 | | |
3429 | 3424 | | |
| |||
Lines changed: 2 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
947 | 947 | | |
948 | 948 | | |
949 | 949 | | |
950 | | - | |
951 | 950 | | |
952 | 951 | | |
953 | 952 | | |
954 | 953 | | |
955 | | - | |
956 | | - | |
957 | | - | |
958 | | - | |
959 | | - | |
960 | | - | |
961 | | - | |
962 | | - | |
963 | | - | |
964 | | - | |
965 | | - | |
966 | | - | |
967 | | - | |
968 | | - | |
969 | | - | |
970 | 954 | | |
971 | 955 | | |
972 | | - | |
973 | | - | |
| 956 | + | |
| 957 | + | |
974 | 958 | | |
975 | 959 | | |
976 | 960 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1041 | 1041 | | |
1042 | 1042 | | |
1043 | 1043 | | |
1044 | | - | |
1045 | | - | |
| 1044 | + | |
1046 | 1045 | | |
1047 | 1046 | | |
1048 | 1047 | | |
| |||
0 commit comments