XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 2.4.0
    • SQL
    • None

    Description

      Ref: https://prestodb.io/docs/current/functions/array.html and https://prestodb.io/docs/current/functions/map.html

      • element_at(array<E>, index) → E
        Returns element of array at given index. If index > 0, this function provides the same functionality as the SQL-standard subscript operator ([]). If index < 0, element_at accesses elements from the last to the first.
      • element_at(map<K, V>, key) → V
        Returns value for given key, or NULL if the key is not contained in the map.

      Attachments

        Issue Links

          Activity

            People

              kiszk Kazuaki Ishizaki
              smilegator Xiao Li
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: