Commit 3f5a2b9
[SPARK-54491][SQL] Fix insert into temp view on DSv2 table failure
### What changes were proposed in this pull request?
Resolve `V2TableReference` for table in `InsertIntoStatement`.
### Why are the changes needed?
#52876 brought in `V2TableReference` which broke relation resolution for insert into temp view on DSv2 table.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Add UT.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #53196 from manuzhang/FIX-SPARK-54491.
Authored-by: manuzhang <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>1 parent 8efec56 commit 3f5a2b9
File tree
2 files changed
+15
-0
lines changed- sql
- catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis
- core/src/test/scala/org/apache/spark/sql/connector
2 files changed
+15
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1207 | 1207 | | |
1208 | 1208 | | |
1209 | 1209 | | |
| 1210 | + | |
| 1211 | + | |
1210 | 1212 | | |
1211 | 1213 | | |
1212 | 1214 | | |
| |||
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3986 | 3986 | | |
3987 | 3987 | | |
3988 | 3988 | | |
| 3989 | + | |
| 3990 | + | |
| 3991 | + | |
| 3992 | + | |
| 3993 | + | |
| 3994 | + | |
| 3995 | + | |
| 3996 | + | |
| 3997 | + | |
| 3998 | + | |
| 3999 | + | |
| 4000 | + | |
| 4001 | + | |
3989 | 4002 | | |
3990 | 4003 | | |
3991 | 4004 | | |
| |||
0 commit comments