Definition at line 477 of file MapDSqlOperatorTable.java.
com.mapd.calcite.parser.MapDSqlOperatorTable.Datepart.Datepart |
( |
| ) |
|
|
inline |
Definition at line 478 of file MapDSqlOperatorTable.java.
480 SqlKind.OTHER_FUNCTION,
483 OperandTypes.family(SqlTypeFamily.STRING, SqlTypeFamily.DATETIME),
484 SqlFunctionCategory.TIMEDATE);
RelDataType com.mapd.calcite.parser.MapDSqlOperatorTable.Datepart.inferReturnType |
( |
SqlOperatorBinding |
opBinding | ) |
|
|
inline |
Definition at line 488 of file MapDSqlOperatorTable.java.
References BIGINT.
489 final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
490 return typeFactory.createTypeWithNullability(
492 opBinding.getOperandType(1).isNullable());
The documentation for this class was generated from the following file: