Skip to content
Open
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
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,25 @@ dependencies {
}
```

### Packaging executable JARs

The query API uses gRPC and Apache Arrow Flight. If you package your application
as a single executable JAR, make sure `META-INF/services` files from dependencies
are merged instead of overwritten.

Without this, the application can work from an IDE or Maven classpath but fail
when started with `java -jar` with an error like:

```text
java.lang.IllegalArgumentException: Address types of NameResolver 'unix' ... not supported by transport
```

For the Maven Shade Plugin, add `ServicesResourceTransformer`:

```xml
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
```

## Usage

### Create client
Expand Down
Loading