You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Vladimir Sitnikov (Jira)" <ji...@apache.org> on 2020/10/03 15:20:00 UTC

[jira] [Created] (CALCITE-4304) Make org.apache.calcite.jdbc.JavaTypeFactoryImpl#getJavaClass non-nullable

Vladimir Sitnikov created CALCITE-4304:
------------------------------------------

             Summary: Make org.apache.calcite.jdbc.JavaTypeFactoryImpl#getJavaClass non-nullable
                 Key: CALCITE-4304
                 URL: https://issues.apache.org/jira/browse/CALCITE-4304
             Project: Calcite
          Issue Type: Sub-task
          Components: core
    Affects Versions: 1.25.0
            Reporter: Vladimir Sitnikov
            Assignee: Vladimir Sitnikov


The current implementation returns {{null}} as the last resort, however, it looks like none of the use-sites would handle that properly.

I suggest we throw IllegalArgumentException if {{getJavaClass}} can't deal with given argument.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)