Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extensions/federation/hive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ NonRESTCatalogs=HIVE,<alternates>

The other option is to pass it as an argument to the gradle JVM as follows:
```
./gradlew build -DNonRESTCatalogs=HIVE
./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.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ property to include `HIVE` (and any other non-REST backends you need):

```bash
./gradlew :polaris-server:assemble :polaris-server:quarkusAppPartsBuild --rerun \
-DNonRESTCatalogs=HIVE -Dquarkus.container-image.build=true
-PNonRESTCatalogs=HIVE -Dquarkus.container-image.build=true
```

`runtime/server/build.gradle.kts` wires the extension in only when this flag is present, so binaries
Expand Down