Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mimifying code deso not leave blanks in all the right places #278

Open
m-tyler opened this issue Jan 18, 2022 · 0 comments
Open

mimifying code deso not leave blanks in all the right places #278

m-tyler opened this issue Jan 18, 2022 · 0 comments

Comments

@m-tyler
Copy link

m-tyler commented Jan 18, 2022

On case statements, the keyword then has surrounding spaces removed.
"values case when 12 <> 4 then 'A' else 'B' end" becomes "values case when 12<>4then'A'else'B'end". Its odd that "case when FIELD = 'Y" then -1 else 1 end becomes "case when FIELD='Y'then-1 else 1 end" seems to be okay.

A similar issue exists with date/time calculations,"values DATE_FIELD -6 days" becomes "values DATE_FIELD-6days"

Issues with an IBM i DB2 system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant