You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I've already discussed this with @twdsilva, but while doing some evaluation with Kudu and the Calcite Adapter we found DATE support missing and causing this error on queries against tables which have DATE columns:
Caused by: java.lang.UnsupportedOperationException: Datatype is not supported DATE
at com.twilio.kudu.sql.SqlUtil.getKuduDataType(SqlUtil.java:85)
at org.apache.calcite.sql.SqlColumnDefNode.<init>(SqlColumnDefNode.java:57)
at com.twilio.kudu.sql.parser.KuduSqlParserImpl.ColumnDef(KuduSqlParserImpl.java:1203)
at com.twilio.kudu.sql.parser.KuduSqlParserImpl.ColumnDefList(KuduSqlParserImpl.java:1232)
at com.twilio.kudu.sql.parser.KuduSqlParserImpl.SqlCreateTable(KuduSqlParserImpl.java:1075)
at com.twilio.kudu.sql.parser.KuduSqlParserImpl.SqlStmt(KuduSqlParserImpl.java:926)
at com.twilio.kudu.sql.parser.KuduSqlParserImpl.SqlStmtEof(KuduSqlParserImpl.java:964)
at com.twilio.kudu.sql.parser.KuduSqlParserImpl.parseSqlStmtEof(KuduSqlParserImpl.java:205)
at org.apache.calcite.sql.parser.SqlParser.parseQuery(SqlParser.java:153)
from a DDL statement similar to this:
CREATE TABLE IF NOT EXISTS foo (
processed_date DATE NOT NULL
PRIMARY KEY (processed_date)
)
The text was updated successfully, but these errors were encountered:
Hello, I've already discussed this with @twdsilva, but while doing some evaluation with Kudu and the Calcite Adapter we found DATE support missing and causing this error on queries against tables which have DATE columns:
DDL statements using DATE fail in this manner:
from a DDL statement similar to this:
The text was updated successfully, but these errors were encountered: