[jira] [Created] (HIVE-25876) Update log4j2 version to 2.17.1

2022-01-18 Thread Anatoly (Jira)
Anatoly created HIVE-25876:
--

 Summary: Update log4j2 version to 2.17.1
 Key: HIVE-25876
 URL: https://issues.apache.org/jira/browse/HIVE-25876
 Project: Hive
  Issue Type: Bug
  Components: Logging
Affects Versions: 3.1.2
Reporter: Anatoly


Hive version 3.1.2 -> log3j -> Should upgrade the version to 2.17.1



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Created] (HIVE-25875) Support multiple authentication mechanisms simultaneously

2022-01-18 Thread Naveen Gangam (Jira)
Naveen Gangam created HIVE-25875:


 Summary: Support multiple authentication mechanisms simultaneously 
 Key: HIVE-25875
 URL: https://issues.apache.org/jira/browse/HIVE-25875
 Project: Hive
  Issue Type: Improvement
  Components: HiveServer2
Affects Versions: 3.1.0
Reporter: Naveen Gangam
Assignee: Naveen Gangam


Currently, HS2 supports a single form of auth on any given instance of 
HiveServer2. Hive should be able to support multiple auth mechanisms on a 
single instance especially with http transport. for example, LDAP and SAML.  In 
both cases, HS2 ends up with receiving an Authorization Header in the request. 
Similarly we could be able to support JWT support or other forms of boundary 
authentication that is done outside of Hive.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Created] (HIVE-25874) Slow filter evaluation of nest struct fields in vectorized executions

2022-01-18 Thread Zoltan Haindrich (Jira)
Zoltan Haindrich created HIVE-25874:
---

 Summary: Slow filter evaluation of nest struct fields in 
vectorized executions
 Key: HIVE-25874
 URL: https://issues.apache.org/jira/browse/HIVE-25874
 Project: Hive
  Issue Type: Improvement
Reporter: Zoltan Haindrich


{code:java}

create table t as
select
named_struct('id',13,'str','string','nest',named_struct('id',12,'str','string','arr',array('value','value','value','value','value','value','value','value','value','value','value','value','value','value','value','value','value','value','value','value','value','value','value','value','value','value','value','value','value','value','value','value')))
s;

-- go up to 1M rows
insert into table t select * from t union all select * from t union all select 
* from t union all select * from t union all select * from t union all select * 
from t union all select * from t union all select * from t union all select * 
from t;
insert into table t select * from t union all select * from t union all select 
* from t union all select * from t union all select * from t union all select * 
from t union all select * from t union all select * from t union all select * 
from t;
insert into table t select * from t union all select * from t union all select 
* from t union all select * from t union all select * from t union all select * 
from t union all select * from t union all select * from t union all select * 
from t;
insert into table t select * from t union all select * from t union all select 
* from t union all select * from t union all select * from t union all select * 
from t union all select * from t union all select * from t union all select * 
from t;
insert into table t select * from t union all select * from t union all select 
* from t union all select * from t union all select * from t union all select * 
from t union all select * from t union all select * from t union all select * 
from t;
-- insert into table t select * from t union all select * from t union all 
select * from t union all select * from t union all select * from t union all 
select * from t union all select * from t union all select * from t union all 
select * from t;


set hive.fetch.task.conversion=none;

select count(1) from t;
--explain
select s
.id from t
where 
s
.nest
.id  > 0;

 {code}


interestingly; the issue is not present:
* for a query not looking into the nested struct
* and in case the struct with the array is at the top level

{code}
select count(1) from t;
--explain
select s
.id from t
where 
s
-- .nest
.id  > 0;
{code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)