Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-721 Add support for nested tuple or struct type
  3. TAJO-1359

Add nested field projector and language extension to project nested record

    Details

      Description

      We need to improve Projector class to get nested record fields, and we also add some language extension to specify certain nested records in table schema. Both works should be done together. Otherwise, we need to test an entire work process.

      Using dot '.' would be good for the syntax to specify nested fields. Many systems (Hive, Google BigQuery, and Drill) already use this syntax. Probably, many users are familiar with this form.

      For example, if employee is a root nested record field and it includes age and name fields, consisting two fields lastname and firstname, we can specify them individually as follows:

      SELECT employee.age, employee.name.lastname, employee.name.firstname FROM ...
      

        Attachments

        1. TAJO-1359_9.patch
          175 kB
          Hyunsik Choi
        2. TAJO-1359_8.patch
          173 kB
          Hyunsik Choi
        3. TAJO-1359_7.patch
          168 kB
          Hyunsik Choi
        4. TAJO-1359_6.patch
          168 kB
          Hyunsik Choi
        5. TAJO-1359_5.patch
          164 kB
          Hyunsik Choi
        6. TAJO-1359_4.patch
          161 kB
          Hyunsik Choi
        7. TAJO-1359_3.patch
          160 kB
          Hyunsik Choi
        8. TAJO-1359_2.patch
          159 kB
          Hyunsik Choi
        9. TAJO-1359.patch
          150 kB
          Hyunsik Choi

          Activity

            People

            • Assignee:
              hyunsik Hyunsik Choi
              Reporter:
              hyunsik Hyunsik Choi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: