-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support create function, close #282
- Loading branch information
Showing
19 changed files
with
646 additions
and
65 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,26 @@ | ||
SELECT ARRAY<FLOAT64>[1, 2, 3] as floats, | ||
STRUCT("Nathan" as name, ARRAY<FLOAT64>[] as laps), | ||
STRUCT<INT32, INT64>(1, 2), | ||
array<INT64>[3, 4, 5, 6, 1000000, 20000000, 30000000, 409000000, 5000000, 60000000, 700000] as ints, | ||
array<string>['1', '2', '3'] as strings; | ||
create function foo(bar struct<string, array<bytes(5)>, int64>) | ||
returns struct< | ||
string, | ||
array< | ||
bytes( | ||
5 | ||
)>, int64> | ||
as bar | ||
)))))__SQLFMT_OUTPUT__((((( | ||
select | ||
array<float64>[1, 2, 3] as floats, | ||
struct("Nathan" as name, array<float64>[] as laps), | ||
struct<int32, int64>(1, 2), | ||
array<int64>[ | ||
3, 4, 5, 6, 1000000, 20000000, 30000000, 409000000, 5000000, 60000000, 700000 | ||
] as ints, | ||
array<string>['1', '2', '3'] as strings | ||
; | ||
create function foo(bar struct<string, array<bytes(5)>, int64>) | ||
returns struct<string, array<bytes(5)>, int64> | ||
as bar |
Oops, something went wrong.