jackye1995 commented on a change in pull request #3269:
URL: https://github.com/apache/iceberg/pull/3269#discussion_r726488932



##########
File path: spark3/src/main/java/org/apache/iceberg/spark/SparkCatalog.java
##########
@@ -80,6 +87,9 @@
  */
 public class SparkCatalog extends BaseCatalog {
   private static final Set<String> DEFAULT_NS_KEYS = 
ImmutableSet.of(TableCatalog.PROP_OWNER);
+  private static final Splitter COMMA = Splitter.on(",");
+  private static final Pattern AT_TIME = 
Pattern.compile("at(?:_(?:time(?:stamp)?)?)?_?(\\d+)");

Review comment:
       what's the reason for supporting so many different ways to specify the 
time and snapshot id? My opinion is we should just support 1 shortcut and 1 
full name for each, for example `at_` and `at_timestamp_` for timestamp travel, 
`s_` and `snapshot_id_` for snapshot ID travel. Maybe even the full name ones 
are not necessary.




-- 
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]

Reply via email to