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

Equivalent to Hive's named_struct() in Impala

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • Impala 2.5.0
    • None
    • Frontend
    • None

    Description

      Hive's named_struct function is useful for projections of the type:

      select min(named_struct(
      'col1', `sometable`.`col1`,
      'col2', `sometable`.`col2`,
      'col3', `sometable`.`col3`
      )) `named_struct`
      FROM
      `event`.`sometable` where dt='2010-01-01'

      Can we have an equivalent in Impala

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tscott@cloudera.com Thomas Scott
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: