Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1581

UDTF like in hive

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Support one row in and multi-column/multi-row out(one-to-many mapping), just like udtf in hive.

      The query would like this:

      select
        func(c0, c1) as (f0, f1, f2)
      from table_name;
      

      c0 and c1 are 'table_name' columns. f0, f1 and f2 are new generated columns.

      Attachments

        Issue Links

          Activity

            People

              Chunwei Lei Chunwei Lei
              evictor Xiaoyong Deng
              Votes:
              1 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 15h 50m
                  15h 50m