[
https://issues.apache.org/jira/browse/CALCITE-2459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16590816#comment-16590816
]
Vladimir Sitnikov commented on CALCITE-2459:
--------------------------------------------
The sad thing is standard seems to miss certain useful functions, and
MySQL/PostgreSQL have different ways of doing the same thing.
For instance, in PostgreSQL one uses {{decode(..., 'base64')}} or {{decode(...,
'hex')}}.
I've no idea if we should add both flavours to Calcite or use a canonical
function and translate it appropriately when sending query downstream.
> Add implementation of From_Base64 to SqlFunctions
> -------------------------------------------------
>
> Key: CALCITE-2459
> URL: https://issues.apache.org/jira/browse/CALCITE-2459
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Reporter: vinoyang
> Assignee: Julian Hyde
> Priority: Minor
>
> refer to mysql FROM_BASE64 function :
> [https://dev.mysql.com/doc/refman/5.6/en/string-functions.html#function_from-base64]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)