-
Notifications
You must be signed in to change notification settings - Fork 591
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ac7b6b7
commit 0bafe88
Showing
4 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
carat,cut,color,depth | ||
0.25,Ideal,E,61.4 | ||
0.22,Premium,I,62.0 | ||
0.28,Good,J,63.1 | ||
0.23,Very Good,H,57.5 | ||
0.30,Fair,E,64.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
carat,cut,color,depth | ||
1.25,Ideal,E,61.4 | ||
1.22,Premium,I,62.0 | ||
1.28,Good,J,63.1 | ||
1.23,Very Good,H,57.5 | ||
1.30,Fair,E,64.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
statement ok | ||
SET RW_IMPLICIT_FLUSH TO true; | ||
|
||
statement ok | ||
CREATE TABLE diamonds ( | ||
carat FLOAT, | ||
cut TEXT, | ||
color TEXT, | ||
depth FLOAT, | ||
) WITH ( | ||
connector = 'posix_fs', | ||
match_pattern = 'data*.csv', | ||
posix_fs.root = 'e2e_test/source/opendal/data', | ||
) FORMAT PLAIN ENCODE CSV ( without_header = 'false', delimiter = ','); | ||
|
||
sleep 10s | ||
|
||
query TTTT rowsort | ||
select * from diamonds; | ||
---- | ||
0.22 Premium I 62 | ||
0.23 Very Good H 57.5 | ||
0.25 Ideal E 61.4 | ||
0.28 Good J 63.1 | ||
0.3 Fair E 64.7 | ||
1.22 Premium I 62 | ||
1.23 Very Good H 57.5 | ||
1.25 Ideal E 61.4 | ||
1.28 Good J 63.1 | ||
1.3 Fair E 64.7 | ||
|
||
statement ok | ||
DROP TABLE diamonds; |