[jira] [Created] (HIVE-24341) Sweep phase for proactive cache eviction

2020-10-30 Thread Jira
Ádám Szita created HIVE-24341:
-

 Summary: Sweep phase for proactive cache eviction
 Key: HIVE-24341
 URL: https://issues.apache.org/jira/browse/HIVE-24341
 Project: Hive
  Issue Type: Sub-task
Reporter: Ádám Szita
Assignee: Ádám Szita






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


[jira] [Created] (HIVE-24340) Mark phase for proactive cache eviction

2020-10-30 Thread Jira
Ádám Szita created HIVE-24340:
-

 Summary: Mark phase for proactive cache eviction
 Key: HIVE-24340
 URL: https://issues.apache.org/jira/browse/HIVE-24340
 Project: Hive
  Issue Type: Sub-task
Reporter: Ádám Szita
Assignee: Ádám Szita






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


[jira] [Created] (HIVE-24339) REPL LOAD command ignores config properties set by WITH clause

2020-10-30 Thread Jira
László Bodor created HIVE-24339:
---

 Summary: REPL LOAD command ignores config properties set by WITH 
clause
 Key: HIVE-24339
 URL: https://issues.apache.org/jira/browse/HIVE-24339
 Project: Hive
  Issue Type: Bug
Reporter: László Bodor






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


[jira] [Created] (HIVE-24338) HPL/SQL missing features

2020-10-30 Thread Attila Magyar (Jira)
Attila Magyar created HIVE-24338:


 Summary: HPL/SQL missing features
 Key: HIVE-24338
 URL: https://issues.apache.org/jira/browse/HIVE-24338
 Project: Hive
  Issue Type: Improvement
  Components: hpl/sql
Reporter: Attila Magyar
Assignee: Attila Magyar


There are some features which are supported by Oracle's PL/SQL but not by 
HPL/SQL. This Jira is about to prioritize them and investigate the feasibility 
of the implementation.
 * ForAll syntax like: ForAll j in i..j save exceptions
 * Bulk collect: : Fetch cursor Bulk Collect Into list Limit n;
 * Type declartion: Type T_cab is TABLE of
 * TABLE datatype
 * GOTO and LABEL
 * Global variables like $$PLSQL_UNIT and others
 * Named parameters func(name1 => value1, name2 => value2);
 * Built in functions: trunc, lpad, to_date, ltrim, rtrim, sysdate



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


[jira] [Created] (HIVE-24337) Cache delete delta files in LLAP cache

2020-10-30 Thread Jira
Ádám Szita created HIVE-24337:
-

 Summary: Cache delete delta files in LLAP cache
 Key: HIVE-24337
 URL: https://issues.apache.org/jira/browse/HIVE-24337
 Project: Hive
  Issue Type: New Feature
Reporter: Ádám Szita


HIVE-23824 added the functionality of caching metadata part of orc files in 
LLAP cache, so that ACID reads can be faster. However the content itself still 
needs to be read in every single time. If this could be cached too, additional 
time could be saved.



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


[jira] [Created] (HIVE-24336) Turn off the direct insert for EXPLAIN ANALYZE queries

2020-10-30 Thread Marta Kuczora (Jira)
Marta Kuczora created HIVE-24336:


 Summary: Turn off the direct insert for EXPLAIN ANALYZE queries
 Key: HIVE-24336
 URL: https://issues.apache.org/jira/browse/HIVE-24336
 Project: Hive
  Issue Type: Bug
Reporter: Marta Kuczora
Assignee: Marta Kuczora
 Fix For: 4.0.0






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


[jira] [Created] (HIVE-24335) RelOptMaterialization creates LogicalProject on top of HiveTableScan

2020-10-30 Thread Krisztian Kasa (Jira)
Krisztian Kasa created HIVE-24335:
-

 Summary: RelOptMaterialization creates LogicalProject on top of 
HiveTableScan
 Key: HIVE-24335
 URL: https://issues.apache.org/jira/browse/HIVE-24335
 Project: Hive
  Issue Type: Bug
  Components: Materialized views
Reporter: Krisztian Kasa
Assignee: Krisztian Kasa


In some cases RelOptMaterialization creates a Project operator on top of 
materialized view  HiveTableScan.
 Ex.: when some columns need to be casted.
{code:java}
LogicalProject(empid=[CAST($0):INTEGER NOT NULL], deptno=[$1], name=[$2], 
salary=[$3], commission=[$4])
  HiveTableScan(table=[[default, mv1_n2]], table:alias=[mv1_n2])
{code}
This Project operator is represented by a LogicalProject however a HiveProject 
should be used. 
 Cause: in calcite RelOptMaterialization constructor calls 
RelOptUtil.createCastRel which uses the RelFactories.DEFAULT_PROJECT_FACTORY
 
[https://github.com/apache/calcite/blob/987cb7f7da6ff1cb436718ac93868d50e88e875f/core/src/main/java/org/apache/calcite/plan/RelOptMaterialization.java#L60]
 
[https://github.com/apache/calcite/blob/987cb7f7da6ff1cb436718ac93868d50e88e875f/core/src/main/java/org/apache/calcite/plan/RelOptUtil.java#L832]



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


Review Request 72995: Cut long methods in Driver to smaller, more manageable pieces

2020-10-30 Thread Miklos Gergely via Review Board

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72995/
---

Review request for hive and David Mollitor.


Bugs: HIVE-24333
https://issues.apache.org/jira/browse/HIVE-24333


Repository: hive-git


Description
---

Some methods in Driver are too long to be easily understandable. They should be 
cut into pieces to make them easier to understand.


Diffs
-

  ql/src/java/org/apache/hadoop/hive/ql/Driver.java 59ebbc41f4 
  ql/src/java/org/apache/hadoop/hive/ql/DriverContext.java 0afa657ccb 
  ql/src/java/org/apache/hadoop/hive/ql/DriverFactory.java 8817e42ed5 
  ql/src/java/org/apache/hadoop/hive/ql/DriverTxnHandler.java 1336b92de0 


Diff: https://reviews.apache.org/r/72995/diff/1/


Testing
---

All tests are still running fine.


Thanks,

Miklos Gergely



[jira] [Created] (HIVE-24334) SyntheticJoinPredicate creation may be missed when ReduceSink has Join input

2020-10-30 Thread Krisztian Kasa (Jira)
Krisztian Kasa created HIVE-24334:
-

 Summary: SyntheticJoinPredicate creation may be missed when 
ReduceSink has Join input
 Key: HIVE-24334
 URL: https://issues.apache.org/jira/browse/HIVE-24334
 Project: Hive
  Issue Type: Improvement
  Components: Physical Optimizer
Reporter: Krisztian Kasa
Assignee: Krisztian Kasa






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