You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are cases when the column is made from the expression. In my case, I have a query that looks like this:
SELECT
(
(
TRUE = TRUE OR
FALSE = FALSE
) AND
TRUE = FALSE
) AS test
I wrote a simple script that looks like this:
query=Query(""" SELECT ( ( TRUE = TRUE OR FALSE = FALSE ) AND TRUE = FALSE ) AS test """)
forcinquery.columns:
print(c.__dict__)
And it returns an error: raise ValueError("SELECT statement not found") ValueError: SELECT statement not found
I think it would be nice to implement that functionality because there are cases when you cannot avoid using nested parenthesis.
The text was updated successfully, but these errors were encountered:
nerilau
changed the title
Query object columns are not detected
Query object columns are not detected ("SELECT statement not found")
Jan 30, 2023
There are cases when the column is made from the expression. In my case, I have a query that looks like this:
I wrote a simple script that looks like this:
And it returns an error:
raise ValueError("SELECT statement not found") ValueError: SELECT statement not found
I think it would be nice to implement that functionality because there are cases when you cannot avoid using nested parenthesis.
The text was updated successfully, but these errors were encountered: