-
Notifications
You must be signed in to change notification settings - Fork 62
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
Showing
3 changed files
with
102 additions
and
7 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
27 changes: 27 additions & 0 deletions
27
partiql-planner/src/testFixtures/resources/inputs/schema_inferencer/is_type.sql
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,27 @@ | ||
--#[is-type-00] | ||
false IS BOOL; | ||
|
||
--#[is-type-01] | ||
item.i_class_id IS INT; | ||
|
||
--#[is-type-02] | ||
item.i_brand IS STRING; | ||
|
||
--#[is-type-03] | ||
1 IS NULL; | ||
|
||
--#[is-type-04] | ||
MISSING IS NULL; | ||
|
||
--#[is-type-05] | ||
NULL IS NULL; | ||
|
||
--#[is-type-06] | ||
MISSING IS MISSING; | ||
|
||
--#[is-type-07] | ||
NULL IS MISSING; | ||
|
||
--#[is-type-08] | ||
-- ERROR! always MISSING | ||
MISSING IS BOOL; |