Class MockSqlOperatorTable.MyAvgAggFunction

All Implemented Interfaces:
Context, Wrapper
Enclosing class:
MockSqlOperatorTable

public static class MockSqlOperatorTable.MyAvgAggFunction extends SqlAggFunction
"MYAGG" user-defined aggregate function. This agg function accept two numeric arguments in order to reproduce the throws of CALCITE-2744.
  • Constructor Details

    • MyAvgAggFunction

      public MyAvgAggFunction()
  • Method Details

    • isDeterministic

      public boolean isDeterministic()
      Description copied from class: SqlOperator
      Returns whether a call to this operator is guaranteed to always return the same result given the same operands; true is assumed by default.
      Overrides:
      isDeterministic in class SqlOperator