[jira] [Work logged] (HIVE-24324) Remove deprecated API usage from Avro

2021-08-09 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-24324:
-

Author: ASF GitHub Bot
Created on: 10/Aug/21 04:34
Start Date: 10/Aug/21 04:34
Worklog Time Spent: 10m 
  Work Description: sunchao commented on pull request #1711:
URL: https://github.com/apache/hive/pull/1711#issuecomment-895721901


   Thanks @szehon-ho !


-- 
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.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 636260)
Time Spent: 2h 10m  (was: 2h)

> Remove deprecated API usage from Avro
> -
>
> Key: HIVE-24324
> URL: https://issues.apache.org/jira/browse/HIVE-24324
> Project: Hive
>  Issue Type: Improvement
>  Components: Avro
>Reporter: Chao Sun
>Assignee: Chao Sun
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.3.8, 4.0.0
>
>  Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> {{JsonProperties#getJsonProp}} has been marked as deprecated in Avro 1.8 and 
> removed since Avro 1.9. This replaces the API usage for this with 
> {{getObjectProp}} which doesn't leak Json node from jackson. This will help 
> downstream apps to depend on Hive while using higher version of Avro, and 
> also help Hive to upgrade Avro version itself.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (HIVE-24324) Remove deprecated API usage from Avro

2021-08-09 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-24324:
-

Author: ASF GitHub Bot
Created on: 10/Aug/21 04:34
Start Date: 10/Aug/21 04:34
Worklog Time Spent: 10m 
  Work Description: sunchao merged pull request #1711:
URL: https://github.com/apache/hive/pull/1711


   


-- 
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.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 636261)
Time Spent: 2h 20m  (was: 2h 10m)

> Remove deprecated API usage from Avro
> -
>
> Key: HIVE-24324
> URL: https://issues.apache.org/jira/browse/HIVE-24324
> Project: Hive
>  Issue Type: Improvement
>  Components: Avro
>Reporter: Chao Sun
>Assignee: Chao Sun
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.3.8, 4.0.0
>
>  Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> {{JsonProperties#getJsonProp}} has been marked as deprecated in Avro 1.8 and 
> removed since Avro 1.9. This replaces the API usage for this with 
> {{getObjectProp}} which doesn't leak Json node from jackson. This will help 
> downstream apps to depend on Hive while using higher version of Avro, and 
> also help Hive to upgrade Avro version itself.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (HIVE-24324) Remove deprecated API usage from Avro

2021-08-09 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-24324:
-

Author: ASF GitHub Bot
Created on: 09/Aug/21 17:37
Start Date: 09/Aug/21 17:37
Worklog Time Spent: 10m 
  Work Description: sunchao opened a new pull request #1711:
URL: https://github.com/apache/hive/pull/1711


   
   
   ### What changes were proposed in this pull request?
   
   
   This backports #1621 to branch-3.1.
   
   This mainly replace `JsonProperties.getJsonProp` with 
`JsonProperties.getObjectProp`. 
   
   Note that there's one place in `SchemaToTypeInfo` where we explicitly call 
`getIntValue` to forbid string as precision/scale values (see 
[HIVE-7174](https://issues.apache.org/jira/browse/HIVE-7174)). To retain the 
old behavior, we check if the returned object is integer type, and if not, 
return a default 0 following `JsonNode` implementation.
   
   ### Why are the changes needed?
   
   
   `JsonProperties#getJsonProp` has been marked as deprecated in Avro 1.8 and 
removed since Avro 1.9. This replaces the API usage for this with 
`getObjectProp` which doesn't leak Json node from jackson. This will help 
downstream apps to depend on Hive while using higher version of Avro, and also 
help Hive to upgrade Avro version itself.
   
   ### Does this PR introduce _any_ user-facing change?
   
   
   No
   
   ### How was this patch tested?
   
   
   Existing tests.


-- 
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.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 635980)
Time Spent: 2h  (was: 1h 50m)

> Remove deprecated API usage from Avro
> -
>
> Key: HIVE-24324
> URL: https://issues.apache.org/jira/browse/HIVE-24324
> Project: Hive
>  Issue Type: Improvement
>  Components: Avro
>Reporter: Chao Sun
>Assignee: Chao Sun
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.3.8, 4.0.0
>
>  Time Spent: 2h
>  Remaining Estimate: 0h
>
> {{JsonProperties#getJsonProp}} has been marked as deprecated in Avro 1.8 and 
> removed since Avro 1.9. This replaces the API usage for this with 
> {{getObjectProp}} which doesn't leak Json node from jackson. This will help 
> downstream apps to depend on Hive while using higher version of Avro, and 
> also help Hive to upgrade Avro version itself.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (HIVE-24324) Remove deprecated API usage from Avro

2021-02-02 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-24324:
-

Author: ASF GitHub Bot
Created on: 03/Feb/21 01:07
Start Date: 03/Feb/21 01:07
Worklog Time Spent: 10m 
  Work Description: github-actions[bot] closed pull request #1711:
URL: https://github.com/apache/hive/pull/1711


   



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:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 546466)
Time Spent: 1h 50m  (was: 1h 40m)

> Remove deprecated API usage from Avro
> -
>
> Key: HIVE-24324
> URL: https://issues.apache.org/jira/browse/HIVE-24324
> Project: Hive
>  Issue Type: Improvement
>  Components: Avro
>Reporter: Chao Sun
>Assignee: Chao Sun
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.3.8, 4.0.0
>
>  Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> {{JsonProperties#getJsonProp}} has been marked as deprecated in Avro 1.8 and 
> removed since Avro 1.9. This replaces the API usage for this with 
> {{getObjectProp}} which doesn't leak Json node from jackson. This will help 
> downstream apps to depend on Hive while using higher version of Avro, and 
> also help Hive to upgrade Avro version itself.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (HIVE-24324) Remove deprecated API usage from Avro

2021-02-01 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-24324:
-

Author: ASF GitHub Bot
Created on: 02/Feb/21 00:54
Start Date: 02/Feb/21 00:54
Worklog Time Spent: 10m 
  Work Description: github-actions[bot] closed pull request #1711:
URL: https://github.com/apache/hive/pull/1711


   



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:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 545712)
Time Spent: 1h 40m  (was: 1.5h)

> Remove deprecated API usage from Avro
> -
>
> Key: HIVE-24324
> URL: https://issues.apache.org/jira/browse/HIVE-24324
> Project: Hive
>  Issue Type: Improvement
>  Components: Avro
>Reporter: Chao Sun
>Assignee: Chao Sun
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.3.8, 4.0.0
>
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> {{JsonProperties#getJsonProp}} has been marked as deprecated in Avro 1.8 and 
> removed since Avro 1.9. This replaces the API usage for this with 
> {{getObjectProp}} which doesn't leak Json node from jackson. This will help 
> downstream apps to depend on Hive while using higher version of Avro, and 
> also help Hive to upgrade Avro version itself.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (HIVE-24324) Remove deprecated API usage from Avro

2021-01-25 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-24324:
-

Author: ASF GitHub Bot
Created on: 26/Jan/21 03:56
Start Date: 26/Jan/21 03:56
Worklog Time Spent: 10m 
  Work Description: github-actions[bot] commented on pull request #1711:
URL: https://github.com/apache/hive/pull/1711#issuecomment-766484598


   This pull request has been automatically marked as stale because it has not 
had recent activity. It will be closed if no further activity occurs.
   Feel free to reach out on the d...@hive.apache.org list if the patch is in 
need of reviews.



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:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 541547)
Time Spent: 1.5h  (was: 1h 20m)

> Remove deprecated API usage from Avro
> -
>
> Key: HIVE-24324
> URL: https://issues.apache.org/jira/browse/HIVE-24324
> Project: Hive
>  Issue Type: Improvement
>  Components: Avro
>Reporter: Chao Sun
>Assignee: Chao Sun
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.3.8, 4.0.0
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> {{JsonProperties#getJsonProp}} has been marked as deprecated in Avro 1.8 and 
> removed since Avro 1.9. This replaces the API usage for this with 
> {{getObjectProp}} which doesn't leak Json node from jackson. This will help 
> downstream apps to depend on Hive while using higher version of Avro, and 
> also help Hive to upgrade Avro version itself.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (HIVE-24324) Remove deprecated API usage from Avro

2021-01-24 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-24324:
-

Author: ASF GitHub Bot
Created on: 25/Jan/21 01:32
Start Date: 25/Jan/21 01:32
Worklog Time Spent: 10m 
  Work Description: github-actions[bot] commented on pull request #1711:
URL: https://github.com/apache/hive/pull/1711#issuecomment-766484598


   This pull request has been automatically marked as stale because it has not 
had recent activity. It will be closed if no further activity occurs.
   Feel free to reach out on the d...@hive.apache.org list if the patch is in 
need of reviews.



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:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 540802)
Time Spent: 1h 20m  (was: 1h 10m)

> Remove deprecated API usage from Avro
> -
>
> Key: HIVE-24324
> URL: https://issues.apache.org/jira/browse/HIVE-24324
> Project: Hive
>  Issue Type: Improvement
>  Components: Avro
>Reporter: Chao Sun
>Assignee: Chao Sun
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.3.8, 4.0.0
>
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> {{JsonProperties#getJsonProp}} has been marked as deprecated in Avro 1.8 and 
> removed since Avro 1.9. This replaces the API usage for this with 
> {{getObjectProp}} which doesn't leak Json node from jackson. This will help 
> downstream apps to depend on Hive while using higher version of Avro, and 
> also help Hive to upgrade Avro version itself.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (HIVE-24324) Remove deprecated API usage from Avro

2020-11-25 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-24324:
-

Author: ASF GitHub Bot
Created on: 25/Nov/20 21:19
Start Date: 25/Nov/20 21:19
Worklog Time Spent: 10m 
  Work Description: sunchao opened a new pull request #1711:
URL: https://github.com/apache/hive/pull/1711


   
   
   ### What changes were proposed in this pull request?
   
   
   This backports #1621 to branch-3.1.
   
   This mainly replace `JsonProperties.getJsonProp` with 
`JsonProperties.getObjectProp`. 
   
   Note that there's one place in `SchemaToTypeInfo` where we explicitly call 
`getIntValue` to forbid string as precision/scale values (see 
[HIVE-7174](https://issues.apache.org/jira/browse/HIVE-7174)). To retain the 
old behavior, we check if the returned object is integer type, and if not, 
return a default 0 following `JsonNode` implementation.
   
   ### Why are the changes needed?
   
   
   `JsonProperties#getJsonProp` has been marked as deprecated in Avro 1.8 and 
removed since Avro 1.9. This replaces the API usage for this with 
`getObjectProp` which doesn't leak Json node from jackson. This will help 
downstream apps to depend on Hive while using higher version of Avro, and also 
help Hive to upgrade Avro version itself.
   
   ### Does this PR introduce _any_ user-facing change?
   
   
   No
   
   ### How was this patch tested?
   
   
   Existing tests.



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:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 516835)
Time Spent: 1h 10m  (was: 1h)

> Remove deprecated API usage from Avro
> -
>
> Key: HIVE-24324
> URL: https://issues.apache.org/jira/browse/HIVE-24324
> Project: Hive
>  Issue Type: Improvement
>  Components: Avro
>Reporter: Chao Sun
>Assignee: Chao Sun
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.3.8, 4.0.0
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> {{JsonProperties#getJsonProp}} has been marked as deprecated in Avro 1.8 and 
> removed since Avro 1.9. This replaces the API usage for this with 
> {{getObjectProp}} which doesn't leak Json node from jackson. This will help 
> downstream apps to depend on Hive while using higher version of Avro, and 
> also help Hive to upgrade Avro version itself.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (HIVE-24324) Remove deprecated API usage from Avro

2020-11-17 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-24324:
-

Author: ASF GitHub Bot
Created on: 17/Nov/20 20:17
Start Date: 17/Nov/20 20:17
Worklog Time Spent: 10m 
  Work Description: sunchao merged pull request #1672:
URL: https://github.com/apache/hive/pull/1672


   



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:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 513145)
Time Spent: 50m  (was: 40m)

> Remove deprecated API usage from Avro
> -
>
> Key: HIVE-24324
> URL: https://issues.apache.org/jira/browse/HIVE-24324
> Project: Hive
>  Issue Type: Improvement
>  Components: Avro
>Reporter: Chao Sun
>Assignee: Chao Sun
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.0
>
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> {{JsonProperties#getJsonProp}} has been marked as deprecated in Avro 1.8 and 
> removed since Avro 1.9. This replaces the API usage for this with 
> {{getObjectProp}} which doesn't leak Json node from jackson. This will help 
> downstream apps to depend on Hive while using higher version of Avro, and 
> also help Hive to upgrade Avro version itself.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (HIVE-24324) Remove deprecated API usage from Avro

2020-11-17 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-24324:
-

Author: ASF GitHub Bot
Created on: 17/Nov/20 20:17
Start Date: 17/Nov/20 20:17
Worklog Time Spent: 10m 
  Work Description: sunchao commented on pull request #1672:
URL: https://github.com/apache/hive/pull/1672#issuecomment-729176544


   Thanks @aihuaxu ! Test failures unrelated. Merging to branch-2.3 now.



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:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 513146)
Time Spent: 1h  (was: 50m)

> Remove deprecated API usage from Avro
> -
>
> Key: HIVE-24324
> URL: https://issues.apache.org/jira/browse/HIVE-24324
> Project: Hive
>  Issue Type: Improvement
>  Components: Avro
>Reporter: Chao Sun
>Assignee: Chao Sun
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.0
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> {{JsonProperties#getJsonProp}} has been marked as deprecated in Avro 1.8 and 
> removed since Avro 1.9. This replaces the API usage for this with 
> {{getObjectProp}} which doesn't leak Json node from jackson. This will help 
> downstream apps to depend on Hive while using higher version of Avro, and 
> also help Hive to upgrade Avro version itself.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (HIVE-24324) Remove deprecated API usage from Avro

2020-11-13 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-24324:
-

Author: ASF GitHub Bot
Created on: 13/Nov/20 23:37
Start Date: 13/Nov/20 23:37
Worklog Time Spent: 10m 
  Work Description: sunchao commented on pull request #1672:
URL: https://github.com/apache/hive/pull/1672#issuecomment-727085688


   cc @szehon-ho @aihuaxu could you review this? thanks.



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:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 511622)
Time Spent: 40m  (was: 0.5h)

> Remove deprecated API usage from Avro
> -
>
> Key: HIVE-24324
> URL: https://issues.apache.org/jira/browse/HIVE-24324
> Project: Hive
>  Issue Type: Improvement
>  Components: Avro
>Reporter: Chao Sun
>Assignee: Chao Sun
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.0
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> {{JsonProperties#getJsonProp}} has been marked as deprecated in Avro 1.8 and 
> removed since Avro 1.9. This replaces the API usage for this with 
> {{getObjectProp}} which doesn't leak Json node from jackson. This will help 
> downstream apps to depend on Hive while using higher version of Avro, and 
> also help Hive to upgrade Avro version itself.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (HIVE-24324) Remove deprecated API usage from Avro

2020-11-13 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-24324:
-

Author: ASF GitHub Bot
Created on: 13/Nov/20 18:57
Start Date: 13/Nov/20 18:57
Worklog Time Spent: 10m 
  Work Description: sunchao opened a new pull request #1672:
URL: https://github.com/apache/hive/pull/1672


   
   
   ### What changes were proposed in this pull request?
   
   
   This backports #1621 to branch-2.3.
   
   This mainly replace `JsonProperties.getJsonProp` with 
`JsonProperties.getObjectProp`. 
   
   Note that there's one place in `SchemaToTypeInfo` where we explicitly call 
`getIntValue` to forbid string as precision/scale values (see 
[HIVE-7174](https://issues.apache.org/jira/browse/HIVE-7174)). To retain the 
old behavior, we check if the returned object is integer type, and if not, 
return a default 0 following `JsonNode` implementation.
   
   ### Why are the changes needed?
   
   
   `JsonProperties#getJsonProp` has been marked as deprecated in Avro 1.8 and 
removed since Avro 1.9. This replaces the API usage for this with 
`getObjectProp` which doesn't leak Json node from jackson. This will help 
downstream apps to depend on Hive while using higher version of Avro, and also 
help Hive to upgrade Avro version itself.
   
   ### Does this PR introduce _any_ user-facing change?
   
   
   No
   
   ### How was this patch tested?
   
   
   Existing tests.



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:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 511489)
Time Spent: 0.5h  (was: 20m)

> Remove deprecated API usage from Avro
> -
>
> Key: HIVE-24324
> URL: https://issues.apache.org/jira/browse/HIVE-24324
> Project: Hive
>  Issue Type: Improvement
>  Components: Avro
>Reporter: Chao Sun
>Assignee: Chao Sun
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.0
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> {{JsonProperties#getJsonProp}} has been marked as deprecated in Avro 1.8 and 
> removed since Avro 1.9. This replaces the API usage for this with 
> {{getObjectProp}} which doesn't leak Json node from jackson. This will help 
> downstream apps to depend on Hive while using higher version of Avro, and 
> also help Hive to upgrade Avro version itself.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (HIVE-24324) Remove deprecated API usage from Avro

2020-11-03 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-24324:
-

Author: ASF GitHub Bot
Created on: 03/Nov/20 18:32
Start Date: 03/Nov/20 18:32
Worklog Time Spent: 10m 
  Work Description: sunchao commented on pull request #1621:
URL: https://github.com/apache/hive/pull/1621#issuecomment-721303888


   Thanks Aihua for +1 from the JIRA. Merging to master.



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:
us...@infra.apache.org


Issue Time Tracking
---

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

> Remove deprecated API usage from Avro
> -
>
> Key: HIVE-24324
> URL: https://issues.apache.org/jira/browse/HIVE-24324
> Project: Hive
>  Issue Type: Improvement
>  Components: Avro
>Reporter: Chao Sun
>Assignee: Chao Sun
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> {{JsonProperties#getJsonProp}} has been marked as deprecated in Avro 1.8 and 
> removed since Avro 1.9. This replaces the API usage for this with 
> {{getObjectProp}} which doesn't leak Json node from jackson. This will help 
> downstream apps to depend on Hive while using higher version of Avro, and 
> also help Hive to upgrade Avro version itself.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (HIVE-24324) Remove deprecated API usage from Avro

2020-11-03 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-24324:
-

Author: ASF GitHub Bot
Created on: 03/Nov/20 18:32
Start Date: 03/Nov/20 18:32
Worklog Time Spent: 10m 
  Work Description: sunchao merged pull request #1621:
URL: https://github.com/apache/hive/pull/1621


   



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:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 507266)
Time Spent: 20m  (was: 10m)

> Remove deprecated API usage from Avro
> -
>
> Key: HIVE-24324
> URL: https://issues.apache.org/jira/browse/HIVE-24324
> Project: Hive
>  Issue Type: Improvement
>  Components: Avro
>Reporter: Chao Sun
>Assignee: Chao Sun
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> {{JsonProperties#getJsonProp}} has been marked as deprecated in Avro 1.8 and 
> removed since Avro 1.9. This replaces the API usage for this with 
> {{getObjectProp}} which doesn't leak Json node from jackson. This will help 
> downstream apps to depend on Hive while using higher version of Avro, and 
> also help Hive to upgrade Avro version itself.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)