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

Hive QA commented on HIVE-7200:
-------------------------------



{color:red}Overall{color}: -1 at least one tests failed

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12649445/HIVE-7200.1.patch

{color:red}ERROR:{color} -1 due to 8 failed/errored test(s), 5608 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_dynpart_sort_optimization
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_load_dyn_part1
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_scriptfile1
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_tez_dml
org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_root_dir_external_table
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_authorization_ctas
org.apache.hive.hcatalog.pig.TestHCatLoader.testReadDataPrimitiveTypes
org.apache.hive.hcatalog.templeton.tool.TestTempletonUtils.testPropertiesParsing
{noformat}

Test results: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/421/testReport
Console output: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/421/console
Test logs: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-Build-421/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 8 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12649445

> Beeline output displays column heading even if --showHeader=false is set
> ------------------------------------------------------------------------
>
>                 Key: HIVE-7200
>                 URL: https://issues.apache.org/jira/browse/HIVE-7200
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 0.13.0
>            Reporter: Naveen Gangam
>            Assignee: Naveen Gangam
>            Priority: Minor
>             Fix For: 0.14.0
>
>         Attachments: HIVE-7200.1.patch
>
>
> A few minor/cosmetic issues with the beeline CLI.
> 1) Tool prints the column headers despite setting the --showHeader to false. 
> This property only seems to affect the subsequent header information that 
> gets printed based on the value of property "headerInterval" (default value 
> is 100).
> 2) When "showHeader" is true & "headerInterval > 0", the header after the 
> first interval gets printed after <headerInterval - 1> rows. The code seems 
> to count the initial header as a row, if you will.
> 3) The table footer(the line that closes the table) does not get printed if 
> the "showHeader" is false. I think the table should get closed irrespective 
> of whether it prints the header or not.
> 0: jdbc:hive2://localhost:10000> select * from stringvals;
> +------+
> | val  |
> +------+
> | t    |
> | f    |
> | T    |
> | F    |
> | 0    |
> | 1    |
> +------+
> 6 rows selected (3.998 seconds)
> 0: jdbc:hive2://localhost:10000> !set headerInterval 2
> 0: jdbc:hive2://localhost:10000> select * from stringvals;
> +------+
> | val  |
> +------+
> | t    |
> +------+
> | val  |
> +------+
> | f    |
> | T    |
> +------+
> | val  |
> +------+
> | F    |
> | 0    |
> +------+
> | val  |
> +------+
> | 1    |
> +------+
> 6 rows selected (0.691 seconds)
> 0: jdbc:hive2://localhost:10000> !set showHeader false
> 0: jdbc:hive2://localhost:10000> select * from stringvals;
> +------+
> | val  |
> +------+
> | t    |
> | f    |
> | T    |
> | F    |
> | 0    |
> | 1    |
> 6 rows selected (1.728 seconds)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to