You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2017/09/25 17:52:00 UTC

[jira] [Commented] (HIVE-17580) Remove dependency of get_fields_with_environment_context API to serde

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

Alan Gates commented on HIVE-17580:
-----------------------------------

I'm +1 on using the SARGs for this, but I think we will have to continue to provide the current version of get_fields_with_environment_context for backwards compatibility.  So we should find something that works for it as well.  It makes sense to do that first and add a SARGs version of the call later.

> Remove dependency of get_fields_with_environment_context API to serde
> ---------------------------------------------------------------------
>
>                 Key: HIVE-17580
>                 URL: https://issues.apache.org/jira/browse/HIVE-17580
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Metastore
>            Reporter: Vihang Karajgaonkar
>            Assignee: Vihang Karajgaonkar
>
> {{get_fields_with_environment_context}} metastore API uses {{Deserializer}} class to access the fields metadata for the cases where it is stored along with the data files (avro tables). The problem is Deserializer classes is defined in hive-serde module and in order to make metastore independent of Hive we will have to remove this dependency (atleast we should change it to runtime dependency instead of compile time).
> The other option is investigate if we can use SearchArgument to provide this functionality.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)