hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11611) A bad performance regression issue with Parquet happens if Hive does not select any columns
Date Fri, 21 Aug 2015 17:53:45 GMT

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

Hive QA commented on HIVE-11611:
--------------------------------



{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/12751658/HIVE-11611.patch

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 9371 tests executed
*Failed tests:*
{noformat}
org.apache.hive.hcatalog.streaming.TestStreaming.testTransactionBatchCommit_Json
{noformat}

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

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: 1 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12751658 - PreCommit-HIVE-TRUNK-Build

> A bad performance regression issue with Parquet happens if Hive does not select any columns
> -------------------------------------------------------------------------------------------
>
>                 Key: HIVE-11611
>                 URL: https://issues.apache.org/jira/browse/HIVE-11611
>             Project: Hive
>          Issue Type: Sub-task
>    Affects Versions: 2.0.0
>            Reporter: Sergio Peña
>            Assignee: Ferdinand Xu
>         Attachments: HIVE-11611.patch
>
>
> A possible performance issue may happen with the below code when using a query like this
{{SELECT count(1) FROM parquetTable}}.
> {code}
> if (!ColumnProjectionUtils.isReadAllColumns(configuration) && !indexColumnsWanted.isEmpty())
{
>         MessageType requestedSchemaByUser =
>             getSchemaByIndex(tableSchema, columnNamesList, indexColumnsWanted);
>         return new ReadContext(requestedSchemaByUser, contextMetadata);
> } else {
>   return new ReadContext(tableSchema, contextMetadata);
> }
> {code}
> If there are not columns nor indexes selected, then the above code will read the full
schema from Parquet even if Hive does not do anything with such values.



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

Mime
View raw message