hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth Jayachandran (JIRA)" <>
Subject [jira] [Commented] (HIVE-11102) ReaderImpl: getColumnIndicesFromNames does not work for ACID tables
Date Wed, 01 Jul 2015 18:47:04 GMT


Prasanth Jayachandran commented on HIVE-11102:

[~sershe] and [~gopalv].. getRawDataSizeOfColumns was never intended to be used inside hive
at the time of writing. Its added as a pure convenience method for tools using ORC outside
of hive like pig et. al. The reason being all other tools will write the actual column names
but hive writes internal names which is weird. Hive uses getRawDataSizeFromColIndices method
for getting the raw data size of projected columns (used by ANALYZE and StatsTask). I am going
to put up another patch for uncompressed size in ORC split which will not use the getRawDataSizeOfColumns
interface. The reason currently we are seeing this logs is because of this line in OrcInputFormat

List<String> projCols = ColumnProjectionUtils.getReadColumnNames(context.conf);

This is actually a dead code which does not do any thing. So its safe to ignore these warnings
for now.

> ReaderImpl: getColumnIndicesFromNames does not work for ACID tables
> -------------------------------------------------------------------
>                 Key: HIVE-11102
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: File Formats
>    Affects Versions: 1.3.0, 1.2.1, 2.0.0
>            Reporter: Gopal V
>            Assignee: Sergey Shelukhin
>         Attachments: HIVE-11102.patch
> ORC reader impl does not estimate the size of ACID data files correctly.
> {code}
> Caused by: java.lang.IndexOutOfBoundsException: Index: 0
> 	at java.util.Collections$EmptyList.get(
> 	at$Type.getSubtypes(
> 	at
> 	at
> 	at$SplitGenerator.populateAndCacheStripeDetails(
> 	at$
> 	at$
> 	at
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(
> 	at java.util.concurrent.ThreadPoolExecutor$
> 	at
> {code}

This message was sent by Atlassian JIRA

View raw message