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

Hive PhoenixStorageHandler doesn't work well with column mapping

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 4.10.0
    • None

    Description

      If column mapping is used during table creation, the hive table becomes unusable and throws UnknownColumn exception.
      There are several issues in the current implementation:
      1. During table creation mapping doesn't applies to primary keys
      2. During select query building no mapping happen
      3. PhoenixRow should have backward mapping from phoenix column names to hive names.

      Attachments

        1. PHOENIX-3346-1.patch
          62 kB
          Sergey Soldatov

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: