[
https://issues.apache.org/jira/browse/DRILL-2646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kristine Hahn closed DRILL-2646.
--------------------------------
> CONVERT_TO/CONVERT_FROM syntax (arguments) not specified
> --------------------------------------------------------
>
> Key: DRILL-2646
> URL: https://issues.apache.org/jira/browse/DRILL-2646
> Project: Apache Drill
> Issue Type: Bug
> Components: Documentation
> Reporter: Daniel Barclay (Drill)
> Assignee: Kristine Hahn
>
> On the SQL Functions page at http://drill.apache.org/docs/sql-functions/, the
> section on the CONVERT_TO and CONVERT_FROM functions never specifies the
> syntax (doesn't specify how many parameters each takes, which parameter is
> which) or semantics (including what the parameters are).
> Additionally, the name "Type" for the first column is confusing, since the
> values in that column do not seem to be Drill SQL types. Would something
> roughly like "type specifier" or "conversion specifier" be more accurate?
> Also, the connection between the values in the Type column and the functions
> isn't clear. Besides their being no specification of the parameters (to say
> where a value from the Type would go), the example at the end of the section
> doesn't use any of the values in the Type column (or, in fact, any value in
> the whole table). (If the string literal "'JSON'" in that CONVERT_FROM is an
> example of the kind of thing listed in the Type column, then why isn't "JSON"
> listed in that column (and what else is missing)?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)