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

Hive PhoenixStorageHandler doesn't work well with quoted namespace/table name.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 4.13.0, 4.14.0
    • None
    • None

    Description

      With quoted schema name the table will be created, but not usable with an exception about '\' character. The reason is that job properties in Hive are stored using escaped java strings. So to correctly handle it we need to unescape.
      For quoted name the table creation would fail because we are using table name in PK name prefixed by 'pk_'. So the PK name comes incorrect like 'pk_"table_name"'. I think that there is no reason to generate constraint pk name and we may use the constant.

      Attachments

        1. PHOENIX-4436.patch
          13 kB
          Sergey Soldatov

        Issue Links

          Activity

            People

              sergey.soldatov Sergey Soldatov
              sergey.soldatov Sergey Soldatov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: