hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-15148) disallow loading data into bucketed tables (by default)
Date Fri, 18 Nov 2016 10:20:58 GMT


Hive QA commented on HIVE-15148:

Here are the results of testing the latest attachment:

{color:green}SUCCESS:{color} +1 due to 100 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 5 failed/errored test(s), 10706 tests executed
*Failed tests:*
org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[transform_ppr2] (batchId=133)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[join_acid_non_acid] (batchId=150)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[union_fast_stats] (batchId=145)
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[explainanalyze_3] (batchId=90)

Test results:
Console output:
Test logs:

Executing org.apache.hive.ptest.execution.TestCheckPhase
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: 5 tests failed

This message is automatically generated.

ATTACHMENT ID: 12839494 - PreCommit-HIVE-Build

> disallow loading data into bucketed tables (by default)
> -------------------------------------------------------
>                 Key: HIVE-15148
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HIVE-15148.01.patch, HIVE-15148.02.patch, HIVE-15148.03.patch, HIVE-15148.04.patch,
> A few q file tests still use the following, allowed, pattern:
> {noformat}
> CREATE TABLE bucket_small (key string, value string) partitioned by (ds string) CLUSTERED
> load data local inpath '../../data/files/smallsrcsortbucket1outof4.txt' INTO TABLE bucket_small
> load data local inpath '../../data/files/smallsrcsortbucket2outof4.txt' INTO TABLE bucket_small
> {noformat}
> This relies on the user to load the correct number of files with correctly hashed data
and the correct order of file names; if there's some discrepancy in any of the above, the
queries will fail or may produce incorrect results if some bucket-based optimizations kick
> Additionally, even if the user does everything correctly, as far as I know some code
derives bucket number from file name, which won't work in this case (as opposed to getting
buckets based on the order of files, which will work here but won't work as per  HIVE-14970...
> Hive enforces bucketing in other cases (the check cannot even be disabled these days),
so I suggest that we either prohibit the above outright, or at least add a safety config setting
that would disallow it by default.

This message was sent by Atlassian JIRA

View raw message