Skip to content

Commit b9332ed

Browse files
committed
fix test
Signed-off-by: Kai Huang <[email protected]>
1 parent 5887750 commit b9332ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

integ-test/src/test/java/org/opensearch/sql/calcite/remote/CalcitePPLAppendCommandIT.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,16 +243,16 @@ public void testAppendSchemaMergeWithTimestampUDT() throws IOException {
243243
executeQuery(
244244
String.format(
245245
Locale.ROOT,
246-
"source=%s | fields account_number, age | append [ source=%s | fields"
246+
"source=%s | fields account_number, firstname | append [ source=%s | fields"
247247
+ " account_number, age, birthdate ] | where isnotnull(birthdate) and"
248248
+ " account_number > 30",
249249
TEST_INDEX_ACCOUNT,
250250
TEST_INDEX_BANK));
251251
verifySchemaInOrder(
252252
actual,
253253
schema("account_number", "bigint"),
254-
schema("age", "bigint"),
255-
schema("age0", "int"),
254+
schema("firstname", "string"),
255+
schema("age", "int"),
256256
schema("birthdate", "string"));
257257
verifyDataRows(actual, rows(32, null, 34, "2018-08-11 00:00:00"));
258258
}

0 commit comments

Comments
 (0)