Skip to content

Commit 41436a3

Browse files
larsgeorge-dbnfx
andauthored
Fixed handling of DELTASHARING table format (#802)
## Changes Changed classification of `DELTASHARING` table formats. ### Linked issues Resolves #789 ### Tests - [x] manually tested Co-authored-by: Serge Smertin <[email protected]>
1 parent 29fb732 commit 41436a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/databricks/labs/ucx/queries/views/objects.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SELECT object_type, object_id, failures FROM (
1010
SELECT "tables" as object_type, CONCAT(t.catalog, '.', t.database, '.', t.name) AS object_id,
1111
TO_JSON(
1212
FILTER(ARRAY(
13-
IF(t.table_format != "delta", CONCAT("Non-DELTA format: ", t.table_format), NULL),
13+
IF(NOT STARTSWITH(t.table_format, "DELTA"), CONCAT("Non-DELTA format: ", t.table_format), NULL),
1414
IF(STARTSWITH(t.location, "wasb"), "Unsupported Storage Type: wasb://", NULL),
1515
IF(STARTSWITH(t.location, "adl"), "Unsupported Storage Type: adl://", NULL),
1616
CASE

0 commit comments

Comments
 (0)