[jira] [Created] (HIVE-24733) Handle replication when db location and managed location is set to custom location on source

2021-02-03 Thread Pravin Sinha (Jira)
Pravin Sinha created HIVE-24733:
---

 Summary: Handle replication when db location and managed location 
is set to custom location on source
 Key: HIVE-24733
 URL: https://issues.apache.org/jira/browse/HIVE-24733
 Project: Hive
  Issue Type: Task
Reporter: Pravin Sinha
Assignee: Pravin Sinha


{color:#172b4d} {color}



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


[jira] [Created] (HIVE-24732) CachedStore does not return the fields which are auto-generated by the database

2021-02-03 Thread Vihang Karajgaonkar (Jira)
Vihang Karajgaonkar created HIVE-24732:
--

 Summary: CachedStore does not return the fields which are 
auto-generated by the database
 Key: HIVE-24732
 URL: https://issues.apache.org/jira/browse/HIVE-24732
 Project: Hive
  Issue Type: Bug
Reporter: Vihang Karajgaonkar


It looks like CachedStore directly caches the thrift objects as they are sent 
by the client. The general pattern seems to be similar to below:

{noformat}
  @Override public void createTable(Table tbl) throws InvalidObjectException, 
MetaException {
rawStore.createTable(tbl);
// in case of event based cache update, cache will be updated during commit.
if (canUseEvents) {
  return;
}
String catName = normalizeIdentifier(tbl.getCatName());
String dbName = normalizeIdentifier(tbl.getDbName());
String tblName = normalizeIdentifier(tbl.getTableName());
if (!shouldCacheTable(catName, dbName, tblName)) {
  return;
}
validateTableType(tbl);
// TODO in case of CachedStore we cache directly the object send by the 
client.
// this is problematic since certain fields of the object are populated
// after it is persisted. The cache will not be able to serve those fields 
correctly.
sharedCache.addTableToCache(catName, dbName, tblName, tbl);
  }
{noformat}

The problem here is that the table id is generated when the table is persisted 
in the database. The cachedStore will cache the Table object whose id will be 0.



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


[jira] [Created] (HIVE-24731) NullPointerException with parameterized query

2021-02-03 Thread Vineet Garg (Jira)
Vineet Garg created HIVE-24731:
--

 Summary: NullPointerException with parameterized query
 Key: HIVE-24731
 URL: https://issues.apache.org/jira/browse/HIVE-24731
 Project: Hive
  Issue Type: Sub-task
  Components: Query Planning
Reporter: Vineet Garg


*Repro*
{code:sql}
explain prepare pint2 from select t2.ctinyint as ag from alltypesorc t1 join 
alltypesorc t2 on t1.cint=t2.cint where t1.cint <= ? ;

explain execute pint2 using 100;
{code}



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


[jira] [Created] (HIVE-24730) Shims classes override values from hive-site.xml and tez-site.xml silently

2021-02-03 Thread Jira
László Bodor created HIVE-24730:
---

 Summary: Shims classes override values from hive-site.xml and 
tez-site.xml silently
 Key: HIVE-24730
 URL: https://issues.apache.org/jira/browse/HIVE-24730
 Project: Hive
  Issue Type: Bug
Reporter: László Bodor






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


[jira] [Created] (HIVE-24727) Cache hydration api in llap proto

2021-02-03 Thread Antal Sinkovits (Jira)
Antal Sinkovits created HIVE-24727:
--

 Summary: Cache hydration api in llap proto
 Key: HIVE-24727
 URL: https://issues.apache.org/jira/browse/HIVE-24727
 Project: Hive
  Issue Type: Sub-task
Reporter: Antal Sinkovits






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


[jira] [Created] (HIVE-24729) Implement strategy for llap cache hydration

2021-02-03 Thread Antal Sinkovits (Jira)
Antal Sinkovits created HIVE-24729:
--

 Summary: Implement strategy for llap cache hydration
 Key: HIVE-24729
 URL: https://issues.apache.org/jira/browse/HIVE-24729
 Project: Hive
  Issue Type: Sub-task
Reporter: Antal Sinkovits






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


[jira] [Created] (HIVE-24728) Low level reader for llap cache hydration

2021-02-03 Thread Antal Sinkovits (Jira)
Antal Sinkovits created HIVE-24728:
--

 Summary: Low level reader for llap cache hydration
 Key: HIVE-24728
 URL: https://issues.apache.org/jira/browse/HIVE-24728
 Project: Hive
  Issue Type: Sub-task
Reporter: Antal Sinkovits






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


[jira] [Created] (HIVE-24726) Track required data for cache hydration

2021-02-03 Thread Antal Sinkovits (Jira)
Antal Sinkovits created HIVE-24726:
--

 Summary: Track required data for cache hydration
 Key: HIVE-24726
 URL: https://issues.apache.org/jira/browse/HIVE-24726
 Project: Hive
  Issue Type: Sub-task
Reporter: Antal Sinkovits






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


[jira] [Created] (HIVE-24725) Collect top priority items from llap cache policy

2021-02-03 Thread Antal Sinkovits (Jira)
Antal Sinkovits created HIVE-24725:
--

 Summary: Collect top priority items from llap cache policy
 Key: HIVE-24725
 URL: https://issues.apache.org/jira/browse/HIVE-24725
 Project: Hive
  Issue Type: Sub-task
Reporter: Antal Sinkovits






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