forked from prestodb/presto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Product test fix prestodb#2 - fix registered functions
- Loading branch information
Showing
18 changed files
with
265 additions
and
211 deletions.
There are no files selected for viewing
16 changes: 8 additions & 8 deletions
16
...c/main/resources/sql-tests/testcases/array_functions/checkArrayFunctionsRegistered.result
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
-- delimiter: |; ignoreOrder: true; ignoreExcessRows: true; trimValues:true | ||
concat | array<E>, array<E> | array<E> | scalar | true | ||
concat | array<E>, E | array<E> | scalar | true | ||
concat | E, array<E> | array<E> | scalar | true | ||
cardinality | array<E> | bigint | scalar | true | ||
contains | array<T>, T | boolean | scalar | true | ||
array_sort | array<E> | array<E> | scalar | true | ||
array_intersect | array<E>, array<E> | array<E> | scalar | true | ||
array_distinct | array<E> | array<E> | scalar | true | ||
concat | array<E> | E, array<E> | scalar | true | Concatenates an element to an array | ||
concat | array<E> | array<E>, E | scalar | true | Concatenates an array to an element | ||
concat | array<E> | array<E>, array<E> | scalar | true | Concatenates given arrays | ||
cardinality | bigint | map<K,V> | scalar | true | | ||
contains | boolean | array<T>, T | scalar | true | Determines whether given value exists in the array | ||
array_sort | array<E> | array<E> | scalar | true | Sorts the given array in ascending order according to the natural ordering of its elements. | ||
array_intersect | array<E> | array<E>, array<E> | scalar | true | Intersects elements of the two given arrays | ||
array_distinct | array<E> | array<E> | scalar | true | Remove duplicate values from the given array |
4 changes: 2 additions & 2 deletions
4
.../src/main/resources/sql-tests/testcases/array_functions/checkArrayFunctionsRegistered.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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
-- database: presto; groups: qe, array_functions, quarantine | ||
select function_name, argument_types, return_type, function_type, deterministic from system.information_schema.__internal_functions__ | ||
-- database: presto; groups: qe, array_functions | ||
show functions |
15 changes: 8 additions & 7 deletions
15
...main/resources/sql-tests/testcases/binary_functions/checkBinaryFunctionsRegistered.result
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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
-- delimiter: |; ignoreOrder: true; ignoreExcessRows: true; trimValues:true | ||
length | varbinary | bigint | scalar | true | ||
to_base64 | varbinary | varchar | scalar | true | ||
to_hex | varbinary | varchar | scalar | true | ||
from_base64 | varbinary | varbinary | scalar | true | ||
to_base64url | varbinary | varchar | scalar | true | ||
from_base64url | varbinary | varbinary | scalar | true | ||
from_hex | varbinary | varbinary | scalar | true | ||
length | bigint | varbinary | scalar | true | length of the given binary | ||
to_base64 | varchar | varbinary | scalar | true | encode binary data as base64 | ||
to_base64url | varchar | varbinary | scalar | true | encode binary data as base64 using the URL safe alphabet | ||
to_hex | varchar | varbinary | scalar | true | encode binary data as hex | ||
from_base64 | varbinary | varbinary | scalar | true | decode base64 encoded binary data | ||
from_base64 | varbinary | varchar | scalar | true | decode base64 encoded binary data | ||
from_base64url | varbinary | varbinary | scalar | true | decode URL safe base64 encoded binary data | ||
from_base64url | varbinary | varchar | scalar | true | decode URL safe base64 encoded binary data |
2 changes: 1 addition & 1 deletion
2
...rc/main/resources/sql-tests/testcases/binary_functions/checkBinaryFunctionsRegistered.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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
-- database: presto; groups: qe, binary_functions | ||
select function_name, argument_types, return_type, function_type, deterministic from system.information_schema.__internal_functions__ | ||
show functions |
Oops, something went wrong.