Skip to content

case 语句 bug #42

@Mr-ZeLong

Description

@Mr-ZeLong

如果对下面的语句进行格式化,会发现 case 后面出问题
select 1,2,3,
case -- case 语句注释
when name='a' then 123 -- c1
when name = 'b' then 132 -- c2
when name = 'c' then 25 --c3
end as alias
from t1;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions