You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Sun Fulin (JIRA)" <ji...@apache.org> on 2014/11/26 02:16:12 UTC

[jira] [Created] (PHOENIX-1484) Index creation failed due to specifying DEFAULT_COLUMN_FAMILY option

Sun Fulin created PHOENIX-1484:
----------------------------------

             Summary: Index creation failed due to specifying DEFAULT_COLUMN_FAMILY option
                 Key: PHOENIX-1484
                 URL: https://issues.apache.org/jira/browse/PHOENIX-1484
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 4.2
         Environment: HBase 0.98.6-cdh5.2.0 
            Reporter: Sun Fulin


I tryied again with phoenix 4.1 version and still got the exception. Following is my statements:
  1 create table example (id integer not null,fn varchar,ln varchar constraint pk primary key(id)) DEFAULT_COLUMN_FAMILY='F';
       Notice that I would like to create default mutable index for the table.
  2  create local index my_idx on example (fn) DEFAULT_COLUMN_FAMILY='F';   
       Here no matter with or without specifying DEFAULT_COLUMN_FAMILY options we would always got the following error:
   Error: ERROR 1009 (42L02): Properties may not be defined for a view. (state=42L02,code=1009)
  3  I also tried to create local index with immutable rows setting true, however, I still got the above error. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)