5
5
q1.parquet 624 1
6
6
>>>> streaming load: q1.parquet error :
7
7
+ curl -sS -H x-databend-query-id:load-q1 -H 'sql:insert into streaming_load_parquet(c2,c3) from @_databend_load file_format = (type='\''parquet'\'', missing_field_as=error, null_if=())' -F upload=@/tmp/streaming_load_parquet/q1.parquet -u root: -XPUT http://localhost:8000/v1/streaming_load
8
- {"id":"loadq1 ","stats":{"rows":1,"bytes":25}}
8
+ {"id":"load-q1 ","stats":{"rows":1,"bytes":25}}
9
9
<<<<
10
10
>>>> select * from streaming_load_parquet;
11
11
ok 1 2021-01-01
@@ -26,7 +26,7 @@ q2.parquet 426 1
26
26
q3.parquet 426 1
27
27
>>>> streaming load: q3.parquet field_default :
28
28
+ curl -sS -H x-databend-query-id:load-q3 -H 'sql:insert into streaming_load_parquet(c2,c3) from @_databend_load file_format = (type='\''parquet'\'', missing_field_as=field_default, null_if=())' -F upload=@/tmp/streaming_load_parquet/q3.parquet -u root: -XPUT http://localhost:8000/v1/streaming_load
29
- {"id":"loadq3 ","stats":{"rows":1,"bytes":21}}
29
+ {"id":"load-q3 ","stats":{"rows":1,"bytes":21}}
30
30
<<<<
31
31
>>>> select * from streaming_load_parquet;
32
32
ok NULL 2021-01-01
@@ -37,7 +37,7 @@ ok NULL 2021-01-01
37
37
q4.parquet 643 1
38
38
>>>> streaming load: q4.parquet error :
39
39
+ curl -sS -H x-databend-query-id:load-q4 -H 'sql:insert into streaming_load_parquet(c1,c3) from @_databend_load file_format = (type='\''parquet'\'', missing_field_as=error, null_if=())' -F upload=@/tmp/streaming_load_parquet/q4.parquet -u root: -XPUT http://localhost:8000/v1/streaming_load
40
- {"id":"loadq4 ","stats":{"rows":1,"bytes":26}}
40
+ {"id":"load-q4 ","stats":{"rows":1,"bytes":26}}
41
41
<<<<
42
42
>>>> select * from streaming_load_parquet;
43
43
my_null NULL 2021-01-01
@@ -48,7 +48,7 @@ my_null NULL 2021-01-01
48
48
q5.parquet 643 1
49
49
>>>> streaming load: q5.parquet error 'my_null':
50
50
+ curl -sS -H x-databend-query-id:load-q5 -H 'sql:insert into streaming_load_parquet(c1,c3) from @_databend_load file_format = (type='\''parquet'\'', missing_field_as=error, null_if=('\''my_null'\''))' -F upload=@/tmp/streaming_load_parquet/q5.parquet -u root: -XPUT http://localhost:8000/v1/streaming_load
51
- {"id":"loadq5 ","stats":{"rows":1,"bytes":7}}
51
+ {"id":"load-q5 ","stats":{"rows":1,"bytes":7}}
52
52
<<<<
53
53
>>>> select * from streaming_load_parquet;
54
54
NULL NULL 2021-01-01
0 commit comments