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

`ALTER TABLE tb ADD IF NOT EXISTS c2 VARCHAR,c3 VARCHAR` if c2 EXISTS. c3 not EXISTS . c3 Cannot be added

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.0.0
    • 5.0.1
    • core
    • None
      • phoenix 5.0.0 
      • hbase 2.0.0

    Description

      - create table

      CREATE TABLE IF NOT EXISTS tb

      (

          c1 VARCHAR,

          c2 VARCHAR,

          CONSTRAINT tb PRIMARY KEY (c1)

      );

      • alter table

      ALTER TABLE tb ADD  IF NOT EXISTS c2 VARCHAR,c3 VARCHAR;

       

      but c3 Cannot be added

      *https://issues.apache.org/jira/browse/PHOENIX-2968*

      this issue Processed on the client side IFNOTEXISTS , when APPEND_ONLY_SCHEMA=false not process

      Attachments

        Activity

          People

            Unassigned Unassigned
            siaron siaron
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: