Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-669

SELECT TRANSFORM / MAP / REDUCE to support optional ROW FORMAT

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      We should allow TRANSFORM / MAP/ REDUCE to accept optional ROW FORMAT:

      SELECT TRANSFORM(a, b, c)
      ROW FORMAT DELIMITED FIELDS TERMINATED BY '\001'
      USING 'mypython.py'
      AS (d STRING, e INT, f DOUBLE)
      ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t'
      

      Also, we should allow optional type information in the "AS" clause.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zshao Zheng Shao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: