Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-628 Support native JSON data type
  3. PHOENIX-7044

Support Index on a generated column that extracts a scalar value from the JSON column

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Resolved
    • None
    • None
    • phoenix
    • None

    Description

      As per the Design doc attached we can implement the below proposal:

      Using index expressions: Phoenix lets index’s PK to be defined as certain expressions. Aggregate (sum()), stateless(a constant value) or non-deterministic(rand()) is not allowed. But expressions like (mycol/2) is allowed. The Json function could be used as expression with some code changes. 

      Attachments

        Issue Links

          Activity

            People

              ranganathg Ranganath Govardhanagiri
              ranganathg Ranganath Govardhanagiri
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: