← 全部工具

heuermh/sea-eagle

热度 75 更新于 开发与构建

Command line tools for AWS Athena.

githubauto-collected

安装

暂未验证可直接使用的安装命令,请查看项目官方文档或 Release。

sea-eagle

Command line tools for AWS Athena.

<br/

Photo from https://avifauna.hkbws.org.hk/species/0180/026300

Etymology

The white-bellied sea eagle (Icthyophaga leucogaster) is a large diurnal bird of prey in the family Accipitridae. A distinctive bird, the adult white-bellied sea eagle has a white head, breast, under-wing coverts and tail. The upper parts are grey and the black under-wing flight feathers contrast with the white coverts.

https://en.wikipedia.org/wiki/White-belliedseaeagle

<br/

Hacking sea-eagle

Install

  • JDK 17 or later, https://openjdk.java.net
  • Apache Maven 3.6.3 or later, https://maven.apache.org

To build

$ mvn package

$ export PATH=$PATH:`pwd`/target/appassembler/bin

Using sea-eagle

Usage

$ se --help
USAGE
  se [-hV] [--skip-header] [--skip-history] [-b=<outputLocation>] [-c=<catalog>] [-d=<database>] [-f=<resultsFormat>]
     [-i=<queryPath>] [--left-pad=<leftPad>] [-n=<pollingInterval>] [-o=<resultsPath>] [-q=<query>] [-w=<workgroup>]
     [-p=<executionParameters>]... [COMMAND]

OPTIONS
  -c, --catalog=<catalog>                          Catalog name, if any.
  -d, --database=<database>                        Database name, if any.
  -w, --workgroup=<workgroup>                      Workgroup, default primary.
  -b, --output-location=<outputLocation>           Output location, if workgroup is not provided.
  -n, --polling-interval=<pollingInterval>         Query status polling interval, default 250 ms.

--skip-history Skip writing query to history file. -q, --query=<query Inline SQL query, if any. -i, --query-path=<queryPath SQL query input path, default stdin. -p, --execution-parameters=<executionParameters SQL query execution parameters, if any. -o, --results-path=<resultsPath Query results path, default stdout. -f, --format, --results-format=<resultsFormat Query results format { pretty, sparse, text, parquet, tui }, default text. --left-pad=<leftPad Left pad query results, default 2 for pretty and sparse formats. --verbose Show additional logging messages. -h, --help Show this help message and exit. -V, --version Print version information and exit.

COMMANDS help Display help information about the specified command. generate-completion Generate bash/zsh completion script for se.