hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13945) Decimal value is displayed as rounded when selecting where clause with that decimal value.
Date Mon, 27 Jun 2016 19:01:51 GMT

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

Sergey Shelukhin commented on HIVE-13945:
-----------------------------------------

Hello I am HiveQA! 

https://builds.apache.org/job/PreCommit-HIVE-MASTER-Build/250/#showFailuresLink

    org.apache.hive.beeline.TestBeeLineWithArgs.testDSVOutputWithDoubleQuotes
    org.apache.hive.beeline.TestBeeLineWithArgs.testCSV2OutputWithDoubleQuotes
    org.apache.hive.beeline.TestBeeLineWithArgs.testTSVOutputWithDoubleQuotes
    org.apache.hive.beeline.TestBeeLineWithArgs.testTSV2OutputWithDoubleQuotes
    org.apache.hive.beeline.TestBeeLineWithArgs.testDSVOutput
    org.apache.hive.beeline.TestBeeLineWithArgs.testCSVOutputWithDoubleQuotes
    org.apache.hive.beeline.TestBeeLineWithArgs.testTSVOutput
    org.apache.hive.beeline.TestBeeLineWithArgs.testTSV2Output
    org.apache.hive.beeline.TestBeeLineWithArgs.testCSVOutput
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf_if
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf_round
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_decimal_6
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_vector_decimal_expressions
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf_java_method
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_vectorization_8
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_lineage3
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf_reflect
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_infer_const_type
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_input49
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf_union
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_vectorization_12
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_annotate_stats_select
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_list_bucket_dml_13
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_vectorization_short_regress
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf_printf
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf_least
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_vectorization_13
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_vectorization_16
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_vectorization_14
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_vectorization_1
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_vectorization_div0
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_vectorization_0
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_vector_decimal_6
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_orc_predicate_pushdown
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_view_cast
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_vector_decimal_math_funcs
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_vectorization_9
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_cbo_rp_udaf_percentile_approx_23
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udaf_percentile_approx_23
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_parquet_predicate_pushdown
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf_round_3
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf_coalesce
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_vectorization_17
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_windowing_expressions
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_vector_between_in
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf_when
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_cast1
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf_sort_array
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_literal_double
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf_case
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_vector_struct_in
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_vectorization_15
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_temp_table_windowing_expressions
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_multi_insert_gby2
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf_abs
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf6
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf_bround
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_vectorization_3
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf_format_number
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_metadata_only_queries
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_vectorized_math_funcs
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf4
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_input_lazyserde
    org.apache.hadoop.hive.cli.TestContribCliDriver.testCliDriver_udf_example_format
    org.apache.hadoop.hive.llap.tezplugins.TestLlapTaskSchedulerService.testDelayedLocalityNodeCommErrorImmediateAllocation
    org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver_orc_ppd_basic
    org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vectorization_short_regress
    org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vectorized_math_funcs
    org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vectorization_17
    org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vectorization_14
    org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vectorization_3
    org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vectorization_1
    org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vectorization_div0
    org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vector_struct_in
    org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vector_between_in
    org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vector_decimal_math_funcs
    org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vector_decimal_6
    org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_orc_ppd_basic
    org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vector_decimal_expressions
    org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_explainuser_1
    org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vectorization_0
    org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vectorization_9
    org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vectorization_15
    org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vectorization_12
    org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vectorization_8
    org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vectorization_13
    org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vectorization_16
    org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_schemeAuthority
    org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_udf_trunc_error2
    org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_compare_double_bigint
    org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_udf_format_number_wrong4
    org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_udf_format_number_wrong5
    org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_wrong_column_type
    org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_udf_add_months_error_2
    org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_no_matching_udf
    org.apache.hadoop.hive.cli.TestPerfCliDriver.testPerfCliDriver_query13
    org.apache.hadoop.hive.cli.TestPerfCliDriver.testPerfCliDriver_query32
    org.apache.hadoop.hive.cli.TestPerfCliDriver.testPerfCliDriver_query48
    org.apache.hadoop.hive.cli.TestPerfCliDriver.testPerfCliDriver_query58
    org.apache.hadoop.hive.cli.TestPerfCliDriver.testPerfCliDriver_query65
    org.apache.hadoop.hive.cli.TestPerfCliDriver.testPerfCliDriver_query75
    org.apache.hadoop.hive.cli.TestPerfCliDriver.testPerfCliDriver_query85
    org.apache.hadoop.hive.cli.TestPerfCliDriver.testPerfCliDriver_query89
    org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_vectorization_14
    org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_vectorization_1
    org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_vectorization_div0
    org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_vector_between_in
    org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_vectorization_short_regress
    org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_vectorization_15
    org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_vectorization_16
    org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_vectorization_13
    org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_vectorization_0
    org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_vectorization_3
    org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_vectorization_12
    org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_metadata_only_queries
    org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_vectorized_math_funcs
    org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_vectorization_17
    org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_multi_insert_gby2
    org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_vectorization_9
    org.apache.hive.spark.client.TestSparkClient.testJobSubmission
    org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_stats_list_bucket
    org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver_vector_complex_all
    org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver_vector_complex_join
    org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver_index_bitmap3

> Decimal value is displayed as rounded when selecting where clause with that decimal value.
> ------------------------------------------------------------------------------------------
>
>                 Key: HIVE-13945
>                 URL: https://issues.apache.org/jira/browse/HIVE-13945
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>            Reporter: Takahiko Saito
>            Assignee: Sergey Shelukhin
>            Priority: Critical
>         Attachments: HIVE-13945.01.patch, HIVE-13945.patch
>
>
> Create a table withe a column of decimal type(38,18) and insert '4327269606205.029297'.
Then select with that value displays its rounded value, which is 4327269606205.029300000000000000
> {noformat}
> 0: jdbc:hive2://os-r7-mvjkcu-hiveserver2-11-4> drop table if exists test;
> No rows affected (0.229 seconds)
> 0: jdbc:hive2://os-r7-mvjkcu-hiveserver2-11-4>
> 0: jdbc:hive2://os-r7-mvjkcu-hiveserver2-11-4> create table test (dc decimal(38,18));
> No rows affected (0.125 seconds)
> 0: jdbc:hive2://os-r7-mvjkcu-hiveserver2-11-4>
> 0: jdbc:hive2://os-r7-mvjkcu-hiveserver2-11-4> insert into table test values (4327269606205.029297);
> No rows affected (2.372 seconds)
> 0: jdbc:hive2://os-r7-mvjkcu-hiveserver2-11-4>
> 0: jdbc:hive2://os-r7-mvjkcu-hiveserver2-11-4> select * from test;
> +-----------------------------------+--+
> |              test.dc              |
> +-----------------------------------+--+
> | 4327269606205.029297000000000000  |
> +-----------------------------------+--+
> 1 row selected (0.123 seconds)
> 0: jdbc:hive2://os-r7-mvjkcu-hiveserver2-11-4>
> 0: jdbc:hive2://os-r7-mvjkcu-hiveserver2-11-4> select * from test where dc = 4327269606205.029297000000000000;
> +-----------------------------------+--+
> |              test.dc              |
> +-----------------------------------+--+
> | 4327269606205.029300000000000000  |
> +-----------------------------------+--+
> 1 row selected (0.109 seconds)
> {noformat}



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

Mime
View raw message