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

Xiaobing Zhou updated HIVE-8717:
--------------------------------
    Description: 
repro:
{noformat}
mvn test -Phadoop-2  
-Dtest=TestMiniTezCliDriver#testCliDriver_vector_partitioned_date_time
mvn test -Phadoop-2  
-Dtest=TestCliDriver#testCliDriver_vector_partitioned_date_time
{noformat}

{noformat}
POSTHOOK: Output: 
default@flights_tiny_orc_partitioned_timestamp@fl_time=2010-10-20 07%3A00%3A00
{noformat}
is the entry in golden file, however, .q.out on Windows outputs
{noformat}
POSTHOOK: Output: 
default@flights_tiny_orc_partitioned_timestamp@fl_time=2010-10-20%2007%3A00%3A00
{noformat}. There's %20 added, which is ascii encoding of space char. These 
diff(s) fail the UT(s)

> PreExecutePrinter.printEntities behaves differently on Windows vs. Linux, 
> which fails two UTs
> ---------------------------------------------------------------------------------------------
>
>                 Key: HIVE-8717
>                 URL: https://issues.apache.org/jira/browse/HIVE-8717
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.14.0
>         Environment: Windows
>            Reporter: Xiaobing Zhou
>            Assignee: Xiaobing Zhou
>
> repro:
> {noformat}
> mvn test -Phadoop-2  
> -Dtest=TestMiniTezCliDriver#testCliDriver_vector_partitioned_date_time
> mvn test -Phadoop-2  
> -Dtest=TestCliDriver#testCliDriver_vector_partitioned_date_time
> {noformat}
> {noformat}
> POSTHOOK: Output: 
> default@flights_tiny_orc_partitioned_timestamp@fl_time=2010-10-20 07%3A00%3A00
> {noformat}
> is the entry in golden file, however, .q.out on Windows outputs
> {noformat}
> POSTHOOK: Output: 
> default@flights_tiny_orc_partitioned_timestamp@fl_time=2010-10-20%2007%3A00%3A00
> {noformat}. There's %20 added, which is ascii encoding of space char. These 
> diff(s) fail the UT(s)



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

Reply via email to