-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated Comments on top of the Test cases and added multi Character T…
…ests for SQL Strings
- Loading branch information
1 parent
f86b9e2
commit 2635ae1
Showing
12 changed files
with
42 additions
and
8 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
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
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
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
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,12 @@ | ||
# String for SQL test using equality and multi character Strings | ||
|
||
f = createFrame( | ||
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9], | ||
[ "Europe", "America", "Africa", "Asia", "Europe", "a", "Oceania", "Europe", "Asia", "Antarctica"], | ||
"a", "b"); | ||
|
||
registerView("f", f); | ||
|
||
res = sql("SELECT f.a, f.b FROM f WHERE f.b = 'Europe';"); | ||
|
||
print(res); |
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,4 @@ | ||
Frame(3x2, [f.a:int64_t, f.b:std::string]) | ||
0 Europe | ||
4 Europe | ||
7 Europe |
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,12 @@ | ||
# String for SQL test using greater equal and multi character Strings | ||
|
||
f = createFrame( | ||
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9], | ||
[ "Europe", "America", "Africa", "Asia", "Europe", "a", "Oceania", "Europe", "Asia", "Antarctica"], | ||
"a", "b"); | ||
|
||
registerView("f", f); | ||
|
||
res = sql("SELECT f.a, f.b FROM f WHERE f.b >= 'Europe';"); | ||
|
||
print(res); |
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 @@ | ||
Frame(5x2, [f.a:int64_t, f.b:std::string]) | ||
0 Europe | ||
4 Europe | ||
5 a | ||
6 Oceania | ||
7 Europe |