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

Extend Schema with ability to specify function as default value generator

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-beta1
    • sql

    Description

      In order to make IGNITE-16860 possible, we need to add an ability to specify a function as a default value generator. It worth to note, that a behaviour of KV API and SQL should be consistent, thus this feature should be derived from a SQL runtime to the common place.

      Within this task we need to extend ColumnConfigurationSchema in order to support several types of default value generators (constant and function for now), as well as introduce a new default value supplier forĀ Column.

      As a first step, I would propose to support only a few predefined system functions. This could be possibly extended to support an arbitrary function though.

      Attachments

        Issue Links

          Activity

            People

              korlov Konstantin Orlov
              korlov Konstantin Orlov
              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 - 5h 10m
                  5h 10m