[
https://issues.apache.org/jira/browse/CALCITE-5460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17653361#comment-17653361
]
Julian Hyde commented on CALCITE-5460:
--------------------------------------
OK, great. Now you have a specification, and you can write javadoc and unit
tests for {{Types.className}}.
Also, it might make sense to add a test to {{UdfTest}}.
> Types.className should not replace '$' to '.' if name of class contains $
> -------------------------------------------------------------------------
>
> Key: CALCITE-5460
> URL: https://issues.apache.org/jira/browse/CALCITE-5460
> Project: Calcite
> Issue Type: Bug
> Components: linq4j
> Affects Versions: 1.32.0
> Reporter: Dmitry Sysolyatin
> Assignee: Dmitry Sysolyatin
> Priority: Major
> Labels: pull-request-available
>
> I faced with this problem when I was trying to use Types.className with scala
> object.
> Internally, scala object is instance of class "<full_object_name>$". If
> Types.className is applied to this class then $ will be replaced by '.'. But
> it is wrong behaviour
> The same behaviour will be for any class names which contain symbol $.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)