[ https://issues.apache.org/jira/browse/HIVE-21245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
BELUGA BEHR updated HIVE-21245: ------------------------------- Description: 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 The current default is: {code} // Serde for FetchTask HIVEFETCHOUTPUTSERDE("hive.fetch.output.serde", "org.apache.hadoop.hive.serde2.DelimitedJSONSerDe", "The SerDe used by FetchTask to serialize the fetch output."), {code} Ultimately, I'd like to get rid of {{org.apache.hadoop.hive.serde2.DelimitedJSONSerDe}} altogether. It's a weird thing. was: 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. > 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 > Assignee: BELUGA BEHR > Priority: Major > Fix For: 4.0.0 > > Attachments: HIVE-21245.1.patch > > > 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 > The current default is: > {code} > // Serde for FetchTask > HIVEFETCHOUTPUTSERDE("hive.fetch.output.serde", > "org.apache.hadoop.hive.serde2.DelimitedJSONSerDe", > "The SerDe used by FetchTask to serialize the fetch output."), > {code} > 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)