Giter Site home page Giter Site logo

xiaoligit / presto Goto Github PK

View Code? Open in Web Editor NEW

This project forked from china-jd/presto

0.0 2.0 0.0 42 MB

分布式大数据SQL查询引擎,适用于交互式分析查询

Home Page: http://prestodb-china.com/

License: Apache License 2.0

Java 99.29% Makefile 0.06% Python 0.04% HTML 0.37% SQLPL 0.05% PLSQL 0.03% JavaScript 0.01% ANTLR 0.14%

presto's Introduction

Presto

Presto分布式大数据SQL查询引擎.

中文用户手册请点击.

编译环境

  • Mac OS X or Linux
  • Java 8, 64-bit
  • Maven 3.1.1+ (for building)
  • Python 2.4+ (for running with the launcher script)

编译Presto

Presto是一个标准的maven project,在工程的根目录执行以下命令进行编译:

mvn clean install

第一次运行编译时,将会自动下载所有的maven依赖库并缓存到本地:(~/.m2/repository), 可能会需要较长时间,随后编译速度会大大加快.

Presto拥有全部的单元测试类,执行此操作可能需要一些时间,可以通过以下编译命令来跳过这些测试类:

mvn clean install -DskipTests

运行cli

启动CLI连接Presto Server并提交SQL查询:

presto-cli/target/presto-cli-*-executable.jar

查看Presto集群的节点信息:

SELECT * FROM system.runtime.nodes;

依照样例配置后,可以执行以下命令列出Hive连接器中的default库中的表信息:

SHOW TABLES FROM hive.default;

presto's People

Contributors

dain avatar electrum avatar martint avatar cberner avatar erichwang avatar nileema avatar nezihyigitbasi avatar haozhun avatar zhenxiao avatar miniway avatar yuananf avatar amleshjk avatar hgschmie avatar alexoss68 avatar rishidwivedi avatar tobrien avatar yaoxin226 avatar andreaspetter avatar frsyuki avatar xerial avatar sameeragarwal avatar hipjim avatar joyyao8 avatar toxeh avatar shubhamtagra avatar komamitsu avatar jamesgpearce avatar damiencarol avatar brndnmtthws avatar kaschaeffer avatar

Watchers

James Cloos avatar  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.