Skip to content

Conversation

@guan404ming
Copy link
Member

Why

ANALYZE, ANALYZE t, and ANALYZE t (col1, col2) all failed because parse_analyze() unconditionally required a table name and didn't handle the PostgreSQL parenthesized column syntax.

How

Made table_name optional (Option) in the Analyze struct and added column list parsing after the table name. Updated Display and Spanned to match.

Signed-off-by: Guan-Ming (Wesley) Chiu <105915352+guan404ming@users.noreply.github.com>
Signed-off-by: Guan-Ming (Wesley) Chiu <105915352+guan404ming@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

1 participant