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

SQL: must not store default precision and scale in the QueryEntity for CHAR/VARCHAR and DECIMAL types

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7
    • 2.8
    • sql
    • None

    Description

      If table is created by SQL query, e.g.:
      CREATE TABLE test (id INT, val_dec DECIMAL, val_char VARCHAR)
      and CHAR/VARCHAR and DECIMAL types are used with default precision (size for char/varchar) and scale the default precision and scale mustn't be passed into QueryEntity for created cache.

      This is cause of compatibility problems.

      Attachments

        Activity

          People

            tledkov-gridgain Taras Ledkov
            tledkov-gridgain Taras Ledkov
            Votes:
            0 Vote for this issue
            Watchers:
            3 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
                1h