Preserve the space between interval
and a following parenthesis
#612
Labels
bug
Something isn't working
interval
and a following parenthesis
#612
Describe the bug
interval
is sort of a word operator, but is being parsed as a function.To Reproduce
select '2024-03-19' + interval (case when false then 1 else 0 end) day
Expected behavior
no-op
Actual behavior
select '2024-03-19' + interval(case when false then 1 else 0 end) day
Additional context
What is the output of
sqlfmt --version
? 0.21.3What is the output of
pip list
(orpipx list
if you installed using pipx)?The text was updated successfully, but these errors were encountered: