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 16:00:00 UTC

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

     [ https://issues.apache.org/jira/browse/CALCITE-5460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Sysolyatin updated CALCITE-5460:
---------------------------------------
    Description: 
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 $.

  was:
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 $.


> 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
>            Assignee: Dmitry Sysolyatin
>            Priority: Major
>
> 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)