com.mapd.calcite.parser.HeavyDBSqlOperatorTable.PgDateTrunc.PgDateTrunc |
( |
| ) |
|
|
inline |
Definition at line 630 of file HeavyDBSqlOperatorTable.java.
631 super(
"PG_DATE_TRUNC",
632 SqlKind.OTHER_FUNCTION,
635 OperandTypes.family(SqlTypeFamily.STRING, SqlTypeFamily.DATETIME),
636 SqlFunctionCategory.SYSTEM);
RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.PgDateTrunc.inferReturnType |
( |
SqlOperatorBinding |
opBinding | ) |
|
|
inline |
Definition at line 640 of file HeavyDBSqlOperatorTable.java.
641 final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
642 return typeFactory.createTypeWithNullability(
643 typeFactory.createSqlType(
644 SqlTypeName.TIMESTAMP, opBinding.getOperandType(1).getPrecision()),
645 opBinding.getOperandType(1).isNullable());
The documentation for this class was generated from the following file: