apache / datafusion-ballista

Apache DataFusion Ballista Distributed Query Engine
https://datafusion.apache.org/ballista
Apache License 2.0
1.56k stars 197 forks source link

build: Fix the ballista-cli Dockerfile #981

Closed haoxins closed 9 months ago

haoxins commented 9 months ago

Which issue does this PR close?

package `ahash v0.8.8` cannot be built because it requires rustc 1.72.0 or newer

Closes #.

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

haoxins commented 9 months ago

worked on my local now~

$ cd ballista-cli
$ docker build .. -f ./Dockerfile -t ballista
$ docker run -it ballista --help

ballista-cli 0.12.0
Apache Arrow <dev@arrow.apache.org>
Command Line Client for Ballista distributed query engine.

USAGE:
    ballista-cli [OPTIONS]

OPTIONS:
    -c, --batch-size <BATCH_SIZE>
            The batch size of each query, or use Ballista default

        --concurrent-tasks <CONCURRENT_TASKS>
            The max concurrent tasks, only for Ballista local mode. Default: all available cores

    -f, --file <FILE>...
            Execute commands from file(s), then exit

        --format <FORMAT>
            [default: table] [possible values: csv, tsv, table, json, nd-json, automatic]

    -h, --help
            Print help information

        --host <HOST>
            Ballista scheduler host

    -p, --data-path <DATA_PATH>
            Path to your data, default to current directory

        --port <PORT>
            Ballista scheduler port

    -q, --quiet
            Reduce printing other than the results and work quietly

    -r, --rc <RC>...
            Run the provided files on startup instead of ~/.ballistarc

    -V, --version
            Print version information