- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {LocalDateTime l =
new LocalDateTime()
LocalDateTime.now()
DateTimeFormatter formatter;String text;formatter.parseLocalDateTime(text)
- Smart code suggestions by Codota
}
/** * Creates a new SqlValidatorException object. * * @param message error message * @param cause underlying cause */ public SqlValidatorException( String message, Throwable cause) { super(message, cause); // TODO: see note in CalciteException constructor LOGGER.trace("SqlValidatorException", this); LOGGER.error(toString()); } }
@Override public void validateAggregateParams(SqlCall aggCall, SqlNode filter, SqlValidatorScope scope) { if (filter != null) { Exception e = new SqlValidatorException("Dremio does not currently support aggregate functions with a filter clause", null); SqlParserPos pos = filter.getParserPosition(); CalciteContextException ex = RESOURCE.validatorContextPoint(pos.getLineNum(), pos.getColumnNum()).ex(e); ex.setPosition(pos.getLineNum(), pos.getColumnNum()); throw ex; } super.validateAggregateParams(aggCall, filter, scope); } }
/** * Creates a new SqlValidatorException object. * * @param message error message * @param cause underlying cause */ public SqlValidatorException( String message, Throwable cause) { super(message, cause); // TODO: see note in CalciteException constructor LOGGER.trace("SqlValidatorException", this); LOGGER.error(toString()); } }