Afros
Afros
First and foremost: thank you! ---- Currently, postgres types (enums) can only be processed using the fallback COMMAND expression. It would be nice if we could get dedicated AST expression...
```python optimized = optimize( parse_one("DELETE FROM authors RETURNING *", dialect=dialect), schema=schema, dialect=dialect, sql=query.sql(dialect=dialect), rules=( qualify, ), expand_alias_refs=False, allow_partial_qualification=True, validate_qualify_columns=False, quote_identifiers=False, identify=False ) ``` This produces `DELETE FROM authors RETURNING *`....
This works ```sql UPDATE authors SET authors.deleted_at = now() ``` This fails ```sql UPDATE authors, books SET authors.deleted_at = now(), books.deleted_at = now() ``` Error: ```logs sqlglot.errors.ParseError: Invalid expression /...
First, thank you for maintaining sqlglot. It has been very useful for my personal project. ### Problem `sqlglot` fails to parse valid PostgreSQL `COMMENT ON` statements when the target is...