hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jiraposter@reviews.apache.org (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-2457) Files in Avro-backed Hive tables do not have a ".avro" extension
Date Wed, 21 Sep 2011 00:28:10 GMT

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

jiraposter@reviews.apache.org commented on HIVE-2457:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1989/#review1982
-----------------------------------------------------------



trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java
<https://reviews.apache.org/r/1989/#comment4468>

    Please add this configuration property to HiveConf and hive-default.xml



trunk/ql/src/test/org/apache/hadoop/hive/ql/exec/TestUtilities.java
<https://reviews.apache.org/r/1989/#comment4479>

    In addition to the unit test it would also be nice to test this via TestCliDriver.
    
    It should be possible to verify this from the CLI by doing something like this:
    
    
    -- Set the filename suffix property. Then create a new table and stream
    -- data into it. Then use the dfs cat command to dump the contents of
    -- the raw files in the warehouse to stdout
    hive> dfs -cat ${hiveconf:hive.metastore.warehouse.dir}/<tablename>/*.avro;


- Carl


On 2011-09-20 22:28:53, Carl Steinbach wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/1989/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2011-09-20 22:28:53)
bq.  
bq.  
bq.  Review request for hive.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  Review for HIVE-2457
bq.  
bq.  
bq.  This addresses bug HIVE-2457.
bq.      https://issues.apache.org/jira/browse/HIVE-2457
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FileSinkOperator.java 1173340 
bq.    trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java 1173340 
bq.    trunk/ql/src/java/org/apache/hadoop/hive/ql/io/HiveFileFormatUtils.java 1173340 
bq.    trunk/ql/src/test/org/apache/hadoop/hive/ql/exec/TestUtilities.java PRE-CREATION 
bq.  
bq.  Diff: https://reviews.apache.org/r/1989/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Carl
bq.  
bq.



> Files in Avro-backed Hive tables do not have a ".avro" extension
> ----------------------------------------------------------------
>
>                 Key: HIVE-2457
>                 URL: https://issues.apache.org/jira/browse/HIVE-2457
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor, Serializers/Deserializers
>            Reporter: Tom White
>            Assignee: Tom White
>         Attachments: HIVE-2457.patch
>
>
> When using the Avro SerDe (see HIVE-895, https://github.com/jghoman/haivvreo) the files
created for an Avro table do not have a ".avro" extension, which causes problems for tools
like Avro MapReduce or Sqoop which expect the extension. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message