From 7f307d49e91749aa0b9261b852dc45354b9dddbf Mon Sep 17 00:00:00 2001 From: Vinish Reddy Date: Mon, 9 Dec 2024 01:05:57 +0530 Subject: [PATCH] Update xtable-api/src/main/java/org/apache/xtable/spi/sync/CatalogSync.java Co-authored-by: Tim Brown --- .../src/main/java/org/apache/xtable/spi/sync/CatalogSync.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtable-api/src/main/java/org/apache/xtable/spi/sync/CatalogSync.java b/xtable-api/src/main/java/org/apache/xtable/spi/sync/CatalogSync.java index c1bcf1a68..df25d0d31 100644 --- a/xtable-api/src/main/java/org/apache/xtable/spi/sync/CatalogSync.java +++ b/xtable-api/src/main/java/org/apache/xtable/spi/sync/CatalogSync.java @@ -67,7 +67,7 @@ private CatalogSyncStatus getCatalogSyncStatus( if (!doesDatabaseExists) { catalogSyncOperation.createDatabase(tableIdentifier.getDatabaseName()); } - Object catalogTable = catalogSyncOperation.getTable(tableIdentifier); + TABLE catalogTable = catalogSyncOperation.getTable(tableIdentifier); String storageDescriptorLocation = catalogSyncOperation.getStorageDescriptorLocation(catalogTable); if (catalogTable == null) {