Skip to content

Commit

Permalink
Fix analyze with type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
georgesittas authored Jan 14, 2025
1 parent 863ad44 commit ea3358d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlglot/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -4692,7 +4692,7 @@ def analyzedelete_sql(self, expression: exp.AnalyzeDelete) -> str:
kind = f" {kind}" if kind else ""
return f"DELETE{kind} STATISTICS"

def analyzewith_sql(self, expression: exp.AnalyzeColumns) -> str:
def analyzewith_sql(self, expression: exp.AnalyzeWith) -> str:
return self.expressions(expression, prefix="WITH ", sep=" ")

def analyzelistchainedrows_sql(self, expression: exp.AnalyzeListChainedRows) -> str:
Expand Down

0 comments on commit ea3358d

Please sign in to comment.