[
https://issues.apache.org/jira/browse/IGNITE-15987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amelchev Nikita updated IGNITE-15987:
-------------------------------------
Release Note: Implemented generate create table sql key type by original
column type
> 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
> Priority: Major
> Fix For: 2.13
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)