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)

Reply via email to