[ 
https://issues.apache.org/jira/browse/HIVE-27180?focusedWorklogId=853196&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-853196
 ]

ASF GitHub Bot logged work on HIVE-27180:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 27/Mar/23 15:50
            Start Date: 27/Mar/23 15:50
    Worklog Time Spent: 10m 
      Work Description: rtrivedi12 opened a new pull request, #4159:
URL: https://github.com/apache/hive/pull/4159

   …nged FQN for JsonSerDe in HMS DB
   
   HIVE-18545 makes Hcatalog JsonSerde use the "hive.serde2" version as a back 
end, there are no feature differences between these implementations. This 
change will fix tests to use the new JsonSerDe class and remove JsonSerDe from 
hive-contrib. Hive Upgrade schema script should automatically update the hive 
table schema to rename the serde package.
   
   ### What changes were proposed in this pull request?
   1. Fixed tests to use new SerDe class 
'org.apache.hadoop.hive.serde2.JsonSerDe'
   2. Removed JsonSerDe from hive-hcatalog.
   3. Schema upgrade scripts update the SLIB column value in SERDES table to 
update it from "org.apache.hive.hcatalog.data.JsonSerDe" to 
"org.apache.hadoop.hive.serde2.JsonSerDe"
   
   
   ### Why are the changes needed?
   Removing redundant code to make JsonSerde as first class serde in hive
   Better user experience after the upgrade (Avoids CNF)
   
   
   ### Does this PR introduce _any_ user-facing change?
    'No'
   
   
   ### How was this patch tested?
   mvn test -Dtest=TestMiniLlapLocalCliDriver 
-Dqfile=json_serde1.q,json_serde_qualified_types.q,json_serde_tsformat.q,parquet_mixed_partition_formats2.q,temp_table_parquet_mixed_partition_formats2.q
   




Issue Time Tracking
-------------------

            Worklog Id:     (was: 853196)
    Remaining Estimate: 0h
            Time Spent: 10m

> Remove JsonSerde from hcatalog, Upgrade should update changed FQN for 
> JsonSerDe in HMS DB 
> ------------------------------------------------------------------------------------------
>
>                 Key: HIVE-27180
>                 URL: https://issues.apache.org/jira/browse/HIVE-27180
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Hive
>            Reporter: Riju Trivedi
>            Assignee: Riju Trivedi
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> As Hcatalog JsonSerDe uses the "serde2" version as a back end, Remove 
> o{*}rg.apache.hive.hcatalog.data.JsonSerDe{*} from hive-hcatalog. Fix tests 
> to use the new Serde class org.apache.hadoop.hive.serde2.JsonSerDe. Hive 
> Upgrade schema script can update the SERDES table to alter the class name to 
> the new class name, the old tables would work automatically.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to