Definition at line 753 of file MapDSqlOperatorTable.java.
com.mapd.calcite.parser.MapDSqlOperatorTable.Datediff.Datediff |
( |
| ) |
|
|
inline |
Definition at line 754 of file MapDSqlOperatorTable.java.
756 SqlKind.OTHER_FUNCTION,
759 OperandTypes.family(SqlTypeFamily.STRING,
760 SqlTypeFamily.DATETIME,
761 SqlTypeFamily.DATETIME),
762 SqlFunctionCategory.TIMEDATE);
RelDataType com.mapd.calcite.parser.MapDSqlOperatorTable.Datediff.inferReturnType |
( |
SqlOperatorBinding |
opBinding | ) |
|
|
inline |
Definition at line 766 of file MapDSqlOperatorTable.java.
767 final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
768 return typeFactory.createTypeWithNullability(
769 typeFactory.createSqlType(SqlTypeName.BIGINT),
770 opBinding.getOperandType(1).isNullable()
771 || opBinding.getOperandType(2).isNullable());
The documentation for this class was generated from the following file: