You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Namit Jain (JIRA)" <ji...@apache.org> on 2009/06/29 23:06:47 UTC
[jira] Commented: (HIVE-590) Pass type information in
genFileSinkPlan
[ https://issues.apache.org/jira/browse/HIVE-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725347#action_12725347 ]
Namit Jain commented on HIVE-590:
---------------------------------
This has the following requirements:
1. Pass the type info. in getFileSinkPlan
2. Enhance LazySerde to use json to serialize for complex types under certain conditions
3. Return a new thrift type instead of string from Driver.getSchema()
> Pass type information in genFileSinkPlan
> ----------------------------------------
>
> Key: HIVE-590
> URL: https://issues.apache.org/jira/browse/HIVE-590
> Project: Hadoop Hive
> Issue Type: Bug
> Components: Query Processor
> Reporter: Raghotham Murthy
> Assignee: Namit Jain
>
> Right now only column names are being passed between semanticanalyzer and fetchtask. Once type information is passed, we can use LazySerDe to serialize the data (into json) in Driver.getResults().
> Driver.getSchema() should then return a new thrift type ResultSchema instead of String:
> {code}
> struct ResultSchema {
> // column names, types, comments
> 1: list<hive_metastore.FieldSchema> fieldSchemas,
> // delimiters etc
> 2: map<string, string> properties
> }
> {code}
> Once this is done, the jdbc client can instantiate a simplified serde from the ResultSchema and parse the query results.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.