Evgeny Stanilovsky created CALCITE-5678: -------------------------------------------
Summary: Validate incorrect datetime string representation. Key: CALCITE-5678 URL: https://issues.apache.org/jira/browse/CALCITE-5678 Project: Calcite Issue Type: Improvement Components: avatica Affects Versions: 1.34.0 Reporter: Evgeny Stanilovsky Assignee: Evgeny Stanilovsky RexToLixTranslator now process datetime input string representation through org.apache.calcite.avatica.util.DateTimeUtils#timestampStringToUnixDate , thus no exception is raised if incorrect string is passed. {noformat} create table t (i int not null, j timestamp); insert into t values (1, '2013-20-14 00:00:00'); select * from t; > +---+---------------------+ > | I | J | > +---+---------------------+ > | 1 | 2014-08-16 00:00:00 | > +---+---------------------+{noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)