andialbrecht/sqlparse — pull request #110 by pvatala (2013-09-13 20:07:36+00:00)
Title: Parenthesis, Functions and Arithmetic Expressions in Identifiers

Parenthesis, functions and arithmetic expressions in column definitions can be grouped into the identifier.
Resolves the issues -
https://github.com/andialbrecht/sqlparse/issues/109
https://github.com/andialbrecht/sqlparse/issues/106
And resolved many issues I was running into parsing user generated queries using this awesome module.