hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-4005) Column truncation
Date Fri, 26 Apr 2013 03:26:21 GMT

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

Hudson commented on HIVE-4005:
------------------------------

Integrated in Hive-trunk-h0.21 #2078 (See [https://builds.apache.org/job/Hive-trunk-h0.21/2078/])
    HIVE-4005 Column truncation
(Kevin Wilfong via namit) (Revision 1475662)

     Result = FAILURE
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1475662
Files : 
* /hive/trunk/build-common.xml
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/RCFile.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/rcfile/merge/RCFileKeyBufferWrapper.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/rcfile/merge/RCFileValueBufferWrapper.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/rcfile/truncate
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/rcfile/truncate/ColumnTruncateMapper.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/rcfile/truncate/ColumnTruncateTask.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/rcfile/truncate/ColumnTruncateWork.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/TruncateTableDesc.java
* /hive/trunk/ql/src/test/queries/clientnegative/truncate_bucketed_column.q
* /hive/trunk/ql/src/test/queries/clientnegative/truncate_column_indexed_table.q
* /hive/trunk/ql/src/test/queries/clientnegative/truncate_column_list_bucketing.q
* /hive/trunk/ql/src/test/queries/clientnegative/truncate_column_seqfile.q
* /hive/trunk/ql/src/test/queries/clientnegative/truncate_nonexistant_column.q
* /hive/trunk/ql/src/test/queries/clientnegative/truncate_partition_column.q
* /hive/trunk/ql/src/test/queries/clientnegative/truncate_partition_column2.q
* /hive/trunk/ql/src/test/queries/clientpositive/truncate_column.q
* /hive/trunk/ql/src/test/queries/clientpositive/truncate_column_buckets.q
* /hive/trunk/ql/src/test/queries/clientpositive/truncate_column_list_bucket.q
* /hive/trunk/ql/src/test/queries/clientpositive/truncate_column_merge.q
* /hive/trunk/ql/src/test/results/clientnegative/truncate_bucketed_column.q.out
* /hive/trunk/ql/src/test/results/clientnegative/truncate_column_archived.q.out
* /hive/trunk/ql/src/test/results/clientnegative/truncate_column_indexed_table.q.out
* /hive/trunk/ql/src/test/results/clientnegative/truncate_column_list_bucketing.q.out
* /hive/trunk/ql/src/test/results/clientnegative/truncate_column_seqfile.q.out
* /hive/trunk/ql/src/test/results/clientnegative/truncate_nonexistant_column.q.out
* /hive/trunk/ql/src/test/results/clientnegative/truncate_partition_column.q.out
* /hive/trunk/ql/src/test/results/clientnegative/truncate_partition_column2.q.out
* /hive/trunk/ql/src/test/results/clientpositive/truncate_column.q.out
* /hive/trunk/ql/src/test/results/clientpositive/truncate_column_buckets.q.out
* /hive/trunk/ql/src/test/results/clientpositive/truncate_column_list_bucket.q.out
* /hive/trunk/ql/src/test/results/clientpositive/truncate_column_merge.q.out
* /hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/columnar/BytesRefArrayWritable.java

                
> Column truncation
> -----------------
>
>                 Key: HIVE-4005
>                 URL: https://issues.apache.org/jira/browse/HIVE-4005
>             Project: Hive
>          Issue Type: New Feature
>          Components: CLI
>    Affects Versions: 0.11.0
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>             Fix For: 0.12.0
>
>         Attachments: HIVE-4005.1.patch.txt, HIVE-4005.2.patch.txt, HIVE-4005.3.patch.txt,
HIVE-4005.4.patch.txt, HIVE-4005.5.patch.txt, HIVE-4005.6.patch.txt, HIVE-4005.6.patch.txt,
HIVE-4005.7.patch.txt
>
>
> Column truncation allows users to remove data for columns that are no longer useful.
> This is done by removing the data for the column and setting the length of the column
data and related lengths to 0 in the RC file header.
> RC file was fixed to recognize columns with lengths of zero to be empty and are treated
as if the column doesn't exist in the data, a null is returned for every value of that column
in every row. This is the same thing that happens when more columns are selected than exist
in the file.
> A new command was added to the CLI
> TRUNCATE TABLE ... PARTITION ... COLUMNS ...
> This launches a map only job where each mapper rewrites a single file without the unnecessary
column data and the adjusted headers. It does not uncompress/deserialize the data so it is
much faster than rewriting the data with NULLs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message