You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2026/06/29 23:18:00 UTC
[jira] [Updated] (PHOENIX-7948) Transform ITs request a illegal transforms for mutable tables
[ https://issues.apache.org/jira/browse/PHOENIX-7948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Kyle Purtell updated PHOENIX-7948:
-----------------------------------------
Summary: Transform ITs request a illegal transforms for mutable tables (was: IndexTwoPhaseCreateIT requests an illegal transform)
> Transform ITs request a illegal transforms 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
>
>
> {{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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)