lowka commented on code in PR #2663:
URL: https://github.com/apache/ignite-3/pull/2663#discussion_r1354591103


##########
modules/sql-engine/src/main/codegen/includes/parserImpls.ftl:
##########
@@ -650,3 +650,37 @@ SqlTypeNameSpec IgniteDateTimeTypeName() :
         return new SqlBasicTypeNameSpec(typeName, precision, s.end(this));
     }
 }
+
+SqlNode SqlStartTransaction() :
+{
+    final Span s;
+    IgniteSqlStartTransactionMode mode = 
IgniteSqlStartTransactionMode.IMPLICIT_READ_WRITE;
+}
+{
+    <START> { s = span(); }
+    <TRANSACTION>
+    [
+        <READ>
+        (
+          <ONLY> {
+            mode = IgniteSqlStartTransactionMode.READ_ONLY;
+          }
+          |
+          <WRITE> {
+            mode = IgniteSqlStartTransactionMode.READ_WRITE;
+          }
+        )

Review Comment:
   Thanks. Fixed.



-- 
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-unsubscr...@ignite.apache.org

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

Reply via email to