You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Marcin Januszkiewicz (JIRA)" <ji...@apache.org> on 2017/10/20 12:38:00 UTC

[jira] [Created] (PHOENIX-4307) Cannot create index on column without specifying column family if the column family is lowercase.

Marcin Januszkiewicz created PHOENIX-4307:
---------------------------------------------

             Summary: Cannot create index on column without specifying column family if the column family is lowercase.
                 Key: PHOENIX-4307
                 URL: https://issues.apache.org/jira/browse/PHOENIX-4307
             Project: Phoenix
          Issue Type: Bug
            Reporter: Marcin Januszkiewicz


Table DDL: 
create table t (
  rowkey VARCHAR PRIMARY KEY,
  "cf"."vehicle.number" VARCHAR);

Index DDL:
CREATE LOCAL INDEX test_02 ON t ("vehicle.number");

Result:
Error: ERROR 1001 (42I01): Undefined column family. familyName=CF (state=42I01,code=1001)
org.apache.phoenix.schema.ColumnFamilyNotFoundException: ERROR 1001 (42I01): Undefined column family. familyName=CF

When I specify the column family everything works:
CREATE LOCAL INDEX test_02 ON t ("cf"."vehicle.number");



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)