KonnexionsGmbH / sqlparse

LALR grammar based SQL Parser
Other
43 stars 15 forks source link

Extending use of CASE expression #90

Closed walter-weinmann closed 6 years ago

walter-weinmann commented 7 years ago

This solves the issues #56. The new grammar definition is parse tree compatible with the existing grammar.


Oracle 12c example:

image


New sqlparse grammar:

fun_arg -> case_when_exp                                                                        : '$1'.
walter-weinmann commented 6 years ago

Solved by PR #109.