[jira] [Created] (HIVE-24057) Hive beeline not throw Error when update a varchar column value is exceed the length length

2020-08-21 Thread ABHISHEK KUMAR GUPTA (Jira)
ABHISHEK KUMAR GUPTA created HIVE-24057:
---

 Summary: Hive beeline not throw Error when update a varchar column 
value is exceed the length length
 Key: HIVE-24057
 URL: https://issues.apache.org/jira/browse/HIVE-24057
 Project: Hive
  Issue Type: Bug
  Components: Hive
Affects Versions: 3.1.0
Reporter: ABHISHEK KUMAR GUPTA


1. CREATE TABLE table013(orderkey int, orderstatus varchar(7), totalprice 
double, orderdate date) stored as orc tblproperties('transactional'='true');
2. INSERT INTO  table013 VALUES(10, 'SUCCESS', 125.15, DATE'2019-05-17');
3. update table013 set orderkey=40,orderstatus='FAILEDD' where orderkey=10;

Current behavior: Operation will be success. No error
But select * from table013; does not update the column orderstatus.

Expected: Should throw Mismatch column Error Msg as orderstatus  column expect 
7 length.




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


[jira] [Created] (HIVE-24056) Column stats gather stage as part of import table command plan generation

2020-08-21 Thread Ashish Sharma (Jira)
Ashish Sharma created HIVE-24056:


 Summary: Column stats gather stage as part of import table command 
plan generation 
 Key: HIVE-24056
 URL: https://issues.apache.org/jira/browse/HIVE-24056
 Project: Hive
  Issue Type: Improvement
  Components: Import/Export, Statistics
Reporter: Ashish Sharma
Assignee: Ashish Sharma


Description - 

As of today in import table command does't have column stats gather phase as a 
part of execution plan. As a result of which no matter what 
hive.stats.autogather set to true or false. columns stats are reset while 
importing the table/partitions for all types of tables.

DOD
Adding  column stats gather stage to import plan



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


[jira] [Created] (HIVE-24055) Admin role do not have admin privilege when using hive client

2020-08-21 Thread gongyixuan (Jira)
gongyixuan created HIVE-24055:
-

 Summary: Admin role do not have admin privilege when using hive 
client
 Key: HIVE-24055
 URL: https://issues.apache.org/jira/browse/HIVE-24055
 Project: Hive
  Issue Type: Bug
Affects Versions: 2.3.2
 Environment: hive 2.3.2

centos 7
Reporter: gongyixuan
 Attachments: image-2020-08-21-18-38-20-692.png, 
image-2020-08-21-18-43-00-677.png

When judge a user is a admin role or not ,the currentRoles not initialized 
correctly.  

User zdp is admin role , but not be included in currentRoles,making  
isUserAdmin() return false.

!image-2020-08-21-18-43-00-677.png!



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