Skip to content

Commit 615f3f6

Browse files
committed
add stateful test
1 parent 92e321c commit 615f3f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/suites/1_stateful/01_load_v2/01_0000_streaming_load.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ echo "select count(1), avg(Year), sum(DayOfWeek) from ontime_streaming_load;" |
7373
echo "truncate table ontime_streaming_load" | $MYSQL_CLIENT_CONNECT
7474

7575
# load csv using file_format syntax
76-
echo "--csv"
77-
curl -H "insert_sql:insert into ontime_streaming_load file_format = (type = 'CSV', skip_header = 1)" -F "upload=@/tmp/ontime_200.csv" -u root: -XPUT "http://localhost:${QUERY_HTTP_HANDLER_PORT}/v1/streaming_load" > /dev/null 2>&1
76+
echo "--csv using file_format"
77+
curl -H "insert_sql:insert into ontime_streaming_load file_format = (type = 'CSV' skip_header = 1)" -F "upload=@/tmp/ontime_200.csv" -u root: -XPUT "http://localhost:${QUERY_HTTP_HANDLER_PORT}/v1/streaming_load" > /dev/null 2>&1
7878
echo "select count(1), avg(Year), sum(DayOfWeek) from ontime_streaming_load;" | $MYSQL_CLIENT_CONNECT
7979
echo "truncate table ontime_streaming_load" | $MYSQL_CLIENT_CONNECT
8080

0 commit comments

Comments
 (0)