Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MingyuGuan/husky-sql

 
 

Repository files navigation

Husky SQL

Build Status

Dependencies

Husky SQL has the following minimal dependencies:

  • nlohmann/json (Version >= 3.2.0, it will be installed automatically)
  • All dependencies of husky

Build

Download the latest source code of Husky SQL:

git clone --recursive https://github.com/husky-team/husky-sql.git
cd husky-sql

Do an out-of-source build using CMake:

mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release # CMAKE_BUILD_TYPE: Release, Debug, RelWithDebInfo
make help                           # List all build target

make -j{N}                          # Make using N threads

Configuration & Running

For information of configuring and running Husky, please take a look at the Husky README.

Get husky query plan JSON (calcite/output/plan.json)
make HuskyQueryPlanToJson
Get query execution
make ExecuteSimpleQuery
Conf file
  master_host=w10
  master_port=56789
  comm_port=45678

  hdfs_namenode=proj99
  hdfs_namenode_port=9000

  serve=0

  json_url=hdfs://localhost:9000/husky-sql/input/plan.json
  output_path=hdfs://proj99:9000/husky-sql/output/

  [worker]
  info=w1:4
  info=w2:4
  info=w3:4
  info=w4:4
  info=w5:4

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 46.9%
  • Java 35.7%
  • CMake 15.7%
  • Python 1.7%