[ 
https://issues.apache.org/jira/browse/DRILL-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14652128#comment-14652128
 ] 

Daniel Barclay (Drill) commented on DRILL-3355:
-----------------------------------------------

If Drill's core doesn't represent internally and supply these values via RPC, 
then, if the values are constant, then the ResultSetMetadata implementation 
could return hard-coded values (references to whatever core-Drill constants 
reflect the values).



> Implement ResultSetMetadata.get{Precision,Scale,ColumnDisplaySize} (need 
> RPC-level data)
> ----------------------------------------------------------------------------------------
>
>                 Key: DRILL-3355
>                 URL: https://issues.apache.org/jira/browse/DRILL-3355
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - JDBC
>            Reporter: Daniel Barclay (Drill)
>            Assignee: Daniel Barclay (Drill)
>             Fix For: 1.2.0
>
>
> JDBC ResultSetMetadata methods getPrecision(...), getScale(...), and 
> getColumnDisplaySize() are not implemented, currently because required data 
> is not available in the RPC-level data.
> The unavailable data includes:
> - string type lengths (N in VARCHAR(N), BINARY(N))
> - interval qualifier information (which units, leading digit precision, 
> fractional seconds precision)
> - datetime type fractional seconds precision
> (Whether an interval is a YEAR/MONTH interval or is a DAY/HOUR/MINUTE/SECOND 
> interval is available.)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to