Git Product home page Git Product logo

docker-presto's Introduction

Docker Presto

使用 docker-compose 启动 hive 及 presto。用于搭建测试使用的 presto 环境。

使用 big-data-europe/docker-hive 仓库中的文件进行一键启动。

install

bash ./install.sh

start

(cd lib && docker-compose up -d)

etc

数据

搭建完后,presto 中没有数据。根据业务需求准备模拟数据,建表并导入数据。

导入方案

  1. 在 hive 层操作,使用 beeline 进行命令行的操作。
  2. 在 hive 层操作,使用 hive client 进行操作。ps:目前支持最好的是 python 的 PyHive。
  3. 在 presto 层进行操作,建表、然后使用 insert 语句进行插入。ps:这里可以使用 JS 实现,但可行性并未验证。

docker-presto's People

Contributors

shaynewu avatar chux0519 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.