Skip to content

Commit

Permalink
[SPARK-46972][SQL][TESTS][FOLLOWUP] Remove the assertion for table ex…
Browse files Browse the repository at this point in the history
…istence

### What changes were proposed in this pull request?

This PR removes the assertion for table existence, which introduces undefined scan logic.

### Why are the changes needed?

test improvement

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

no
### How was this patch tested?

the existing one

### Was this patch authored or co-authored using generative AI tooling?
no

Closes #45163 from yaooqinn/SPARK-46972-F.

Authored-by: Kent Yao <yao@apache.org>
Signed-off-by: Kent Yao <yao@apache.org>
  • Loading branch information
yaooqinn committed Feb 19, 2024
1 parent c4e4497 commit 63a5acd
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1740,7 +1740,6 @@ class DataSourceV2SQLSuiteV1Filter
spark.conf.unset(V2_SESSION_CATALOG_IMPLEMENTATION.key)
withTable("t") {
sql(s"CREATE TABLE t(c char(1), v varchar(2)) USING $v2Source")
assert(!spark.table("t").isEmpty)
}
}

Expand Down

0 comments on commit 63a5acd

Please sign in to comment.