Coder Social home page Coder Social logo

lake-driver's Introduction

lake-driver

environment setup

  • make sure you've already used AWS CLI's configure command to add credentials to whatever environment you dev in
  • in the test folder, replace all strings of "build.cauldron.tools" with an existing s3 bucket id of something your previously configured AWS credentials actually have read/write access to
  • use the LakeDriver.getConnection(...) methods to create JDBC connections
    • pass a list of TableSpecification defining all "external tables" your query needs to be a valid reference
    • (optional) specify one of the following Scan classes to configure behavior
      • LakeS3GetScan uses GetObject, full tables are downloaded, both projection and filtering are performed in memory
      • LakeS3SelectScan Uses SelectObjectContent, only the required projected columns are downloaded, filtering is done in memory
      • LakeS3SelectWhereScan (default) uses SelectObjectContent, both projection and filtering is done on AWS, the results are downloaded, any remaining untranslated filters are applied in memory

todo

  • improve WHERE push-down
  • performance profiling, optimization
  • smarter, more comprehensive testing
  • mixed scan mode: some table scans are better GET, others SELECT
  • integrate and test the parquet compression support and save cash
  • get rid of AmazonS3URI.java dependency
  • figure out a way to get S3 Select working on AWS SDK v2

lake-driver's People

Contributors

amannm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

vdm98

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.