git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (CALCITE-2311) case when returns redundant white space


pengzhiwei created CALCITE-2311:
-----------------------------------

             Summary: case when returns redundant white space
                 Key: CALCITE-2311
                 URL: https://issues.apache.org/jira/browse/CALCITE-2311
             Project: Calcite
          Issue Type: Bug
          Components: core
    Affects Versions: 1.1.0-incubating
            Reporter: pengzhiwei
            Assignee: Julian Hyde
             Fix For: 1.17.0


If case when has two brach which returns string literal,redundant white space will append to the short brach.For example:
{code:java}
case when id>0 then 'a' else 'abc' end{code}
will actually be convert to 
{code:java}
case when id>0 then 'a  ' else 'abc' end{code}
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)