Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-1484

Index creation failed due to specifying DEFAULT_COLUMN_FAMILY option

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.2.0
    • 4.3.0, 3.3.0, 3.2.2, 4.2.2
    • None
    • None
    • HBase 0.98.6-cdh5.2.0

    Description

      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.

      Attachments

        1. PHOENIX-1484_v2.patch
          11 kB
          James R. Taylor
        2. PHOENIX-1484_v3.patch
          12 kB
          James R. Taylor
        3. PHOENIX-1484.patch
          3 kB
          rajeshbabu

        Activity

          People

            rajesh23 rajeshbabu
            sunfl Sun Fulin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: