[ 
https://issues.apache.org/jira/browse/HIVE-5847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Dere updated HIVE-5847:
-----------------------------

    Attachment: HIVE-5847.1.patch

patch v1:

- getColumns(): column_size, decimal_digits, num_prec_radix should use the 
proper type info for char/varchar/decimal
- getColumns(): column_size set to 29 for timestamp, to match JDBC 
ResultSetMetadata
- getColumns() and ResultSetMetadata should return same scale for timestamp (9).
- Changed radix to 10 for all numeric types; was previously set to 2 for 
float/double

> DatabaseMetadata.getColumns() doesn't show correct column size for 
> char/varchar/decimal
> ---------------------------------------------------------------------------------------
>
>                 Key: HIVE-5847
>                 URL: https://issues.apache.org/jira/browse/HIVE-5847
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>            Reporter: Jason Dere
>            Assignee: Jason Dere
>         Attachments: HIVE-5847.1.patch
>
>
> column_size, decimal_digits, num_prec_radix should be set appropriately based 
> on the type qualifiers.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to