Skip to content

Commit

Permalink
Updates prelude
Browse files Browse the repository at this point in the history
  • Loading branch information
RCHowell committed Jun 27, 2024
1 parent 3cc1288 commit 0096490
Show file tree
Hide file tree
Showing 77 changed files with 106 additions and 593 deletions.
Empty file.
11 changes: 11 additions & 0 deletions partiql-planner/src/main/resources/builtins/sql99/agg_any.ion
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 partiql-planner/src/main/resources/builtins/sql99/agg_avg.ion
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 partiql-planner/src/main/resources/builtins/sql99/agg_count.ion
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 partiql-planner/src/main/resources/builtins/sql99/agg_every.ion
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 partiql-planner/src/main/resources/builtins/sql99/agg_max.ion
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 partiql-planner/src/main/resources/builtins/sql99/agg_min.ion
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 partiql-planner/src/main/resources/builtins/sql99/agg_sum.ion
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 partiql-spi/src/test/resources/builtins/other/op_bitwise_and.ion

This file was deleted.

18 changes: 0 additions & 18 deletions partiql-spi/src/test/resources/builtins/sql99/fn_abs.ion

This file was deleted.

24 changes: 0 additions & 24 deletions partiql-spi/src/test/resources/builtins/sql99/fn_between.ion

This file was deleted.

13 changes: 0 additions & 13 deletions partiql-spi/src/test/resources/builtins/sql99/fn_bit_length.ion

This file was deleted.

14 changes: 0 additions & 14 deletions partiql-spi/src/test/resources/builtins/sql99/fn_char_length.ion

This file was deleted.

13 changes: 0 additions & 13 deletions partiql-spi/src/test/resources/builtins/sql99/fn_extract.ion

This file was deleted.

19 changes: 0 additions & 19 deletions partiql-spi/src/test/resources/builtins/sql99/fn_like.ion

This file was deleted.

13 changes: 0 additions & 13 deletions partiql-spi/src/test/resources/builtins/sql99/fn_lower.ion

This file was deleted.

19 changes: 0 additions & 19 deletions partiql-spi/src/test/resources/builtins/sql99/fn_mod.ion

This file was deleted.

18 changes: 0 additions & 18 deletions partiql-spi/src/test/resources/builtins/sql99/fn_octet_length.ion

This file was deleted.

13 changes: 0 additions & 13 deletions partiql-spi/src/test/resources/builtins/sql99/fn_position.ion

This file was deleted.

18 changes: 0 additions & 18 deletions partiql-spi/src/test/resources/builtins/sql99/fn_substring.ion

This file was deleted.

48 changes: 0 additions & 48 deletions partiql-spi/src/test/resources/builtins/sql99/fn_trim.ion

This file was deleted.

13 changes: 0 additions & 13 deletions partiql-spi/src/test/resources/builtins/sql99/fn_upper.ion

This file was deleted.

12 changes: 0 additions & 12 deletions partiql-spi/src/test/resources/builtins/sql99/op_and.ion

This file was deleted.

Loading

0 comments on commit 0096490

Please sign in to comment.