-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/68293/
-----------------------------------------------------------
Review request for ranger, Ankita Sinha, Don Bosco Durai, Gautam Borad, Abhay
Kulkarni, Madhan Neethiraj, Mehul Parikh, Ramesh Mani, Selvamohan Neethiraj,
Sailaja Polavarapu, and Velmurugan Periasamy.
Bugs: RANGER-2114
https://issues.apache.org/jira/browse/RANGER-2114
Repository: ranger
Description
-------
An attempt to delete a service definition ends with:
// Internal Exception: com.mysql.jdbc.MysqlDataTruncation: Data truncation:
Data too long for column 'content' at row 1
Error Code: 1406
Call: INSERT INTO x_data_hist (action, content, CREATE_TIME, from_time,
obj_class_type, obj_guid, obj_id, obj_name, to_time, UPDATE_TIME, version)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
bind => [11 parameters bound]
Diffs
-----
security-admin/db/mysql/optimized/current/ranger_core_db_mysql.sql 9d200ba
security-admin/db/mysql/patches/034-x_data_histContentSize.sql PRE-CREATION
Diff: https://reviews.apache.org/r/68293/diff/1/
Testing
-------
Tested the following
1.In fresh install and upgrade scenario.
2.Checked the data type of x_data_hist is changed from text to mediumtext.
Thanks,
Fatima Khan