[ 
https://issues.apache.org/jira/browse/PHOENIX-7948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Kyle Purtell updated PHOENIX-7948:
-----------------------------------------
    Description: Several ITs create a mutable base table and then asserts that 
a transform to {{SINGLE_CELL_ARRAY_WITH_OFFSETS}} produces a new physical table 
with that storage scheme. {{SINGLE_CELL_ARRAY_WITH_OFFSETS}} is incompatible 
with in-place mutation, so Phoenix intentionally downgrades the requested 
scheme to {{ONE_CELL_PER_COLUMN}} for any mutable base table.  (was: 
{{IndexTwoPhaseCreateIT}} creates a mutable base table and then asserts that a 
transform to {{SINGLE_CELL_ARRAY_WITH_OFFSETS}} produces a new physical table 
with that storage scheme. {{SINGLE_CELL_ARRAY_WITH_OFFSETS}} is incompatible 
with in-place mutation, so Phoenix intentionally downgrades the requested 
scheme to {{ONE_CELL_PER_COLUMN}} for any mutable base table.

{noformat}
java.lang.AssertionError: expected:<SINGLE_CELL_ARRAY_WITH_OFFSETS>
                          but was:<ONE_CELL_PER_COLUMN>
    at org.junit.Assert.assertEquals(Assert.java:120)
    at org.junit.Assert.assertEquals(Assert.java:146)
    at org.apache.phoenix.query.BaseTest.assertMetadata(BaseTest.java:770)
    at org.apache.phoenix.end2end.index.IndexTwoPhaseCreateIT
        .testTransformingTableAndIndex(IndexTwoPhaseCreateIT.java:172)
{noformat}

Also add the appropriate test category. )

> Transform ITs request illegal transform schema options for mutable tables
> -------------------------------------------------------------------------
>
>                 Key: PHOENIX-7948
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7948
>             Project: Phoenix
>          Issue Type: Sub-task
>          Components: core, test
>            Reporter: Andrew Kyle Purtell
>            Assignee: Andrew Kyle Purtell
>            Priority: Major
>             Fix For: 5.4.0, 5.3.2
>
>
> Several ITs create a mutable base table and then asserts that a transform to 
> {{SINGLE_CELL_ARRAY_WITH_OFFSETS}} produces a new physical table with that 
> storage scheme. {{SINGLE_CELL_ARRAY_WITH_OFFSETS}} is incompatible with 
> in-place mutation, so Phoenix intentionally downgrades the requested scheme 
> to {{ONE_CELL_PER_COLUMN}} for any mutable base table.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to