Package org.apache.polaris.spark.utils
Class PolarisCatalogSpark4Utils
java.lang.Object
org.apache.polaris.spark.utils.PolarisCatalogUtils
org.apache.polaris.spark.utils.PolarisCatalogSpark4Utils
Spark 4.0 implementation of
PolarisCatalogUtils.-
Field Summary
Fields inherited from class org.apache.polaris.spark.utils.PolarisCatalogUtils
TABLE_PATH_KEY, TABLE_PROVIDER_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.spark.sql.connector.catalog.TableloadV1SparkTable(GenericTable genericTable, org.apache.spark.sql.connector.catalog.Identifier identifier, String catalogName) Return a Spark V1Table for formats that do not use DataSourceV2.Methods inherited from class org.apache.polaris.spark.utils.PolarisCatalogUtils
getAuthSession, isTableWithSparkManagedLocation, loadV2SparkTable, normalizeTablePropertiesForLoadSparkTable, useDelta, useHudi, useIceberg, usePaimon
-
Constructor Details
-
PolarisCatalogSpark4Utils
public PolarisCatalogSpark4Utils()
-
-
Method Details
-
loadV1SparkTable
public org.apache.spark.sql.connector.catalog.Table loadV1SparkTable(GenericTable genericTable, org.apache.spark.sql.connector.catalog.Identifier identifier, String catalogName) Description copied from class:PolarisCatalogUtilsReturn a Spark V1Table for formats that do not use DataSourceV2. Currently, this is being used for Hudi tables- Specified by:
loadV1SparkTablein classPolarisCatalogUtils
-