Skip to content

Commit

Permalink
Product test fix prestodb#2 - fix registered functions
Browse files Browse the repository at this point in the history
  • Loading branch information
kokosing authored and losipiuk committed Nov 26, 2015
1 parent 68ed130 commit 1170101
Show file tree
Hide file tree
Showing 18 changed files with 265 additions and 211 deletions.
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
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
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
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
Loading

0 comments on commit 1170101

Please sign in to comment.