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

Calcite engine. Support '%' operator as alias for 'mod' function

    XMLWordPrintableJSON

Details

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

    Description

      Currently, the H2-based SQL engine supports both a % b and mod(a, b) syntax for the modulo operation. But calcite-based engine supports only mod(a, b) syntax. Support for % operator should be added to minimize compatibility issues. 

      Affected tests:

      src/test/sql/aggregate/group/test_group_by.test

      And many other.

      Attachments

        Issue Links

          Activity

            People

              alex_pl Aleksey Plekhanov
              alex_pl Aleksey Plekhanov
              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 - 10m
                  10m