[MCOL-5604] Primproc Character set '#0' Created: 2023-11-07  Updated: 2023-11-07

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

Type: Bug Priority: Major
Reporter: Allen Herrera Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   

Hit a specific query / collate / table definition that produces the error below with unknown consequences. See reproduction of schema and the query that triggers it.

Error

Nov  7 22:59:13 ip-172-31-26-135 env[9097]: #007PrimProc: Character set '#0' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file

Reproduction

CREATE DATABASE test; use test;
CREATE TABLE `sampletable` (
  `ri_id` bigint(20) DEFAULT NULL,
  `ri_vi_id` bigint(20) DEFAULT NULL,
  `ri_mo_id` int(11) DEFAULT NULL,
  `ri_rw_id` int(11) DEFAULT NULL,
  `ri_cd_id` int(11) DEFAULT NULL,
  `ri_codice` varchar(30) DEFAULT NULL,
  `ri_va_id` tinyint(4) DEFAULT NULL,
  `ri_prezzo` decimal(11,2) DEFAULT NULL,
  `ri_prezzo_listino` decimal(11,2) DEFAULT NULL,
  `ri_prezzo_spedizione` decimal(11,2) DEFAULT NULL,
  `ri_prezzo_carta` decimal(11,2) DEFAULT NULL,
  `ri_npezzi` int(11) DEFAULT NULL,
  `ri_pgdir` bigint(20) DEFAULT NULL,
  `ri_posizione` tinyint(4) DEFAULT NULL,
  `ri_fa_id` int(11) DEFAULT NULL,
  `ri_ca_id` int(11) DEFAULT NULL,
  `ri_mr_id` int(11) DEFAULT NULL,
  `ri_ma_id` int(11) DEFAULT NULL,
  `ri_pd_id` int(11) DEFAULT NULL,
  `ri_pv_id` int(11) DEFAULT NULL,
  `ri_ti_id` int(11) DEFAULT NULL,
  `ri_re_id` int(11) DEFAULT NULL,
  `ri_pn_id` char(1) DEFAULT NULL,
  `ri_in_id` int(11) DEFAULT NULL,
  `ri_cn_id` tinyint(4) DEFAULT NULL,
  `ri_af_id` int(11) DEFAULT NULL,
  `ri_na_id` tinyint(4) DEFAULT NULL,
  `ri_data` date DEFAULT NULL,
  `ri_settimana` int(11) DEFAULT NULL,
  `ri_mese` int(11) DEFAULT NULL,
  `ri_periodo` int(11) DEFAULT NULL,
  `ri_si_id` int(11) DEFAULT NULL,
  `ri_ce_id` int(11) DEFAULT NULL,
  `ri_av_15` char(1) DEFAULT NULL,
  `ri_av_22` char(1) DEFAULT NULL,
  `ri_av_66` longtext DEFAULT NULL
) ENGINE=Columnstore DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
 
 
 
mariadb -e "use test; DELETE FROM test.sampletable WHERE ri_vi_id >=7443790;";
tail -n 1000 /var/log/messages | grep "PrimProc: Character set"; date;


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