apache / apache/polaris

Add build-time flags to produce Admin CLI without NoSQL dependencies

Open
#3,867 4 comments 1 reaction 1 assignee Claimed by @dimas-b View on GitHub
enhancement stale
Dominant language
Java
Stars
2.1k
Forks
522
Avg merge
1d 22h
Merged PRs (30d)
137

Description

### Is your feature request related to a problem? Please describe.

This is a short-term follow-up to #3395.

In some environments, it may not be desirable to pull in NoSQL dependencies into the Admin CLI command.

This can be done by modularizing individual CLI commands and having downstream project rebuild the Admin CLI with only required dependencies.

However, that creates some burden on the downstream project in terms of developing the build system.

This issue proposes for Polaris to offer built-time flags so that Polaris build scripts could be used to compile the Admin CLI with (OSS default) or without NoSQL commands as user's discretion.

This would be similar to the existing `NonRESTCatalogs` build flag.

### Describe the solution you'd like

_No response_

### Describe alternatives you've considered

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.