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

Sql. Forbid implicit casts between different type families

    XMLWordPrintableJSON

Details

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

    Description

      At the moment, the rules for implicit type conversion are not formalized. As a result, we allow implicit casting of types from different families everywhere (including for function operands, which can be confusing).

      We need to formalize the rules for safe implicit conversion and follow them.

      • Whether to allow implicit type casts (of which types) during DML from one table to another.
      • Whether to allow implicit casts in operations.
      • Whether to allow implicit casts for function operands.
      • ...

      Update

      During the discussion it was decided to forbid any implicit casts between different type families.

      Attachments

        Issue Links

          Activity

            People

              korlov Konstantin Orlov
              xtern Pavel Pereslegin
              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 - 4h 20m
                  4h 20m