You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "BELUGA BEHR (JIRA)" <ji...@apache.org> on 2019/02/11 21:32:00 UTC

[jira] [Created] (HIVE-21245) Make hive.fetch.output.serde Default to LazySimpleSerde

BELUGA BEHR created HIVE-21245:
----------------------------------

             Summary: Make hive.fetch.output.serde Default to LazySimpleSerde
                 Key: HIVE-21245
                 URL: https://issues.apache.org/jira/browse/HIVE-21245
             Project: Hive
          Issue Type: Improvement
          Components: Serializers/Deserializers
    Affects Versions: 4.0.0, 3.2.0
            Reporter: BELUGA BEHR
             Fix For: 4.0.0


For all intents and purposes, it already is:

{code:java|title=HiveSessionImpl.java}
  private static final String FETCH_WORK_SERDE_CLASS =
      "org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe";

  @Override
  public HiveConf getHiveConf() {
    sessionConf.setVar(HiveConf.ConfVars.HIVEFETCHOUTPUTSERDE, FETCH_WORK_SERDE_CLASS);
    return sessionConf;
  }
{code}

https://github.com/apache/hive/blob/master/service/src/java/org/apache/hive/service/cli/session/HiveSessionImpl.java#L489-L492

Ultimately, I'd like to get rid of {{org.apache.hadoop.hive.serde2.DelimitedJSONSerDe}} altogether.  It's a weird thing.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)