Code Monkey home page Code Monkey logo

atsd-jdbc's People

Contributors

alexey-kravtsov avatar annstriganova avatar arthasasyan avatar axibase-atsd avatar cenicienta avatar dependabot[bot] avatar gitreal avatar kghamilton89 avatar raipc avatar rodionos avatar simakmi avatar tkasang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

atsd-jdbc's Issues

Building driver from source

Need a section 'Build Driver' which outlines the steps involved in building the driver - with dependencies.

atsd_entity column type is varchar for numeric type

Driver version 1.4.8 (we don't have 1.4.9 on maven)

SELECT tags.symbol, tags.class_code, tags.lot AS LONG FROM atsd_entity WHERE tags.symbol = 'LKOH' limit 1

The third column getColumnTypeName returns varchar, ignoring the cast.

Server metadata is:

"tags.symbol","tags.class_code","LONG"
"LKOH","EQRD","1"

image

Testing pipeline is broken

After travis-ci shutdown, we don't have snapshot releases.

Integrate atsd-jdbc-test repo as a module and run integration tests in main repo on each pull request

Retrieving statement metadata for parameterized queries

Current implementation of PreparedStatement#getMetadata() in master uses /api/sql/meta without modifying the query. If the query contains placeholder symbols, ATSD returns error. How should this case be resolved?

  • Cut the query starting with WHERE condition. It will help for some simple software-generated queries.
  • Implement smart query processing in JDBC driver
  • Support prepared statements in ATSD level
  • Something other?

Statement - ResultSet coupling

The readme needs to cover the case, that the same statement cannot be re-used to execute multiple queries.

Statement statement = connection.createStatement();
ResultSet resultSet1 = statement.executeQuery(query1);
while (resultSet1.next()) {
   //process resultset
}
ResultSet resultSet2 = statement.executeQuery(query2);

What error will be raised? What is the recommended pattern?
Actually, we could automatically close resultSet1 once we reach the last row to allow this kind of use case?

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.