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

Calcite engine. Numerous problem with type Decimal

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • sql
    • Docs Required, Release Notes Required

    Description

      There are numerous problem with a decimal types:

      • leading and trailing zeros are truncated when converting to string
      • casting to precise scale is not working( select cast('0.01' as decimal(10, 1)) * 10 returns 0.1 instead of 0)

      Affected tests:
      src/test/sql/types/decimal

      Attachments

        Issue Links

          Activity

            People

              vermakov Vladimir Ermakov
              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 - 2.5h
                  2.5h