huaxingao commented on a change in pull request #34497:
URL: https://github.com/apache/spark/pull/34497#discussion_r746085840
##########
File path:
sql/catalyst/src/main/java/org/apache/spark/sql/connector/catalog/TableCatalog.java
##########
@@ -71,6 +71,16 @@
*/
String OPTION_PREFIX = "option.";
+ /**
+ * A reserved property to specify the version of the table.
+ */
+ String PROP_VERSION = "versionAsOf";
Review comment:
The reason I used `versionAsOf` and `timestampAsOf` is because Delta
Lake uses these.
Delta Lake doc has
```
df1 = spark.read.format('delta').option('timestampAsOf',
'2019-01-01').load('/mnt/delta/people-10m')
df2 = spark.read.format('delta').option('versionAsOf',
2).load('/mnt/delta/people-10m')
```
--
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]