cloud-fan commented on a change in pull request #34497:
URL: https://github.com/apache/spark/pull/34497#discussion_r749388931
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/connector/SupportsCatalogOptionsSuite.scala
##########
@@ -271,6 +275,47 @@ class SupportsCatalogOptionsSuite extends QueryTest with
SharedSparkSession with
}
}
+ test("mock time travel test") {
+ sql(s"create table $catalogName.t123456789 (id bigint) using $format")
+ sql(s"create table $catalogName.t234567891 (id bigint) using $format")
Review comment:
I think we can reuse the same table for both version and timestamp tests.
```
table t123456
version = 123456
timestamp = Cast(Literal(123456), TimestampType,
Some(conf.sessionLocalTimezone)).eval().toString
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]