Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-10273

Access composite type fields after a function

    XMLWordPrintableJSON

    Details

      Description

      If a function returns a composite type, for example, Row(lon: Float, lat: Float). There is currently no way of accessing fields.

      Both queries fail with exceptions:

      select t.c.lat, t.c.lon FROM (select toCoords(12) as c) AS t
      
      select toCoords(12).lat
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rongr Rong Rong
                Reporter:
                twalthr Timo Walther
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

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