You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/11/06 07:08:00 UTC

[jira] [Work logged] (HIVE-24305) avro decimal schema is not properly populating scale/precision if value is enclosed in quote

     [ https://issues.apache.org/jira/browse/HIVE-24305?focusedWorklogId=508375&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-508375 ]

ASF GitHub Bot logged work on HIVE-24305:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 06/Nov/20 07:07
            Start Date: 06/Nov/20 07:07
    Worklog Time Spent: 10m 
      Work Description: lcspinter merged pull request #1601:
URL: https://github.com/apache/hive/pull/1601


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 508375)
    Time Spent: 0.5h  (was: 20m)

> avro decimal schema is not properly populating scale/precision if value is enclosed in quote
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-24305
>                 URL: https://issues.apache.org/jira/browse/HIVE-24305
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Naresh P R
>            Assignee: Naresh P R
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> {code:java}
> CREATE TABLE test_quoted_scale_precision STORED AS AVRO TBLPROPERTIES ('avro.schema.literal'='{"type":"record","name":"DecimalTest","namespace":"com.example.test","fields":[{"name":"Decimal24_6","type":["null",{"type":"bytes","logicalType":"decimal","precision":24,"scale":"6"}]}]}');
>  
> desc test_quoted_scale_precision;
> // current output
> decimal24_6 decimal(24,0)
> // expected output
> decimal24_6 decimal(24,6){code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)