Skip to content

Commit f1b3a81

Browse files
committed
merge from main
Signed-off-by: xinyual <xinyual@amazon.com>
2 parents fe1b23f + 20f2234 commit f1b3a81

File tree

313 files changed

+13850
-776
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

313 files changed

+13850
-776
lines changed

.github/workflows/enforce-labels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ jobs:
99
steps:
1010
- uses: yogevbd/enforce-label-action@2.1.0
1111
with:
12-
REQUIRED_LABELS_ANY: "breaking,feature,enhancement,bug,infrastructure,dependencies,documentation,maintenance,skip-changelog,testing,security fix"
13-
REQUIRED_LABELS_ANY_DESCRIPTION: "A release label is required: ['breaking', 'bug', 'dependencies', 'documentation', 'enhancement', 'feature', 'infrastructure', 'maintenance', 'skip-changelog', 'testing', 'security fix']"
12+
REQUIRED_LABELS_ANY: "breaking,feature,enhancement,bugFix,infrastructure,dependencies,documentation,maintenance,skip-changelog,testing,security fix"
13+
REQUIRED_LABELS_ANY_DESCRIPTION: "A release label is required: ['breaking', 'bugFix', 'dependencies', 'documentation', 'enhancement', 'feature', 'infrastructure', 'maintenance', 'skip-changelog', 'testing', 'security fix']"

.github/workflows/integ-tests-with-security.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
strategy:
6363
fail-fast: false
6464
matrix:
65-
os: [ windows-latest, macos-13 ]
65+
os: [ windows-latest, macos-14 ]
6666
java: [21, 24]
6767

6868
runs-on: ${{ matrix.os }}

.github/workflows/sql-test-and-build-workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ jobs:
107107
entry:
108108
- { os: windows-latest, java: 21, os_build_args: -PbuildPlatform=windows }
109109
- { os: windows-latest, java: 24, os_build_args: -PbuildPlatform=windows }
110-
- { os: macos-13, java: 21, os_build_args: '' }
111-
- { os: macos-13, java: 24, os_build_args: '' }
110+
- { os: macos-14, java: 21, os_build_args: '' }
111+
- { os: macos-14, java: 24, os_build_args: '' }
112112
test-type: ['unit', 'integration', 'doc']
113113
exclude:
114114
# Exclude doctest for Windows

async-query/src/test/resources/flint-index-mappings/flint_mys3_default_http_logs_cv1_index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"number_of_replicas": 0,
3131
"max_result_window": 100,
3232
"version": {
33-
"created": "6050399"
33+
"created": "137217827"
3434
}
3535
}
3636
},

async-query/src/test/resources/flint-index-mappings/flint_mys3_default_http_logs_skipping_index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"number_of_replicas": 0,
4040
"max_result_window": 100,
4141
"version": {
42-
"created": "6050399"
42+
"created": "137217827"
4343
}
4444
}
4545
},

async-query/src/test/resources/flint-index-mappings/npe_mapping.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"number_of_replicas": 0,
2525
"max_result_window": 100,
2626
"version": {
27-
"created": "6050399"
27+
"created": "137217827"
2828
}
2929
}
3030
},

common/src/main/java/org/opensearch/sql/common/grok/GrokCompiler.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ public Grok compile(final String pattern, ZoneId defaultTimeZone, boolean namedO
185185
(group.get("subname") != null ? group.get("subname") : group.get("name")));
186186
namedRegex =
187187
StringUtils.replace(namedRegex, "%{" + group.get("name") + "}", replacement, 1);
188-
// System.out.println(_expanded_pattern);
189188
index++;
190189
}
191190
}

common/src/test/java/org/opensearch/sql/common/grok/ApacheDataTypeTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ public void test002_httpd_access_semi() throws GrokException {
4949
+ " HTTP/%{NUMBER:httpversion;float})?|%{DATA:rawrequest})\" %{NUMBER:response;int}"
5050
+ " (?:%{NUMBER:bytes;long}|-)");
5151

52-
System.out.println(line);
5352
Match gm = grok.match(line);
5453
Map<String, Object> map = gm.capture();
5554

common/src/test/java/org/opensearch/sql/common/grok/ApacheTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ public void test001_httpd_access() throws GrokException, IOException {
3838

3939
BufferedReader br = new BufferedReader(new FileReader(LOG_FILE));
4040
String line;
41-
System.out.println("Starting test with httpd log");
4241
while ((line = br.readLine()) != null) {
4342
Match gm = grok.match(line);
4443
final Map<String, Object> capture = gm.capture();
@@ -50,7 +49,6 @@ public void test001_httpd_access() throws GrokException, IOException {
5049
@Test
5150
public void test002_nasa_httpd_access() throws GrokException, IOException {
5251
Grok grok = compiler.compile("%{COMMONAPACHELOG}");
53-
System.out.println("Starting test with nasa log -- may take a while");
5452
BufferedReader br;
5553
String line;
5654
File dir = new File(LOG_DIR_NASA);

common/src/test/java/org/opensearch/sql/common/grok/GrokTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,6 @@ public void test013_IpSet() throws Throwable {
317317
try (FileReader fr = new FileReader(Resources.getResource(ResourceManager.IP).getFile());
318318
BufferedReader br = new BufferedReader(fr)) {
319319
String line;
320-
System.out.println("Starting test with ip");
321320
while ((line = br.readLine()) != null) {
322321
Match gm = grok.match(line);
323322
final Map<String, Object> map = gm.capture();

0 commit comments

Comments
 (0)