You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The unskip command removes the databricks.labs.ucx.skip property from the schema.
Steps To Reproduce
No response
Cloud
Azure
Operating System
Windows
Version
latest via Databricks CLI
Relevant log output
`"[REDACTED]databricks\labs\ucx\lib\src\databricks\labs\ucx\hive_metastore\mapping.py", line 192, in unskip_schema self._sql_backend.execute(~~~~~~~~~~~~~~~~~~~~~~~~~^ f"ALTER SCHEMA hive_metastore.{escape_sql_identifier(schema)} UNSET DBPROPERTIES IF EXISTS('{self.UCX_SKIP_PROPERTY}');" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "[REDACTED].databricks\labs\ucx\state\venv\Lib\site-packages\databricks\sdk\retries.py", line 54, in wrapper raise err File "[REDACTED].databricks\labs\ucx\state\venv\Lib\site-packages\databricks\sdk\retries.py", line 33, in wrapperreturn func(*args, **kwargs) File "[REDACTED].databricks\labs\ucx\state\venv\Lib\site-packages\databricks\labs\lsql\backends.py", line 220, in execute self._sql.execute(sql, catalog=catalog, schema=schema)~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "[REDACTED].databricks\labs\ucx\state\venv\Lib\site-packages\databricks\labs\lsql\core.py", line 268, in execute self._raise_if_needed(status)~~~~~~~~~~~~~~~~~~~~~^^^^^^^^ File "[REDACTED].databricks\labs\ucx\state\venv\Lib\site-packages\databricks\labs\lsql\core.py", line 505, in _raise_if_needed raise error_class(error_message)databricks.sdk.errors.platform.BadRequest:[PARSE_SYNTAX_ERROR] Syntax error at or near 'UNSET'. SQLSTATE: 42601 (line 1, pos 38)== SQL ==ALTER SCHEMA hive_metastore.`[REDACTED]` UNSET DBPROPERTIES IF EXISTS('databricks.labs.ucx.skip');`
The text was updated successfully, but these errors were encountered:
Adding related info if helpful. migrate-tables only checks for the existence of property databricks.labs.ucx.skip. Even if this property is set to false, a schema will be skipped in the migrate-tables job.
migrate-tables job skips "uc_test_2" schema:
INFO [d.l.u.hive_metastore.mapping][checking_databases_for_skip_property_4] Database uc_test_2 is marked to be skipped
That schema's property is set to false:
describe schema extended uc_test_2
((databricks.labs.ucx.skip,false))
Is there an existing issue for this?
Current Behavior
When attempting to run unskip on a schema, the following error is shown:
Expected Behavior
The unskip command removes the databricks.labs.ucx.skip property from the schema.
Steps To Reproduce
No response
Cloud
Azure
Operating System
Windows
Version
latest via Databricks CLI
Relevant log output
The text was updated successfully, but these errors were encountered: