You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2021/01/15 12:43:00 UTC

[jira] [Commented] (PHOENIX-6220) CREATE INDEX shouldn't ignore IMMUTABLE_STORAGE_SCHEME and COLUMN_ENDCODED_BYTES

    [ https://issues.apache.org/jira/browse/PHOENIX-6220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17266014#comment-17266014 ] 

Istvan Toth commented on PHOENIX-6220:
--------------------------------------

[~gjacoby] [~giskender]
Is there a reason to keep this JIRA open ?

> CREATE INDEX shouldn't ignore IMMUTABLE_STORAGE_SCHEME and COLUMN_ENDCODED_BYTES  
> ----------------------------------------------------------------------------------
>
>                 Key: PHOENIX-6220
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6220
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: Gokcen Iskender
>            Assignee: Gokcen Iskender
>            Priority: Major
>         Attachments: PHOENIX-6220.4.x.001.patch, PHOENIX-6220.4.x.002.patch, PHOENIX-6220.4.x.003.patch
>
>
> IMMUTABLE_STORAGE_SCHEME and COLUMN_ENCODED_BYTES that is specified in CREATE INDEX needs to be respected. Today, it is ignored and value is just gotten from the parent. Parent table can still use ONE_CELL_PER_COLUMN storage scheme. If the parent table is using COLUMN_ENCODED_BYTES=0 (none), we recommend using COLUMN_ENCODED_BYTES=2 for the index table by default (can be overriden) when SINGLE_CELL storage scheme is used. 2-byte column mapping enables to define 65535 columns which should be enough.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)