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

Sql. Decimal-decimal overflow cast error does not occur

    XMLWordPrintableJSON

Details

    • Docs Required, Release Notes Required

    Description

      Casting from one decimal type to another does not produce errors when scale/precision is changed:

      statement error
      SELECT 10.00::DECIMAL(4,2)::DECIMAL(2,1);
      

      See skipif-ed examples in decimal_decimal_overflow_cast.test

      Attachments

        Activity

          People

            jooger Iurii Gerzhedovich
            mzhuravkov Maksim Zhuravkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: