Kaijie Chen
6c96e1dc9f
[fix](regression) add sync after streamload in test_stream_load (#20425)
Add sync after streamload in test_stream_load to fix following error:
Exception in load_p0/stream_load/test_stream_load.groovy(line 180):
throw exception
}
log.info("Stream load result: ${result}".toString())
def json = parseJson(result)
assertEquals("success", json.Status.toLowerCase())
assertEquals(1, json.NumberTotalRows)
assertEquals(0, json.NumberFilteredRows)
}
}
order_qt_sql1 " SELECT * FROM ${tableName2}"
^^^^^^^^^^^^^^^^^^^^^^^^^^ERROR LINE^^^^^^^^^^^^^^^^^^^^^^^^^^
// test common case
def tableName3 = "test_all"
def tableName4 = "test_less_col"
def tableName5 = "test_bitmap_and_hll"
def tableName6 = "test_unique_key"
def tableName7 = "test_unique_key_with_delete"
def tableName8 = "test_array"
def tableName10 = "test_struct"
sql """ DROP TABLE IF EXISTS ${tableName3} """
Exception:
java.lang.IllegalStateException: Check tag 'sql1' failed:
Check tag 'sql1' failed, line 1 mismatch, real line is empty, but expect is 2019 9 9 9 7.700 a 2019-09-09 1970-01-01T08:33:39 k7 9.0 9.0
sql:
SELECT * FROM load_nullable_to_not_nullable
2023-06-06 08:32:25 +08:00
..
2023-03-14 10:54:04 +08:00
2023-05-08 14:02:20 +08:00
2023-06-05 21:04:41 +08:00
2023-06-01 10:50:17 +08:00
2023-05-25 14:38:47 +08:00
2023-06-05 12:20:50 +08:00
2023-06-01 11:00:09 +08:00
2022-07-29 10:45:36 +08:00
2023-04-21 14:39:14 +08:00
2023-06-06 08:32:25 +08:00
2023-04-24 11:36:56 +08:00