Skip to content

Commit 35aa3b3

Browse files
Update sql/src/main/java/org/opensearch/sql/sql/domain/SQLQueryRequest.java
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com> Co-authored-by: GabeFernandez310 <Gabriel.Fernandez@improving.com>
1 parent 2019e84 commit 35aa3b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sql/src/main/java/org/opensearch/sql/sql/domain/SQLQueryRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public boolean isSupported() {
9393
var noContent = jsonContent == null || jsonContent.isEmpty();
9494

9595
return ((!noCursor && noQuery && noParams && noContent) // if cursor is given, but other things
96-
|| (noCursor && !noQuery)) // of if cursor is not given, but query
96+
|| (noCursor && !noQuery)) // or if cursor is not given, but query
9797
&& isOnlySupportedFieldInPayload() // and request has supported fields only
9898
&& isSupportedFormat(); // and request is in supported format
9999
}

0 commit comments

Comments
 (0)