You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/08/09 19:40:50 UTC

[GitHub] [shardingsphere] Liangda-w commented on a change in pull request #11695: Add Oracle SQL - FLASHBACK TABLE

Liangda-w commented on a change in pull request #11695:
URL: https://github.com/apache/shardingsphere/pull/11695#discussion_r685469934



##########
File path: shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-oracle/src/main/antlr4/imports/oracle/DDLStatement.g4
##########
@@ -1903,3 +1903,13 @@ scnTimestampClause
 restorePointClause
     : RESTORE POINT restorePoint
     ;
+

Review comment:
       yes, `FLASHBACK TABLE employees_test TO TIMESTAMP (SYSTIMESTAMP - INTERVAL '1' minute);` is supported
   
   ![image](https://user-images.githubusercontent.com/66914151/128764248-708ff294-1929-423f-bf00-a4eb840fae79.png)
   
   `timestampValue` is defined as following:
   
   ```
   scnValue
       : literals
       ;
   
   timestampValue
       : LP_? expr+ RP_?
       ;
   
   scnTimestampExpr
       : scnValue | timestampValue
       ;
   ```
   ยด
   




-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org