Call ResultSet.next() function failed when expect to select 200k utf8 column size from a table
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trafodion |
Fix Committed
|
High
|
Weiqing Xu |
Bug Description
Defect Description:
There is a table that columns charset as utf8, when expect to return 200K column size, it is failed to call ResultSet.next() function.
Test Environment:
sqws139.
Test Steps:
Step 1. Create a table as below,
sql = "create table tblcolumnsize20
iRet = stmt.executeUpd
Step 2. Insert 20K utf8 column size into the above table.
Step 3. Execute query as below,
sql = "select left(rtrim(t.c1), 50000) as o1 from tblcolumnsize20
rs = stmt.executeQue
Step 4. Compare the first column o1 size returned from ResultSet object.
rs.next();
assertEquals(50000, (URLDecoder.
At the Step 4, it will throw an exception as below,
java.lang.
at org.trafodion.
at org.trafodion.
Changed in trafodion: | |
assignee: | nobody → xiu-zhu.zhang (xiu-zhu-zhang) |
Changed in trafodion: | |
status: | New → In Progress |
Changed in trafodion: | |
importance: | Undecided → High |
Changed in trafodion: | |
milestone: | none → r2.0 |
description: | updated |
summary: |
- Call ResultSet.next() function failed when expect to select 20k utf8 + Call ResultSet.next() function failed when expect to select 200k utf8 column size from a table |
Changed in trafodion: | |
assignee: | xiu-zhu.zhang (xiu-zhu-zhang) → Weiqing Xu (wei-qing-xu) |
Here is the code review link: https:/ /review. trafodion. org/#/c/ 1671/