[ https://issues.apache.org/jira/browse/PHOENIX-6596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richárd Antal resolved PHOENIX-6596. ------------------------------------ Fix Version/s: 4.17.0 5.2.0 4.16.2 5.1.3 Resolution: Fixed > Schema extraction double quotes expressions, resulting in un-executabe create > statements > ---------------------------------------------------------------------------------------- > > Key: PHOENIX-6596 > URL: https://issues.apache.org/jira/browse/PHOENIX-6596 > Project: Phoenix > Issue Type: Bug > Components: core > Affects Versions: 4.17.0, 5.2.0, 4.16.2, 5.1.3 > Reporter: Istvan Toth > Assignee: Richárd Antal > Priority: Major > Fix For: 4.17.0, 5.2.0, 4.16.2, 5.1.3 > > > {noformat} > create table data (id varchar primary key, number integer,currency > decimal(6,2), > lista varchar[]); > create index data_index on data (currency*number) INCLUDE (LISTA); > show create table data_index; > +-----------------------------------------------------------------------------+ > | CREATE STATEMENT > | > +-----------------------------------------------------------------------------+ > | CREATE INDEX DATA_INDEX ON DATA("(CURRENCY * NUMBER)", ID) INCLUDE (LISTA) > | > +-----------------------------------------------------------------------------+ > {noformat} > The create statement double quotes the expression, and cannot be executed > directly. -- This message was sent by Atlassian Jira (v8.20.1#820001)