You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexander Belyak (Jira)" <ji...@apache.org> on 2021/11/24 17:29:00 UTC
[jira] [Created] (IGNITE-15987) PK index inline size is not calculated correctly for keys with a single field
Alexander Belyak created IGNITE-15987:
-----------------------------------------
Summary: PK index inline size is not calculated correctly for keys with a single field
Key: IGNITE-15987
URL: https://issues.apache.org/jira/browse/IGNITE-15987
Project: Ignite
Issue Type: Bug
Components: sql
Affects Versions: 2.11
Reporter: Alexander Belyak
Assignee: Alexander Belyak
Example:
CREATE TABLE IF NOT EXISTS TABLE1 (
col1 varchar(15),
col2 varchar(100),
PRIMARY KEY(col1)
);
In this case PK inline size would be default 10.
CREATE TABLE IF NOT EXISTS TABLE2 (
col1 varchar(15),
col2 varchar(100),
PRIMARY KEY(col1)
) WITH "WRAP_KEY=true";
This one works correctly, inline size is 18.
It seems that it works as expected only for WRAP_KEY=true.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)