XML Serde

2012-06-24 Thread Sumit Kumar
Hi, So i looked for a generic approach for handling xml files in hive but found none and thought i could use the concepts from json-serde ( http://code.google.com/p/hive-json-serde/) in creating a generic xml serde. XPath was something that came immediately in my mind and should work in the same w

Re: XML Serde

2012-06-25 Thread Sumit Kumar
So i found this discussion on this topic http://mail-archives.apache.org/mod_mbox/hive-user/201006.mbox/%3caanlktikyl3hinowfo36yeyid9vojyh_6pe3slorhy...@mail.gmail.com%3E. Makes more sense now. Will post my final resolution. On Sun, Jun 24, 2012 at 10:39 PM, Sumit Kumar wrote: > Hi, >

"desc database extended " doesn't print dbproperties?

2014-06-25 Thread Sumit Kumar
Hey guys, I just discovered that this syntax doesn't print the dbproperties any more. I've two hive versions that i'm testing following query on:   create database test2 with dbproperties ('key1' = 'value1', 'key2' = 'value2');   desc database extended test2; The output on hive 11 is: hive> 

[jira] [Commented] (HIVE-7136) Allow Hive to read hive scripts from any of the supported file systems in hadoop eco-system

2014-11-11 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14207168#comment-14207168 ] Sumit Kumar commented on HIVE-7136: --- I still don't seem to have "write&quo

[jira] [Commented] (HIVE-7136) Allow Hive to read hive scripts from any of the supported file systems in hadoop eco-system

2014-11-12 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14208278#comment-14208278 ] Sumit Kumar commented on HIVE-7136: --- [~leftylev] I already have a confluence id: &qu

[jira] [Commented] (HIVE-7136) Allow Hive to read hive scripts from any of the supported file systems in hadoop eco-system

2014-11-12 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14208671#comment-14208671 ] Sumit Kumar commented on HIVE-7136: --- Thank you. I just updated both the wikis. >

[jira] [Created] (HIVE-7136) Allow Hive to read hive scripts from any of the supported file systems in hadoop eco-system

2014-05-28 Thread Sumit Kumar (JIRA)
Sumit Kumar created HIVE-7136: - Summary: Allow Hive to read hive scripts from any of the supported file systems in hadoop eco-system Key: HIVE-7136 URL: https://issues.apache.org/jira/browse/HIVE-7136

[jira] [Updated] (HIVE-7136) Allow Hive to read hive scripts from any of the supported file systems in hadoop eco-system

2014-05-28 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sumit Kumar updated HIVE-7136: -- Attachment: HIVE-7136.patch > Allow Hive to read hive scripts from any of the supported file systems

[jira] [Updated] (HIVE-7136) Allow Hive to read hive scripts from any of the supported file systems in hadoop eco-system

2014-05-28 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sumit Kumar updated HIVE-7136: -- Status: Patch Available (was: Open) > Allow Hive to read hive scripts from any of the supported f

[jira] [Updated] (HIVE-7137) Add progressable to writer interfaces so they could report progress while different operations are in progress

2014-05-28 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sumit Kumar updated HIVE-7137: -- Affects Version/s: 0.13.0 > Add progressable to writer interfaces so they could report progress wh

[jira] [Created] (HIVE-7137) Add progressable to writer interfaces so they could report progress while different operations are in progress

2014-05-28 Thread Sumit Kumar (JIRA)
Sumit Kumar created HIVE-7137: - Summary: Add progressable to writer interfaces so they could report progress while different operations are in progress Key: HIVE-7137 URL: https://issues.apache.org/jira/browse/HIVE

[jira] [Updated] (HIVE-7137) Add progressable to writer interfaces so they could report progress while different operations are in progress

2014-05-28 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sumit Kumar updated HIVE-7137: -- Component/s: Query Processor > Add progressable to writer interfaces so they could report progr

[jira] [Updated] (HIVE-7137) Add progressable to writer interfaces so they could report progress while different operations are in progress

2014-05-28 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sumit Kumar updated HIVE-7137: -- Attachment: HIVE-7137.patch > Add progressable to writer interfaces so they could report progress wh

[jira] [Updated] (HIVE-7137) Add progressable to writer interfaces so they could report progress while different operations are in progress

2014-05-28 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sumit Kumar updated HIVE-7137: -- Affects Version/s: (was: 0.13.0) 0.13.1 Release Note: This patch has

[jira] [Assigned] (HIVE-7137) Add progressable to writer interfaces so they could report progress while different operations are in progress

2014-05-29 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sumit Kumar reassigned HIVE-7137: - Assignee: Sumit Kumar > Add progressable to writer interfaces so they could report progress wh

[jira] [Commented] (HIVE-7136) Allow Hive to read hive scripts from any of the supported file systems in hadoop eco-system

2014-05-29 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14012827#comment-14012827 ] Sumit Kumar commented on HIVE-7136: --- That should be easy to do. I'll run the

[jira] [Commented] (HIVE-7136) Allow Hive to read hive scripts from any of the supported file systems in hadoop eco-system

2014-05-31 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14014767#comment-14014767 ] Sumit Kumar commented on HIVE-7136: --- [~ashutoshc] IOUtils.close(bufferedReader

[jira] [Commented] (HIVE-7136) Allow Hive to read hive scripts from any of the supported file systems in hadoop eco-system

2014-05-31 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14014779#comment-14014779 ] Sumit Kumar commented on HIVE-7136: --- Thanks for confirming that [~ashutoshc]. I&#x

[jira] [Updated] (HIVE-7136) Allow Hive to read hive scripts from any of the supported file systems in hadoop eco-system

2014-06-02 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sumit Kumar updated HIVE-7136: -- Attachment: HIVE-7136-1.patch > Allow Hive to read hive scripts from any of the supported file syst

[jira] [Updated] (HIVE-7136) Allow Hive to read hive scripts from any of the supported file systems in hadoop eco-system

2014-06-02 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sumit Kumar updated HIVE-7136: -- Status: Patch Available (was: Open) Updated the patch to use FileSystem api instead of FileContext to

[jira] [Commented] (HIVE-7136) Allow Hive to read hive scripts from any of the supported file systems in hadoop eco-system

2014-06-02 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14015489#comment-14015489 ] Sumit Kumar commented on HIVE-7136: --- [~ashutoshc] wonder if there is a list of

[jira] [Updated] (HIVE-7136) Allow Hive to read hive scripts from any of the supported file systems in hadoop eco-system

2014-06-05 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sumit Kumar updated HIVE-7136: -- Attachment: (was: HIVE-7136-1.patch) > Allow Hive to read hive scripts from any of the suppor

[jira] [Updated] (HIVE-7136) Allow Hive to read hive scripts from any of the supported file systems in hadoop eco-system

2014-06-05 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sumit Kumar updated HIVE-7136: -- Attachment: HIVE-7136.01.patch Renaming the patch file name to meet ptest requirements > Allow Hive

[jira] [Updated] (HIVE-7136) Allow Hive to read hive scripts from any of the supported file systems in hadoop eco-system

2014-06-05 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sumit Kumar updated HIVE-7136: -- Status: Patch Available (was: Open) > Allow Hive to read hive scripts from any of the supported f

[jira] [Updated] (HIVE-2777) ability to add and drop partitions atomically

2014-06-05 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sumit Kumar updated HIVE-2777: -- Status: Open (was: Patch Available) > ability to add and drop partitions atomica

[jira] [Commented] (HIVE-7136) Allow Hive to read hive scripts from any of the supported file systems in hadoop eco-system

2014-06-07 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14021109#comment-14021109 ] Sumit Kumar commented on HIVE-7136: --- Sure, will update the documentation. > All

[jira] [Created] (HIVE-7239) Fix bug in HiveIndexedInputFormat implementation that causes incorrect query result when input backed by Sequence/RC files

2014-06-16 Thread Sumit Kumar (JIRA)
Sumit Kumar created HIVE-7239: - Summary: Fix bug in HiveIndexedInputFormat implementation that causes incorrect query result when input backed by Sequence/RC files Key: HIVE-7239 URL: https://issues.apache.org/jira

[jira] [Updated] (HIVE-7239) Fix bug in HiveIndexedInputFormat implementation that causes incorrect query result when input backed by Sequence/RC files

2014-06-16 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sumit Kumar updated HIVE-7239: -- Status: Patch Available (was: Open) > Fix bug in HiveIndexedInputFormat implementation that cau

[jira] [Updated] (HIVE-7239) Fix bug in HiveIndexedInputFormat implementation that causes incorrect query result when input backed by Sequence/RC files

2014-06-16 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sumit Kumar updated HIVE-7239: -- Attachment: HIVE-7239.patch Please review and recommend a way to test this patch as part of hive unit

[jira] [Commented] (HIVE-7239) Fix bug in HiveIndexedInputFormat implementation that causes incorrect query result when input backed by Sequence/RC files

2014-06-16 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14033440#comment-14033440 ] Sumit Kumar commented on HIVE-7239: --- [~ashutoshc] Is this something you would review

[jira] [Commented] (HIVE-7298) desc database extended does not show properties of the database

2014-06-26 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14044918#comment-14044918 ] Sumit Kumar commented on HIVE-7298: --- +1 > desc database extended does n

[jira] [Commented] (HIVE-7097) The Support for REGEX Column Broken in HIVE 0.13

2014-06-26 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14045065#comment-14045065 ] Sumit Kumar commented on HIVE-7097: --- [~sunrui] I hit this today and found follo

[jira] [Commented] (HIVE-6037) Synchronize HiveConf with hive-default.xml.template and support show conf

2014-06-26 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-6037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14045070#comment-14045070 ] Sumit Kumar commented on HIVE-6037: --- [~leftylev] Here is the JIRA that decided to re

[jira] [Commented] (HIVE-7097) The Support for REGEX Column Broken in HIVE 0.13

2014-06-26 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14045084#comment-14045084 ] Sumit Kumar commented on HIVE-7097: --- Basically this doesn't seem to be an iss

[jira] [Resolved] (HIVE-7097) The Support for REGEX Column Broken in HIVE 0.13

2014-06-27 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sumit Kumar resolved HIVE-7097. --- Resolution: Not a Problem Thank you [~leftylev]. Marking this "Resolved/Not a problem" >

[jira] [Resolved] (HIVE-2089) Add a new input format to be able to combine multiple .gz text files

2014-06-27 Thread Sumit Kumar (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sumit Kumar resolved HIVE-2089. --- Resolution: Won't Fix I verified [~slider]'s observation. It indeed works. Marking th