Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-19229

Schema validation during tx processing: validators

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0
    • None

    Description

      As per https://cwiki.apache.org/confluence/display/IGNITE/IEP-110%3A+Schema+synchronization%3A+basic+schema+changes , the following schema changes are forward-compatible:

      1. Creating a table
      2. Adding a nullable column or a column having a default value
      3. Renaming a column
      4. Dropping a constraint (including NOT NULL constraint)
      5. Changing a column type when any value in the old type has an exact representation in the new type

      Other schema changes are not compatible.

      The supported type changes follow:

      • Widening conversions between integral types (like int->long)
      • Widening conversions between floating-point types (float->double)
      • Widening conversions between date-time types (increasing precision)
      • Widening conversions between decimal types (increasing precision)
      • Increasing allowed length of VARCHAR
      • Increasing allowed length of VARBINARY
      • Conversions of anything to VARCHAR with enough capacity

      Attachments

        Issue Links

          Activity

            People

              rpuch Roman Puchkovskiy
              rpuch Roman Puchkovskiy
              Ivan Bessonov Ivan Bessonov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h