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

Support index range in JSON path of JSON functions

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Backend
    • ghx-label-5

    Description

      In JSON functions like get_json_object, JSON path is used to extract the json values. We should
      support range syntax like [2 to 7] and keyword `last` in the JSON path.

      Hive has not supported it yet but MySQL does since 8.0.2. See https://dev.mysql.com/worklog/task/?id=9831 and https://github.com/mysql/mysql-server/commit/9f4678a

      Attachments

        Activity

          People

            Unassigned Unassigned
            stigahuang Quanlong Huang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: