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

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

                Author: ASF GitHub Bot
            Created on: 09/May/23 09:56
            Start Date: 09/May/23 09:56
    Worklog Time Spent: 10m 
      Work Description: henrib opened a new pull request, #4303:
URL: https://github.com/apache/hive/pull/4303

   
   ### What changes were proposed in this pull request?
   When a tool runs without a session, create an empty id list.
   
   ### Why are the changes needed?
   To avoid a potential NPE and be consistent.
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   Unit test explicitly closing session before call




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

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

> Hive.getPartitionsByNames should not enforce SessionState to be available
> -------------------------------------------------------------------------
>
>                 Key: HIVE-27268
>                 URL: https://issues.apache.org/jira/browse/HIVE-27268
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>    Affects Versions: 3.1.3
>            Reporter: Henri Biestro
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> HIVE-24743, HIVE-24392 is enforcing to check for valid write Id list for 
> "Hive.getPartitionsByName".
> This breaks basic API integration. For a user who needs to get basic 
> partition detail, he is forced to have SessionState.
> Request in this ticket is to ensure that if SessionState.get() is null, it 
> should return empty validWriteIdList.



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

Reply via email to