[
https://issues.apache.org/jira/browse/HIVE-24770?focusedWorklogId=551499&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-551499
]
ASF GitHub Bot logged work on HIVE-24770:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 11/Feb/21 20:26
Start Date: 11/Feb/21 20:26
Worklog Time Spent: 10m
Work Description: nrg4878 opened a new pull request #1972:
URL: https://github.com/apache/hive/pull/1972
…Naveen Gangam)
HIVE-20619 makes MultiDelimiterSerDe a first class serde in hive moving it
from hive-contrib into hive-exec jar. Part of the change includes removing
"contrib" from its full qualified package+class name. Although, this does not
introduce a backward incompatibility, it still requires users to manually add
hive-contrib.jar to the classpath to make it work after the upgrade. (This is
no different than what a user would do after upgrade without this change as
well). However, we can make the user experience better by automatically
changing the hive table metadata to rename the class.
### What changes were proposed in this pull request?
Schema upgrade scripts update the SLIB column value in SERDES table to
update it from "org.apache.hadoop.hive.contrib.serde2.MultiDelimitSerDe" to
"org.apache.hadoop.hive.serde2.MultiDelimitSerDe"
### Why are the changes needed?
Better user experience to getting MultiDelimiterSerDe to work out of the box
after the upgrade.
### Does this PR introduce _any_ user-facing change?
NO
### How was this patch tested?
Manually.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 551499)
Remaining Estimate: 0h
Time Spent: 10m
> Upgrade should update changed FQN for MultiDelimiterSerDe in HMS DB.
> --------------------------------------------------------------------
>
> Key: HIVE-24770
> URL: https://issues.apache.org/jira/browse/HIVE-24770
> Project: Hive
> Issue Type: Sub-task
> Components: Hive
> Affects Versions: 4.0.0
> Reporter: Naveen Gangam
> Assignee: Naveen Gangam
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> While the parent change has does not cause this directly, but post upgrade
> the existing tables that use MultiDelimiterSerDe will be broken as the
> hive-contrib jar would no longer exist. Instead if the Hive schema upgrade
> script can update the SERDES table to alter the classname to the new
> classname, the old tables would work automatically. Much better user
> experience.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)