No description
Find a file
2018-09-13 20:47:11 +03:00
tests add test 2017-09-18 13:51:04 +03:00
.gitignore presto db refactoring v1.0.1 2018-02-28 16:29:47 +02:00
.travis.yml docker file 2017-09-18 13:49:21 +03:00
db_presto.nim Fix incompitable version of nim cause a compilation error + export json 2018-09-13 20:47:11 +03:00
db_presto.nimble Fix incompitable version of nim cause a compilation error + export json 2018-09-13 20:47:11 +03:00
Dockerfile docker file 2017-09-18 13:49:21 +03:00
presto_nim.jpg adding image. 2017-09-14 19:40:05 +03:00
README.md presto db refactoring v1.0.1 2018-02-28 16:29:47 +02:00

prestodb-Nim nimble

alt tag

Simple presto-db connector using nim.

Current Version:

Release 1.0

What Works ?

  • execute(sql"sql")
  • fetchOne()
  • fetchMany(size)
  • fetchAll()
  • authentication

Usage:

    import db_presto
    let conn = newPrestoClient("https", "host", "8443", "hive", "default", "user", "password")
    var ctx = conn.cursor()
    ctx.execute(sql"select * from gett_algo.weather_forecast5d3h_v2 LIMIT 11")

Installation:

nimble install db_presto

contributing

I'll be happy to get any help, just work & pull request.