forked from facebookincubator/velox
-
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.
Add support for VARBINARY input to from_base64 Presto function (faceb…
…ookincubator#10325) Summary: Pull Request resolved: facebookincubator#10325 Presto supports both VARCHAR and VARBINARY input to from_base64 function. ``` presto:di> show functions like 'from_base64'; Function | Return Type | Argument Types | Function Type | Deterministic | Description | Variable Arity | Built In | Temporary > -------------+-------------+----------------+---------------+---------------+-----------------------------------+----------------+----------+-----------> from_base64 | varbinary | varbinary | scalar | true | decode base64 encoded binary data | false | true | false > from_base64 | varbinary | varchar(x) | scalar | true | decode base64 encoded binary data | false | true | false > (2 rows) ``` Reviewed By: amitkdutta Differential Revision: D59070858 fbshipit-source-id: d160b7881fcee0857c4aa53042641563844a5c42
- Loading branch information
1 parent
7add4bf
commit 31800f5
Showing
3 changed files
with
36 additions
and
17 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