Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-1598 Encode column names to save space and improve performance
  3. PHOENIX-3442

Support null when columns have default values for immutable tables with encoding scheme COLUMNS_STORED_IN_SINGLE_CELL

    XMLWordPrintableJSON

Details

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

    Description

      Comments from jamestaylor:

      The way we differentiate a null value now is by the value being an empty byte array (explicitly set to null) versus not being present (in which case we use the default value).
      This is encapsulated in the DefaultValueExpression.
      We'll need to tweak our encoding for this.
      One way would be to use a negative number for the offset.

      Attachments

        1. PHOENIX-3442-v3.patch
          59 kB
          Thomas D'Silva
        2. PHOENIX-3442-v2.patch
          52 kB
          Thomas D'Silva
        3. PHOENIX-3442.patch
          15 kB
          Thomas D'Silva

        Activity

          People

            tdsilva Thomas D'Silva
            samarthjain Samarth Jain
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: