Skip to content

Commit

Permalink
[test](stream load) add cases to ensure the correctness of the docume…
Browse files Browse the repository at this point in the history
…nt (#43016) (#44385)

pick #43016
  • Loading branch information
sollhui authored Dec 6, 2024
1 parent 94746b7 commit 682cec9
Show file tree
Hide file tree
Showing 12 changed files with 715 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
-- This file is automatically generated. You should know what you did if you want to edit this
-- !sql1 --
1 Emily 25
2 Benjamin 35
3 Olivia 28
4 Alexander 60
5 Ava 17
6 William 69
7 Sophia 32
8 James 64
9 Emma 37
10 Liam 64

-- !sql2 --
1 Emily 25
2 Benjamin 35
3 Olivia 28
4 Alexander 60
5 Ava 17
6 William 69
7 Sophia 32
8 James 64
9 Emma 37
10 Liam 64

-- !sql3 --
1 Emily 25
2 Benjamin 35
3 Olivia 28
4 Alexander 60
5 Ava 17
6 William 69
7 Sophia 32
8 James 64
9 Emma 37
10 Liam 64

-- !sql4 --
1 Emily 25
2 Benjamin 35
3 Olivia 28
4 Alexander 60
5 Ava 17
6 William 69
7 Sophia 32
8 James 64
9 Emma 37
10 Liam 64

-- !sql5 --
2 Benjamin 35
4 Alexander 60
6 William 69
8 James 64
9 Emma 37
10 Liam 64

-- !sql6 --
2 Benjamin 35
3 Olivia 28
4 Alexander 60
5 Ava 17
6 William 69
7 Sophia 32
8 James 64
9 Emma 37
10 Liam 64

-- !sql7 --
3 Olivia 28
4 Alexander 60
5 Ava 17
6 William 69
7 Sophia 32
8 James 64
9 Emma 37
10 Liam 64

-- !sql7 --
2 Benjamin 35
3 Olivia 28
4 Alexander 60
5 Ava 17
6 William 69
7 Sophia 32
8 James 64
9 Emma 37
10 Liam 64

-- !sql8 --
2 Benjamin 35
3 Olivia 28
4 Alexander 60
5 Ava 17
6 William 69
7 Sophia 32
8 James 64
9 Emma 37
10 Liam 64

-- !sql9 --
张三 30 上海市,黄浦区,'大沽路

-- !sql10 --
1 avc \N

-- !sql11 --
1 Emily [1, 2, 3, 4]
2 Benjamin [22, 45, 90, 12]
3 Olivia [23, 16, 19, 16]
4 Alexander [123, 234, 456]
5 Ava [12, 15, 789]
6 William [57, 68, 97]
7 Sophia [46, 47, 49]
8 James [110, 127, 128]
9 Emma [19, 18, 123, 446]
10 Liam [89, 87, 96, 12]

-- !sql12 --
1 {"Emily":101, "age":25}
2 {"Benjamin":102, "age":35}
3 {"Olivia":103, "age":28}
4 {"Alexander":104, "age":60}
5 {"Ava":105, "age":17}
6 {"William":106, "age":69}
7 {"Sophia":107, "age":32}
8 {"James":108, "age":64}
9 {"Emma":109, "age":37}
10 {"Liam":110, "age":64}

-- !sql13 --
1 koga \N
2 nijg \N
3 lojn \N
4 lofn \N
5 jfin \N
6 kon \N
7 nhga \N
8 nfubg \N
9 huang \N
10 buag \N

-- !sql14 --
1001 koga \N
1002 nijg \N
1003 lojn \N
1004 lofn \N
1005 jfin \N
1006 kon \N
1007 nhga \N
1008 nfubg \N
1009 huang \N
1010 buag \N

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
1,Emily,25
2,Benjamin,35
3,Olivia,28
4,Alexander,60
5,Ava,17
6,William,69
7,Sophia,32
8,James,64
9,Emma,37
10,Liam,64
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{"userid":1,"username":"Emily","userage":25},
{"userid":2,"username":"Benjamin","userage":35},
{"userid":3,"username":"Olivia","userage":28},
{"userid":4,"username":"Alexander","userage":60},
{"userid":5,"username":"Ava","userage":17},
{"userid":6,"username":"William","userage":69},
{"userid":7,"username":"Sophia","userage":32},
{"userid":8,"username":"James","userage":64},
{"userid":9,"username":"Emma","userage":37},
{"userid":10,"username":"Liam","userage":64}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
1|Emily|[1,2,3,4]
2|Benjamin|[22,45,90,12]
3|Olivia|[23,16,19,16]
4|Alexander|[123,234,456]
5|Ava|[12,15,789]
6|William|[57,68,97]
7|Sophia|[46,47,49]
8|James|[110,127,128]
9|Emma|[19,18,123,446]
10|Liam|[89,87,96,12]
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
1|koga|17723
2|nijg|146285
3|lojn|347890
4|lofn|489871
5|jfin|545679
6|kon|676724
7|nhga|767689
8|nfubg|879878
9|huang|969798
10|buag|97997
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1,avc,2024
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
张三,30,'上海市,黄浦区,\'大沽路'
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
1001|koga
1002|nijg
1003|lojn
1004|lofn
1005|jfin
1006|kon
1007|nhga
1008|nfubg
1009|huang
1010|buag
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{"user_id":1,"namemap":{"Emily":101,"age":25}},
{"user_id":2,"namemap":{"Benjamin":102,"age":35}},
{"user_id":3,"namemap":{"Olivia":103,"age":28}},
{"user_id":4,"namemap":{"Alexander":104,"age":60}},
{"user_id":5,"namemap":{"Ava":105,"age":17}},
{"user_id":6,"namemap":{"William":106,"age":69}},
{"user_id":7,"namemap":{"Sophia":107,"age":32}},
{"user_id":8,"namemap":{"James":108,"age":64}},
{"user_id":9,"namemap":{"Emma":109,"age":37}},
{"user_id":10,"namemap":{"Liam":110,"age":64}}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
1,Emily,25
2,Benjamin,35
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1,Emily,26
Loading

0 comments on commit 682cec9

Please sign in to comment.