-
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
77 changed files
with
106 additions
and
593 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
partiql-planner/src/main/resources/builtins/sql99/agg_any.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,11 @@ | ||
{ | ||
name: any, | ||
type: agg, | ||
description:''' | ||
Placeholder for `any` description | ||
''', | ||
properties: [], | ||
impls: [ | ||
(agg value::bool -> bool), | ||
] | ||
} |
18 changes: 18 additions & 0 deletions
18
partiql-planner/src/main/resources/builtins/sql99/agg_avg.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,18 @@ | ||
{ | ||
name: avg, | ||
type: agg, | ||
description:''' | ||
Placeholder for `avg` description | ||
''', | ||
properties: [], | ||
impls: [ | ||
(agg value::tinyint -> tinyint), | ||
(agg value::smallint -> smallint), | ||
(agg value::int -> int), | ||
(agg value::bigint -> bigint), | ||
(agg value::numeric -> numeric), | ||
(agg value::decimal -> decimal), | ||
(agg value::real -> real), | ||
(agg value::double -> double), | ||
] | ||
} |
12 changes: 12 additions & 0 deletions
12
partiql-planner/src/main/resources/builtins/sql99/agg_count.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,12 @@ | ||
{ | ||
name: count, | ||
type: agg, | ||
description:''' | ||
Placeholder for `count` description | ||
''', | ||
properties: [], | ||
impls: [ | ||
(agg -> int), // COUNT(*) | ||
(agg value::dynamic -> int), | ||
] | ||
} |
11 changes: 11 additions & 0 deletions
11
partiql-planner/src/main/resources/builtins/sql99/agg_every.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,11 @@ | ||
{ | ||
name: every, | ||
type: agg, | ||
description:''' | ||
Placeholder for `every` description | ||
''', | ||
properties: [], | ||
impls: [ | ||
(agg value::bool -> bool), | ||
] | ||
} |
18 changes: 18 additions & 0 deletions
18
partiql-planner/src/main/resources/builtins/sql99/agg_max.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,18 @@ | ||
{ | ||
name: max, | ||
type: agg, | ||
description:''' | ||
Placeholder for `max` description | ||
''', | ||
properties: [], | ||
impls: [ | ||
(agg value::tinyint -> tinyint), | ||
(agg value::smallint -> smallint), | ||
(agg value::int -> int), | ||
(agg value::bigint -> bigint), | ||
(agg value::numeric -> numeric), | ||
(agg value::decimal -> decimal), | ||
(agg value::real -> real), | ||
(agg value::double -> double), | ||
] | ||
} |
18 changes: 18 additions & 0 deletions
18
partiql-planner/src/main/resources/builtins/sql99/agg_min.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,18 @@ | ||
{ | ||
name: min, | ||
type: agg, | ||
description:''' | ||
Placeholder for `min` description | ||
''', | ||
properties: [], | ||
impls: [ | ||
(agg value::tinyint -> tinyint), | ||
(agg value::smallint -> smallint), | ||
(agg value::int -> int), | ||
(agg value::bigint -> bigint), | ||
(agg value::numeric -> numeric), | ||
(agg value::decimal -> decimal), | ||
(agg value::real -> real), | ||
(agg value::double -> double), | ||
] | ||
} |
18 changes: 18 additions & 0 deletions
18
partiql-planner/src/main/resources/builtins/sql99/agg_sum.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,18 @@ | ||
{ | ||
name: sum, | ||
type: agg, | ||
description:''' | ||
Placeholder for `sum` description | ||
''', | ||
properties: [], | ||
impls: [ | ||
(agg value::tinyint -> numeric), | ||
(agg value::smallint -> numeric), | ||
(agg value::int -> numeric), | ||
(agg value::bigint -> numeric), | ||
(agg value::numeric -> numeric), | ||
(agg value::decimal -> decimal), | ||
(agg value::real -> double), | ||
(agg value::double -> double), | ||
] | ||
} |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
15 changes: 0 additions & 15 deletions
15
partiql-spi/src/test/resources/builtins/other/op_bitwise_and.ion
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
partiql-spi/src/test/resources/builtins/sql99/fn_between.ion
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
partiql-spi/src/test/resources/builtins/sql99/fn_bit_length.ion
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
partiql-spi/src/test/resources/builtins/sql99/fn_char_length.ion
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
partiql-spi/src/test/resources/builtins/sql99/fn_extract.ion
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
partiql-spi/src/test/resources/builtins/sql99/fn_lower.ion
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
partiql-spi/src/test/resources/builtins/sql99/fn_octet_length.ion
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
partiql-spi/src/test/resources/builtins/sql99/fn_position.ion
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
partiql-spi/src/test/resources/builtins/sql99/fn_substring.ion
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
partiql-spi/src/test/resources/builtins/sql99/fn_upper.ion
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.