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

Aniket Mokashi commented on HCATALOG-220:
-----------------------------------------

Hi Ashutosh,

Essentially, we need following code block in InitializeInput.java, 
extractStorerInfo-

{code}
//hive serde based drivers need properties from serde parameters to initialize 
serdes
    Map<String, String> sdParams = sd.getSerdeInfo().getParameters();
    for (Entry<String, String> entry : sdParams.entrySet()) {
      hcatProperties.put(entry.getKey(), entry.getValue());
    }
{code}

I was planning to work on SerdeBasedStorageDriver to read Text and 
SequenceFiles. But, I think with HCatalog-237 it wont be needed. Comments?
                
> SequenceFile and TextFile in Hive cannot be read in HCatalog
> ------------------------------------------------------------
>
>                 Key: HCATALOG-220
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-220
>             Project: HCatalog
>          Issue Type: Bug
>          Components: storage handlers
>            Reporter: Aniket Mokashi
>            Priority: Critical
>
> Currently, hcatalog has a bug/design issue that only properties from 
> TBLPROPERTIES that start with word "hcat." are passed down to storage driver 
> interface.
> This puts a major limitation on supporting SequenceFileFormat and 
> TextFileFormat in hive using HCatalog (driver's need these properties to 
> initialize serdes).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to