Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-1646

Views and functional index expressions may lose information when stringified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.3.0
    • None
    • None

    Description

      We currently produce a string from an Expression to store in the system catalog for views and functional indexes. However there are a number of constructs that won't roundtrip correctly, mainly due to the way expression trees get collapsed during compilation. The easiest way to fix this is to go from the ParseNode to a string instead and fully resolve column names in the process.

      Attachments

        1. PHOENIX-1646-wip.patch
          65 kB
          James R. Taylor
        2. PHOENIX-1646.patch
          166 kB
          James R. Taylor
        3. PHOENIX-1646_v2.patch
          166 kB
          James R. Taylor
        4. PHOENIX-1646_addendum.patch
          31 kB
          James R. Taylor
        5. PHOENIX-1646_addendum2.patch
          2 kB
          James R. Taylor

        Activity

          People

            jamestaylor James R. Taylor
            jamestaylor James R. Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: