Skip to content

[BUG]: View Migration Fails with "With" statement #1798

@FastLee

Description

@FastLee

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Views that use a "with" statement are not migrated properly.
sqlglot identifies the with statement as a table dependency and fail to migrate it.

Expected Behavior

"with" statement should not be identified as view dependencies and should be blocking the migration.

Steps To Reproduce

No response

Cloud

AWS

Operating System

macOS

Version

latest via Databricks CLI

Relevant log output

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions