>From Ali Alsuliman <[email protected]>:

Ali Alsuliman has submitted this change. ( 
https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/21270?usp=email )

Change subject: [ASTERIXDB-3769][API] Fail ASYNC requests for DMLs
......................................................................

[ASTERIXDB-3769][API] Fail ASYNC requests for DMLs

- user model changes: yes
- storage format changes: no
- interface changes: no

Details:
ASYNC mode is currently only supported for queries
and COPY TO statements.

Ext-ref: MB-71779
Change-Id: If8926c996ebf44d09f51856f7bb4f6ebc8072b0b
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/21270
Tested-by: Ali Alsuliman <[email protected]>
Reviewed-by: Murtadha Hubail <[email protected]>
Reviewed-by: Ali Alsuliman <[email protected]>
Integration-Tests: Jenkins <[email protected]>
---
M 
asterixdb/asterix-lang-common/src/main/java/org/apache/asterix/lang/common/base/Statement.java
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Ali Alsuliman: Looks good to me, but someone else must approve; Verified
  Jenkins: Verified
  Murtadha Hubail: Looks good to me, approved

Objections:
  Anon. E. Moose #1000171: Violations found




diff --git 
a/asterixdb/asterix-lang-common/src/main/java/org/apache/asterix/lang/common/base/Statement.java
 
b/asterixdb/asterix-lang-common/src/main/java/org/apache/asterix/lang/common/base/Statement.java
index 6442b62..a8592d2 100644
--- 
a/asterixdb/asterix-lang-common/src/main/java/org/apache/asterix/lang/common/base/Statement.java
+++ 
b/asterixdb/asterix-lang-common/src/main/java/org/apache/asterix/lang/common/base/Statement.java
@@ -86,9 +86,9 @@
         INDEX_DROP("DROP INDEX", false),
         CREATE_VIEW("CREATE VIEW", false),
         VIEW_DROP("DROP VIEW", false),
-        INSERT("INSERT", true),
-        UPSERT("UPSERT", true),
-        UPDATE("UPDATE", true),
+        INSERT("INSERT", false),
+        UPSERT("UPSERT", false),
+        UPDATE("UPDATE", false),
         DELETE("DELETE", false),
         TRUNCATE("TRUNCATE COLLECTION", false),
         LOAD("LOAD", false),

--
To view, visit https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/21270?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://asterix-gerrit.ics.uci.edu/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: asterixdb
Gerrit-Branch: lumina
Gerrit-Change-Id: If8926c996ebf44d09f51856f7bb4f6ebc8072b0b
Gerrit-Change-Number: 21270
Gerrit-PatchSet: 2
Gerrit-Owner: Ali Alsuliman <[email protected]>
Gerrit-Reviewer: Ali Alsuliman <[email protected]>
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Jenkins <[email protected]>
Gerrit-Reviewer: Michael Blow <[email protected]>
Gerrit-Reviewer: Murtadha Hubail
Gerrit-Reviewer: Murtadha Hubail <[email protected]>

Reply via email to