-
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.
Fixes pathing of expressions by visiting root.
Adds tests for pathing and scalar functions
- Loading branch information
1 parent
234ff97
commit c6a6b28
Showing
4 changed files
with
171 additions
and
1 deletion.
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
24 changes: 24 additions & 0 deletions
24
partiql-planner/src/testFixtures/resources/catalogs/default/pql/main/dogs.ion
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,24 @@ | ||
{ | ||
type: "list", | ||
items: { | ||
type: "struct", | ||
constraints: [closed], | ||
fields: [ | ||
{ | ||
name: "breed", | ||
type: "string", | ||
}, | ||
{ | ||
name: "avg_height", | ||
type: "float32", | ||
}, | ||
{ | ||
name: "typical_allergies", | ||
type: { | ||
type: "list", | ||
items: "string" | ||
} | ||
} | ||
] | ||
} | ||
} |
2 changes: 2 additions & 0 deletions
2
partiql-planner/src/testFixtures/resources/catalogs/default/pql/main/os.ion
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,2 @@ | ||
// String representing the current operating system | ||
"string" |