[
https://issues.apache.org/jira/browse/CALCITE-7444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18104196#comment-18104196
]
Mihai Budiu commented on CALCITE-7444:
--------------------------------------
Can you supply some information to enable a reproduction?
> AssertionError in AbstractCursor for unhandled DATE/TIME/TIMESTAMP
> representations
> ----------------------------------------------------------------------------------
>
> Key: CALCITE-7444
> URL: https://issues.apache.org/jira/browse/CALCITE-7444
> Project: Calcite
> Issue Type: Bug
> Components: avatica
> Reporter: Vishal Satish
> Priority: Major
>
> AbstractCursor.createAccessor() throws AssertionError for certain
> combinations of JDBC types and their representations that aren't handled.
> Code at line 155:
> throw new AssertionError("bad " + columnMetaData.type.rep);
> This affects DATE, TIME, and TIMESTAMP cases when an unexpected Rep is
> encountered.
> This issue was found using
> Fix: Replace assertions with proper error handling (throw
> IllegalArgumentException or similar).
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)