andialbrecht / sqlparse

A non-validating SQL parser module for Python
BSD 3-Clause "New" or "Revised" License
3.76k stars 700 forks source link

Add Keyword to recognize Filter.. Where.. clause #704

Open monicaluodialpad opened 1 year ago

monicaluodialpad commented 1 year ago

Hi team, I'm currently experiencing a formatter issue. Screen Shot 2023-02-14 at 1 27 16 PM Do we have a temporary solution or are we going to fix this indentation issue in the future?

References

About filter where

monicaluodialpad commented 1 year ago

This is more examples: Screen Shot 2023-02-14 at 1 31 20 PM

monicaluodialpad commented 1 year ago

A temporary solution is that in your query, there must be an 'AS' keyword image I would still like to leave this issue open in case there could be further improvement.