Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-11168

Add pseudo-columns for Impala

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • Not Applicable
    • Backend, Frontend
    • None
    • ghx-label-4

    Description

      Hive supports a few pseudo-columns (virtual column):
      https://cwiki.apache.org/confluence/display/hive/languagemanual+virtualcolumns

      It would be useful to add support for a few pseudo-columns for Impala as well.
      E.g. to implement support for Iceberg position-based deletes we'd need the file name and ordinal position for each row.

      Hive has INPUT__FILE__NAME which returns full URI of the data file. Unfortunately it doesn't have a pseudo-column for the ordinal position of rows. So we need to introduce a new pseudo-column for that, probably with the name ORDINAL__POSITION__INSIDE__FILE, or stg. like that.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              boroknagyz Zoltán Borók-Nagy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: