You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/09/07 20:08:00 UTC

[jira] [Updated] (KYLIN-2837) Ineffective call to toUpperCase() in MetadataManager

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

Ted Yu updated KYLIN-2837:
--------------------------
    Description: 
{code}
    public TableDesc getTableDesc(String tableName, String prj) {
        if (tableName.indexOf(".") < 0)
            tableName = "DEFAULT." + tableName;

        tableName.toUpperCase();
{code}

The call to toUpperCase() is ineffective.

  was:
{code}
    public TableDesc getTableDesc(String tableName, String prj) {
        if (tableName.indexOf(".") < 0)
            tableName = "DEFAULT." + tableName;

        tableName.toUpperCase();
{code}
The call to toUpperCase() is ineffective.


> Ineffective call to toUpperCase() in MetadataManager
> ----------------------------------------------------
>
>                 Key: KYLIN-2837
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2837
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>
> {code}
>     public TableDesc getTableDesc(String tableName, String prj) {
>         if (tableName.indexOf(".") < 0)
>             tableName = "DEFAULT." + tableName;
>         tableName.toUpperCase();
> {code}
> The call to toUpperCase() is ineffective.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)