[MCOL-5240] MariaDB 10.3. leads to error when using DataType TEXT Created: 2022-09-29  Updated: 2022-10-25

Status: Open
Project: MariaDB ColumnStore
Component/s: None
Affects Version/s: None
Fix Version/s: Icebox

Type: Bug Priority: Major
Reporter: andreas eschbacher Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Environment:

Mariadb 10.3.16 1.2.5.1 on RHEL 7



 Description   

Affected are all versions running on MariaDB 10.3. having a Column as TEXT datatype

The error that occurs is:

Error Code: 1815. Internal error: IDB-2015: Sorting length exceeded. Session variable max_length_for_sort_data needs to be set higher.
The problem appears as soon as the "Rückmeldung-Inhalt" field is dragged to the report or trying to filter on this field.

The variable max_length_for_sort_data was checked by:
by

show global variables like '%max_length%'; 

and WAS 102400, then set to something > 8.000.000 (the actual allowed maximum), but this didn't help.

The problem is the ORDER BY. Leaving it out works. (This time, the HAVING and GROUP BY are not the problem.)

It was verified also on ILS Nürnberg and our internal test servers that the version 10.3. is the problem; with 10.5. it works.
Problem is with 10.3 works with MariaDB Version 10.5.

However, we changed to TEXT because MariaDB 10.5. has the problem of:
Internal error: CAL0009: (3)Create table failed due to char, varchar and varbinary length may not exceed 8000.


Generated at Thu Feb 08 02:56:24 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.