-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into integ-datetime-addsubtime-functions
- Loading branch information
Showing
164 changed files
with
3,864 additions
and
1,148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
# OpenSearch SQL Maintainers | ||
## Overview | ||
|
||
## Maintainers | ||
This document contains a list of maintainers in this repo. See [opensearch-project/.github/RESPONSIBILITIES.md](https://github.com/opensearch-project/.github/blob/main/RESPONSIBILITIES.md#maintainer-responsibilities) that explains what the role of maintainer means, what maintainers do in this and other repos, and how they should be doing it. If you're interested in contributing, and becoming a maintainer, see [CONTRIBUTING](CONTRIBUTING.md). | ||
|
||
| Maintainer | GitHub ID | Affiliation | | ||
| --------------- | --------- | ----------- | | ||
| Anirudha (Ani) Jadhav | [anirudha](https://github.com/anirudha) | Amazon | | ||
| Peng Huo | [penghuo](https://github.com/penghuo) | Amazon | | ||
| Chen Dai | [dai-chen](https://github.com/dai-chen) | Amazon | | ||
| Chloe Zhang | [chloe-zh](https://github.com/chloe-zh) | Amazon | | ||
| Nick Knize | [nknize](https://github.com/nknize) | Amazon | | ||
| Charlotte Henkle | [CEHENKLE](https://github.com/CEHENKLE) | Amazon | | ||
| Max Ksyunz | [MaxKsyunz](https://github.com/MaxKsyunz) | BitQuill | | ||
| Yury Fridlyand | [Yury-Fridlyand](https://github.com/Yury-Fridlyand) | BitQuill | | ||
## Current Maintainers | ||
|
||
| Maintainer | GitHub ID | Affiliation | | ||
| --------------------- | --------------------------------------------------- | ----------- | | ||
| Anirudha (Ani) Jadhav | [anirudha](https://github.com/anirudha) | Amazon | | ||
| Peng Huo | [penghuo](https://github.com/penghuo) | Amazon | | ||
| Chen Dai | [dai-chen](https://github.com/dai-chen) | Amazon | | ||
| Chloe Zhang | [chloe-zh](https://github.com/chloe-zh) | Amazon | | ||
| Nick Knize | [nknize](https://github.com/nknize) | Amazon | | ||
| Charlotte Henkle | [CEHENKLE](https://github.com/CEHENKLE) | Amazon | | ||
| Max Ksyunz | [MaxKsyunz](https://github.com/MaxKsyunz) | BitQuill | | ||
| Yury Fridlyand | [Yury-Fridlyand](https://github.com/Yury-Fridlyand) | BitQuill | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
core/src/main/java/org/opensearch/sql/ast/expression/Between.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/* | ||
* Copyright OpenSearch Contributors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package org.opensearch.sql.ast.expression; | ||
|
||
import java.util.Arrays; | ||
import java.util.List; | ||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
import org.opensearch.sql.ast.AbstractNodeVisitor; | ||
import org.opensearch.sql.ast.Node; | ||
|
||
/** | ||
* Unresolved expression for BETWEEN. | ||
*/ | ||
@Data | ||
@EqualsAndHashCode(callSuper = false) | ||
public class Between extends UnresolvedExpression { | ||
|
||
/** Value for range check. */ | ||
private final UnresolvedExpression value; | ||
|
||
/** Lower bound of the range (inclusive). */ | ||
private final UnresolvedExpression lowerBound; | ||
|
||
/** Upper bound of the range (inclusive). */ | ||
private final UnresolvedExpression upperBound; | ||
|
||
@Override | ||
public List<? extends Node> getChild() { | ||
return Arrays.asList(value, lowerBound, upperBound); | ||
} | ||
|
||
@Override | ||
public <T, C> T accept(AbstractNodeVisitor<T, C> nodeVisitor, C context) { | ||
return nodeVisitor.visitBetween(this, context); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.