Skip to content

Commit 647ad1b

Browse files
committed
fix IT by typo
Signed-off-by: xinyual <xinyual@amazon.com>
1 parent 08b722b commit 647ad1b

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

integ-test/src/test/java/org/opensearch/sql/calcite/standalone/CalcitePPLCaseFunctionIT.java

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -209,16 +209,17 @@ public void testCaseWhenInSubquery() {
209209
executeQuery(
210210
String.format(
211211
"source=%s\n" +
212-
"| where response in [\n" +
213-
" source = %s\n" +
214-
" | eval new_response = case(\n" +
215-
" response in ('200'), \"201\",\n" +
216-
" response in ('300', '301'), \"301\",\n" +
217-
" response in ('400', '403'), \"403\",\n" +
218-
" response in ('500', '505'), \"500\"\n" +
219-
" else concat(\"Incorrect HTTP status code for\", url))\n" +
220-
" | fields new_response | fields host, method, bytes, response, url\n" +
221-
" ]\n",
212+
" | where response in [\n" +
213+
" source = %s\n" +
214+
" | eval new_response = case(\n" +
215+
" response in ('200'), \"201\",\n" +
216+
" response in ('300', '301'), \"301\",\n" +
217+
" response in ('400', '403'), \"403\",\n" +
218+
" response in ('500', '505'), \"500\"\n" +
219+
" else concat(\"Incorrect HTTP status code for\", url))\n" +
220+
" | fields new_response\n" +
221+
" ]\n" +
222+
" | fields host, method, bytes, response, url\n",
222223
TEST_INDEX_WEBLOGS, TEST_INDEX_WEBLOGS));
223224
verifySchema(
224225
actual,

0 commit comments

Comments
 (0)