ms705 / nom-sql

Rust SQL parser written using nom

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem parsing certain CASE statements

soulstompp opened this issue · comments

For some reason the parser isn't able to parse this fairly simple case statement: CASE WHEN country = 'USA' THEN state ELSE city END. I couldn't find any obvious reason that the case_when_column would miss this one.