Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1.35 KB

File metadata and controls

31 lines (26 loc) · 1.35 KB

Using the HiveFederatedCatalogFactory

This HiveFederatedCatalogFactory module is an independent compilation unit and will be built into the Polaris binary only when the following flag is set in the gradle.properties file:

NonRESTCatalogs=HIVE,<alternates>

The other option is to pass it as an argument to the gradle JVM as follows:

./gradlew build -PNonRESTCatalogs=HIVE

Without this flag, the Hive factory won't be compiled into Polaris and therefore Polaris will not load the class at runtime, throwing an unsupported exception for federated catalog calls.