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

Sql. Custom types. Implement a basic set of test cases for a custom data type.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0
    • 3.0
    • sql

    Description

      To simplify the process of adding a new custom data type it would be a good idea to have a basic set of test cases that automates (at least partially) the process of writing tests for a new custom data type.

      Ddl

      • CREATE TABLE (as non-primary key column)
      • CREATE TABLE (as a primary key, if supported)

      Dml

      • INSERT
      • UPDATE

      Queries

      • SELECT
      • (WHERE clause)
      • ?

      Expressions

      • Binary comparison operators
      • IN expression
      • CASE expression
      • CASTS (if supported)
      • BETWEEN expression
      • COALESCE
      • ?

      Aggregate functions

      • Min/Max
      • Some, Every
      • Other functions (if supported)

      Other

      • Dynamic Parameters
      • ?

      If a custom data type supports implicit casts from some type the above checks for <custom_type> v <another type> must be also provided.

      Attachments

        Issue Links

          Activity

            People

              mzhuravkov Maksim Zhuravkov
              mzhuravkov Maksim Zhuravkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 1h 50m
                  1h 50m