[
https://issues.apache.org/jira/browse/PHOENIX-7948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Kyle Purtell updated PHOENIX-7948:
-----------------------------------------
Description:
{{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}
was:
The test 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.
> IndexTwoPhaseCreateIT requests an illegal transform
> ---------------------------------------------------
>
> 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
>
>
> {{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}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)