Skip to content

Conversation

@rxin
Copy link
Contributor

@rxin rxin commented Dec 23, 2022

What changes were proposed in this pull request?

I noticed we were missing a test case for this in SQL tests, so I added one.

Why are the changes needed?

To ensure we scope CTEs properly in subqueries.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

This is a test case change.

@github-actions github-actions bot added the SQL label Dec 23, 2022
Copy link
Member

@HyukjinKwon HyukjinKwon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but shall we file a JIRA?

@rxin rxin changed the title Add a CTE subquery scope test case. [MINOR][TEST][SQL] Add a CTE subquery scope test case. Dec 23, 2022
@rxin rxin closed this in 24edf8e Dec 23, 2022
rxin added a commit that referenced this pull request Dec 23, 2022
### What changes were proposed in this pull request?
I noticed we were missing a test case for this in SQL tests, so I added one.

### Why are the changes needed?
To ensure we scope CTEs properly in subqueries.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
This is a test case change.

Closes #39189 from rxin/cte_test.

Authored-by: Reynold Xin <[email protected]>
Signed-off-by: Reynold Xin <[email protected]>
(cherry picked from commit 24edf8e)
Signed-off-by: Reynold Xin <[email protected]>
@HeartSaVioR
Copy link
Contributor

@rxin @cloud-fan @HyukjinKwon
Looks like this broke branch-3.3 as error class framework does not exist in Spark 3.3. Shall we revert this in branch-3.3, or do we want (someone) to fix this quickly?

@cloud-fan
Copy link
Contributor

I have reverted it from 3.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants