Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1969

Annotate user-defined functions as strict and semi-strict

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.14.0
    • Component/s: None
    • Labels:
      None

      Description

      Annotate user-defined functions as strict and semi-strict.

      Definitions:

      • A strict function returns null if and only if one or more of its arguments are null.
      • A semi-strict function returns null if one or more of its arguments are null.

      The code generator should use these annotations to generate more efficient code.

        Activity

        Hide
        michaelmior Michael Mior added a comment -

        Resolved in release 1.14.0 (2017-10-01)

        Show
        michaelmior Michael Mior added a comment - Resolved in release 1.14.0 (2017-10-01)
        Show
        julianhyde Julian Hyde added a comment - Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/b2bf1ca0 .

          People

          • Assignee:
            julianhyde Julian Hyde
            Reporter:
            julianhyde Julian Hyde
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development