FileFormat

2010-10-06 Thread gaurav jain
Hi, insert overwrite directory "$dir" select * from xxx; creates files of type attempt_201008201925_165088_r_00_0.gz insert overwrite table "$table" select * from xxx; creates file of type attempt_201008201925_165088_r_00_0 How can I configure "insert overwrite directory" to pro

FileFormat

2010-10-05 Thread gaurav jain
Hi, insert overwrite directory "$dir" select * from xxx; creates files of type attempt_201008201925_165088_r_00_0.gz insert overwrite table "$table" select * from xxx; creates file of type attempt_201008201925_165088_r_00_0 How can I configure "insert overwrite directory" to produ

[jira] Commented: (HIVE-1514) Be able to modify a partition's fileformat and file location information.

2010-08-13 Thread John Sichi (JIRA)
add a phrase like "(Note: only available starting with 0.7.0)" so that users of earlier Hive versions know they need to upgrade if they want the feature. > Be able to modify a partition's fileformat and fil

[jira] Commented: (HIVE-1514) Be able to modify a partition's fileformat and file location information.

2010-08-13 Thread He Yongqiang (JIRA)
http://wiki.apache.org/hadoop/Hive/LanguageManual/DDL#Alter_Table.2BAC8-Partition_Location This only change the metadata. With this patch, you will be able to let the partition point to some external places, and use a new fileformat. If the metadata you specified is correct, you will be able to do that. >

[jira] Commented: (HIVE-1514) Be able to modify a partition's fileformat and file location information.

2010-08-13 Thread Ashutosh Chauhan (JIRA)
ussions, its not clear to me what changes went >in here. It will be useful to summarize the use case which this jira satisfies. From cursory look of the patch, it seems following is now possible to do {code} ALTER TABLE table_name [partitionSpec] SET LOCATION "new location" set fileform

[jira] Resolved: (HIVE-1514) Be able to modify a partition's fileformat and file location information.

2010-08-10 Thread Namit Jain (JIRA)
y a partition's fileformat and file location information. > - > > Key: HIVE-1514 > URL: https://issues.apache.org/jira/browse/HIVE-1514 > Project: Hadoop Hive >

[jira] Commented: (HIVE-1514) Be able to modify a partition's fileformat and file location information.

2010-08-10 Thread Namit Jain (JIRA)
modify a partition's fileformat and file location information. > - > > Key: HIVE-1514 > URL: https://issues.apache.org/jira/browse/HIVE-1514 > Project: Hadoop Hive

[jira] Updated: (HIVE-1514) Be able to modify a partition's fileformat and file location information.

2010-08-10 Thread He Yongqiang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] He Yongqiang updated HIVE-1514: --- Attachment: hive-1514.3.patch > Be able to modify a partition's fileformat and file

[jira] Commented: (HIVE-1514) Be able to modify a partition's fileformat and file location information.

2010-08-09 Thread Namit Jain (JIRA)
ILEFORMAT", "ALTERPARTITION_FILEFORMAR" }); There is a spelling mistake - should be new String[] { "ALTERTABLE_FILEFORMAT", "ALTERPARTITION_FILEFORMAT" }); will result in changing a few log files. > Be able to modify a parti

[jira] Updated: (HIVE-1514) Be able to modify a partition's fileformat and file location information.

2010-08-09 Thread Namit Jain (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Namit Jain updated HIVE-1514: - Status: Open (was: Patch Available) > Be able to modify a partition's fileformat and file

[jira] Updated: (HIVE-1514) Be able to modify a partition's fileformat and file location information.

2010-08-08 Thread He Yongqiang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] He Yongqiang updated HIVE-1514: --- Attachment: hive-1514.2.patch > Be able to modify a partition's fileformat and file

[jira] Updated: (HIVE-1514) Be able to modify a partition's fileformat and file location information.

2010-08-05 Thread He Yongqiang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] He Yongqiang updated HIVE-1514: --- Status: Patch Available (was: Open) > Be able to modify a partition's fileformat and file

[jira] Updated: (HIVE-1514) Be able to modify a partition's fileformat and file location information.

2010-08-05 Thread He Yongqiang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] He Yongqiang updated HIVE-1514: --- Attachment: hive-1514.1.patch > Be able to modify a partition's fileformat and file

[jira] Created: (HIVE-1514) Be able to modify a partition's fileformat and file location information.

2010-08-05 Thread He Yongqiang (JIRA)
Be able to modify a partition's fileformat and file location information. - Key: HIVE-1514 URL: https://issues.apache.org/jira/browse/HIVE-1514 Project: Hadoop

[jira] Updated: (HIVE-1448) bug in 'set fileformat'

2010-07-02 Thread He Yongqiang (JIRA)
that there is already a command to do the same thing: ALTER TABLE table_name SET SERDE serde_class_name http://wiki.apache.org/hadoop/Hive/LanguageManual/DDL > bug in 'set fileformat' > --- > > Key: HIVE-1448 > URL:

[jira] Updated: (HIVE-1448) bug in 'set fileformat'

2010-07-02 Thread He Yongqiang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-1448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] He Yongqiang updated HIVE-1448: --- Attachment: hive-1448-brach-0.6.patch hive-1448.1.patch > bug in 'set fi

[jira] Updated: (HIVE-1448) bug in 'set fileformat'

2010-07-02 Thread He Yongqiang (JIRA)
bug in 'set fileformat' > --- > > Key: HIVE-1448 > URL: https://issues.apache.org/jira/browse/HIVE-1448 > Project: Hadoop Hive > Issue Type: Bug >Affects Versions: 0.6.0, 0.7.0 &

[jira] Created: (HIVE-1448) bug in 'set fileformat'

2010-07-02 Thread He Yongqiang (JIRA)
bug in 'set fileformat' --- Key: HIVE-1448 URL: https://issues.apache.org/jira/browse/HIVE-1448 Project: Hadoop Hive Issue Type: Bug Affects Versions: 0.6.0, 0.7.0 Reporter: He

[jira] Commented: (HIVE-1085) ColumnarSerde should not be the default Serde when user specified a fileformat using 'stored as'.

2010-03-15 Thread Ning Zhang (JIRA)
arSerde should not be the default Serde when user specified a > fileformat using 'stored as'. > - > > Key: HIVE-1085 > URL: https://issues.

[jira] Updated: (HIVE-1085) ColumnarSerde should not be the default Serde when user specified a fileformat using 'stored as'.

2010-03-15 Thread He Yongqiang (JIRA)
ult Serde when user specified a > fileformat using 'stored as'. > - > > Key: HIVE-1085 > URL: https://issues.apache.org/jira/browse/HIVE-1085 &

[jira] Resolved: (HIVE-1085) ColumnarSerde should not be the default Serde when user specified a fileformat using 'stored as'.

2010-01-22 Thread Ning Zhang (JIRA)
Yongqiang! > ColumnarSerde should not be the default Serde when user specified a > fileformat using 'stored as'. > - > > Key: HIVE-1085 > URL: ht

[jira] Commented: (HIVE-1085) ColumnarSerde should not be the default Serde when user specified a fileformat using 'stored as'.

2010-01-22 Thread Ning Zhang (JIRA)
pass. > ColumnarSerde should not be the default Serde when user specified a > fileformat using 'stored as'. > - > > Key: HIVE-1085 > URL: https://issues.

[jira] Updated: (HIVE-1085) ColumnarSerde should not be the default Serde when user specified a fileformat using 'stored as'.

2010-01-22 Thread He Yongqiang (JIRA)
patch is more clear for future change. > ColumnarSerde should not be the default Serde when user specified a > fileformat using 'stored as'. > - > > Key: H

[jira] Updated: (HIVE-1085) ColumnarSerde should not be the default Serde when user specified a fileformat using 'stored as'.

2010-01-22 Thread He Yongqiang (JIRA)
d a > fileformat using 'stored as'. > - > > Key: HIVE-1085 > URL: https://issues.apache.org/jira/browse/HIVE-1085 > Project: Hadoop

[jira] Updated: (HIVE-1085) ColumnarSerde should not be the default Serde when user specified a fileformat using 'stored as'.

2010-01-22 Thread He Yongqiang (JIRA)
ser specified a > fileformat using 'stored as'. > - > > Key: HIVE-1085 > URL: https://issues.apache.org/jira/browse/HIVE-1085 > Projec

[jira] Updated: (HIVE-1085) ColumnarSerde should not be the default Serde when user specified a fileformat using 'stored as'.

2010-01-22 Thread He Yongqiang (JIRA)
d a > fileformat using 'stored as'. > - > > Key: HIVE-1085 > URL: https://issues.apache.org/jira/browse/HIVE-1085 > Project: Hadoop

[jira] Commented: (HIVE-1085) ColumnarSerde should not be the default Serde when user specified a fileformat using 'stored as'.

2010-01-22 Thread Ning Zhang (JIRA)
the hive.default.fileformat is set to RCFile. It should not ColumnarSerDe if the user specify a different storage format in DDL. > ColumnarSerde should not be the default Serde when user specified a > fileformat using

[jira] Created: (HIVE-1085) ColumnarSerde should not be the default Serde when user specified a fileformat using 'stored as'.

2010-01-22 Thread He Yongqiang (JIRA)
ColumnarSerde should not be the default Serde when user specified a fileformat using 'stored as'. - Key: HIVE-1085 URL: https://issues.apache.org/jira/b

[jira] Updated: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-04-09 Thread Zheng Shao (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zheng Shao updated HIVE-360: Resolution: Fixed Fix Version/s: 0.4.0 Release Note: HIVE-360. Generalize the FileFormat

[jira] Commented: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-04-09 Thread Zheng Shao (JIRA)
case for that is inside text file format. It's kind of rare so I think we can generalize that when we have a second use case. We should also move file format check function into the specific file format as well. > Generalize the FileFormat Inter

[jira] Commented: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-04-09 Thread Joydeep Sen Sarma (JIRA)
o me. One comment is that the getFinalPath call should be made part of the HiveOutputFormat as well. Actually all we need is to let the outputformat determine the file extension. rest of the path name is always the same. but it's not a big deal. > Generalize the FileFormat Inter

[jira] Updated: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-04-09 Thread Zheng Shao (JIRA)
neralize the FileFormat Interface in Hive > --- > > Key: HIVE-360 > URL: https://issues.apache.org/jira/browse/HIVE-360 > Project: Hadoop Hive > Issue Type: Improvement &g

[jira] Commented: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-04-08 Thread Zheng Shao (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697408#action_12697408 ] Zheng Shao commented on HIVE-360: - +1 > Generalize the FileFormat Interface

[jira] Updated: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-04-08 Thread He Yongqiang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] He Yongqiang updated HIVE-360: -- Attachment: hive-360-2009-04-09-3.patch > Generalize the FileFormat Interface in H

[jira] Updated: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-04-08 Thread He Yongqiang (JIRA)
oop.hive.ql.TestMTQueries FAILED [junit] Test org.apache.hadoop.hive.ql.metadata.TestHiveMetaStoreChecker FAILED [junit] Test org.apache.hadoop.hive.ql.parse.TestParse FAILED " fixed them and passed them in my local. > Generalize

[jira] Updated: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-04-07 Thread He Yongqiang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] He Yongqiang updated HIVE-360: -- Attachment: hive-360-2009-04-08-3.patch > Generalize the FileFormat Interface in H

[jira] Updated: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-04-07 Thread He Yongqiang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] He Yongqiang updated HIVE-360: -- Attachment: hive-360-2009-04-08.patch > Generalize the FileFormat Interface in H

[jira] Updated: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-04-07 Thread He Yongqiang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] He Yongqiang updated HIVE-360: -- Attachment: qfile.tar > Generalize the FileFormat Interface in H

[jira] Commented: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-04-07 Thread Zheng Shao (JIRA)
t on OutputFormat. > Generalize the FileFormat Interface in Hive > --- > > Key: HIVE-360 > URL: https://issues.apache.org/jira/browse/HIVE-360 > Project: Hadoop Hive > Issue Type:

[jira] Updated: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-04-07 Thread He Yongqiang (JIRA)
differently. 6) modify tableDesc to support HiveOutputFormat directly > Generalize the FileFormat Interface in Hive > --- > > Key: HIVE-360 > URL: https://issues.apache.org/jira/browse/HIVE-360 >

[jira] Commented: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-04-06 Thread Zheng Shao (JIRA)
lose(); } catch (IOException e) { fileIsSequenceFile = false; } {code} > Generalize the FileFormat Interface in Hive > --- > > Key: HIVE-360 > URL: https://issues.apache.org/j

[jira] Commented: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-04-06 Thread Zheng Shao (JIRA)
d(jc) + Utilities.getFileExtension(jc, isCompressed)); } {code} Can you also make "initRecordWriter" in FileSinkOperator static? There is just one member variable that is referenced: outPath, and you can make initRecordWriter return the outWriter value. > Generalize the FileFormat

[jira] Updated: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-04-04 Thread He Yongqiang (JIRA)
java.util.Properties 2) added in two .q file. one in clientpositive and the other in clientnegative Thanks Zheng. > Generalize the FileFormat Interface in Hive > --- > > Key: HIVE-360 > URL: https://issues.apache.org/j

[jira] Commented: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-04-02 Thread Zheng Shao (JIRA)
ABLE as well. > Generalize the FileFormat Interface in Hive > --- > > Key: HIVE-360 > URL: https://issues.apache.org/jira/browse/HIVE-360 > Project: Hadoop Hive > Issue Type: Improvem

[jira] Commented: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-04-02 Thread He Yongqiang (JIRA)
OUTPUTFORMAT xxx a good testcase for OutputFormat. Hive only uses OutputFormat in its FileSinkOperator, and it seems CREATE only stores the information. > Generalize the FileFormat Interface in Hive > --- > > Key: HIVE-360 >

[jira] Commented: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-04-02 Thread Zheng Shao (JIRA)
x of CREATE TABLE ... STORED AS INPUTFORMAT OUTPUTFORMAT xxx. One positive test, and one negative test with invalid file formats (e.g., just a hadoop file format, but no corresponding hive file format). > Generalize the FileFormat Interface

[jira] Commented: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-04-02 Thread Zheng Shao (JIRA)
iter method, can we change it to java.util.Properties instead? We don't need all the information about the table to create the File. > Generalize the FileFormat Interface in Hive > --- > > Key: HIVE-360 >

[jira] Updated: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-04-01 Thread He Yongqiang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] He Yongqiang updated HIVE-360: -- Status: Patch Available (was: Open) > Generalize the FileFormat Interface in H

[jira] Updated: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-04-01 Thread He Yongqiang (JIRA)
-03-32.patch. It adds javadoc and the apache licence header in each new file. > Generalize the FileFormat Interface in Hive > --- > > Key: HIVE-360 > URL: https://issues.apache.org/jira/browse/HIVE-360 >

[jira] Updated: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-04-01 Thread He Yongqiang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] He Yongqiang updated HIVE-360: -- Status: Open (was: Patch Available) > Generalize the FileFormat Interface in H

[jira] Commented: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-04-01 Thread He Yongqiang (JIRA)
as its value. I think it is ok in Hive, isn't it? Should i cancel the patch now and resubmit one once the refactory is done? > Generalize the FileFormat Interface in Hive > --- > > Key: HIVE-360 > URL: ht

[jira] Updated: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-04-01 Thread Ashish Thusoo (JIRA)
submitted. That helps to get this on the radar for the reviewers. Thanks, Ashish > Generalize the FileFormat Interface in Hive > --- > > Key: HIVE-360 > URL: https://issues.apache.org/jira/browse/HIVE-360 >

[jira] Assigned: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-04-01 Thread Ashish Thusoo (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashish Thusoo reassigned HIVE-360: -- Assignee: He Yongqiang > Generalize the FileFormat Interface in H

[jira] Updated: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-03-31 Thread He Yongqiang (JIRA)
> Generalize the FileFormat Interface in Hive > --- > > Key: HIVE-360 > URL: https://issues.apache.org/jira/browse/HIVE-360 > Project: Hadoop Hive > Issue Type: Improvement >

[jira] Updated: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-03-31 Thread He Yongqiang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] He Yongqiang updated HIVE-360: -- Attachment: (was: hive-360-2009-03-31.patch) > Generalize the FileFormat Interface in H

[jira] Updated: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-03-31 Thread He Yongqiang (JIRA)
> Generalize the FileFormat Interface in Hive > --- > > Key: HIVE-360 > URL: https://issues.apache.org/jira/browse/HIVE-360 > Project: Hadoop Hive > Issue Type: Improvement >

[jira] Commented: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-03-29 Thread He Yongqiang (JIRA)
d in DDLSemanticAnalyzer. {code} case HiveParser.TOK_TBLSEQUENCEFILE: inputFormat = SEQUENCEFILE_INPUT; outputFormat = SEQUENCEFILE_OUTPUT; break; {code} > Generalize the FileFormat Interface in Hive > --- > >

[jira] Created: (HIVE-360) Generalize the FileFormat Interface in Hive

2009-03-24 Thread Zheng Shao (JIRA)
Generalize the FileFormat Interface in Hive --- Key: HIVE-360 URL: https://issues.apache.org/jira/browse/HIVE-360 Project: Hadoop Hive Issue Type: Improvement Reporter: Zheng Shao