You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Dmitry Sysolyatin (Jira)" <ji...@apache.org> on 2022/12/27 15:59:00 UTC

[jira] [Created] (CALCITE-5460) Types.className should replace '$' to '.' if name of class contains $

Dmitry Sysolyatin created CALCITE-5460:
------------------------------------------

             Summary: Types.className should 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


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 name which contain symbol $.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)