insert/select from column values greater than 32K cause crash
Bug #1392914 reported by
Anoop Sharma
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trafodion |
Fix Committed
|
High
|
Anoop Sharma |
Bug Description
This sequence will crash sqlci:
create table t (a char(40000));
insert into t values ('a'); -- this will blankpad and create a 40K long row
select char_length(a) from t; -- once insert issue is fixed, select from that table will crash.
Internally, length used to pass values between executor and hbase through JNI is using
a short field to represent length. That should be changed to long(4 bytes).
Changed in trafodion: | |
assignee: | Selvaganesan Govindarajan (selva-ganesan) → Anoop Sharma (anoop-sharma) |
To post a comment you must log in.
Once addition to this.
In previous product, there was a 32K block limit which cause rows to not exceed that limit.
A short field to represent length was ok for that.
In Trafodion, we increased this limit to a larger number (currently 100K but can be increased).
This allows larger unstructured string values to be stored in this column. It is an inlined blob
implementation.
This change is needed to support larger values to be inserted/selected from trafodion
as well as native hbase tables.