Giter Club home page Giter Club logo

fuse-query's Introduction

Github Actions Status Github Actions Status codecov.io License

FuseQuery

FuseQuery is a Distributed SQL Query Engine at scale.

Give thanks to ClickHouse and Arrow.

Features

  • High Performance
  • High Scalability
  • High Reliability

Architecture

Crate Description Status
processors Dataflow streaming processor WIP
transforms Query execution transform WIP
planners Distributed plan for queries and DML statements WIP
optimizers Optimizer for distributed plan TODO
functions Scalar and Aggregation functions WIP
datablocks Vectorized data processing unit WIP
datastreams Async streaming iterators WIP
datasources Interface to the fuse-store server WIP
distributed Distributed scheduler and executor for planner TODO
servers Server handler(MySQL/HTTP) MySQL

How to Run?

Fuse-Query Cloud Compute starts

$make run

12:46:15 [ INFO] Options { log_level: "debug", num_cpus: 8, mysql_handler_port: 3307 }
12:46:15 [ INFO] Fuse-Query Cloud Compute Starts...
12:46:15 [ INFO] Usage: mysql -h127.0.0.1 -P3307

Query with MySQL client

$mysql -h127.0.0.1 -P3307
mysql> explain select a1 from t1 where a > 10 and b < 5 limit 10;
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| explain                                                                                                                                                                                            |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| └─ Projection: a1
  └─ Limit: 10 (preliminary LIMIT)
    └─ Filter: a > 10 AND b < 5 (WHERE)
      └─ Scan: t1
        └─ ReadDataSource: scan parts [4] (Read from CSV table)                     |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)

How to Test?

$make test

How to Bench?

$make bench

fuse-query's People

Contributors

bohutang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.