[BUG][Spark] DeltaTable.forName
method fails to parse fully qualified table name with catalog in Python API
#3255
Labels
bug
Something isn't working
Bug
Which Delta project/connector is this regarding?
Describe the problem
The
DeltaTable.forName
method from thedelta
Python package fails to parse and retrieve a Delta table created with a fully qualified three-level namespace (catalog.schema.table
). This results in a syntax error, despite the table being accessible via Spark SQL.Steps to reproduce
Observed results
You will get a Syntax error, with the following traceback:
Expected results
Further details
I should get the same result as using the 2-level syntax (without specifying the catalog). Using Spark SQL I can also access the Delta table correctly. The problem seems to be specific to the Python package API.
Environment information
Willingness to contribute
The Delta Lake Community encourages bug fix contributions. Would you or another member of your organization be willing to contribute a fix for this bug to the Delta Lake code base?
The text was updated successfully, but these errors were encountered: