>From Ali Alsuliman <[email protected]>:
Ali Alsuliman has uploaded this change for review. (
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
---
M
asterixdb/asterix-lang-common/src/main/java/org/apache/asterix/lang/common/base/Statement.java
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb
refs/changes/70/21270/1
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: newchange
Gerrit-Project: asterixdb
Gerrit-Branch: lumina
Gerrit-Change-Id: If8926c996ebf44d09f51856f7bb4f6ebc8072b0b
Gerrit-Change-Number: 21270
Gerrit-PatchSet: 1
Gerrit-Owner: Ali Alsuliman <[email protected]>