Giter Club home page Giter Club logo

Comments (3)

exaSR avatar exaSR commented on June 18, 2024

Confirming this on (python 2.7.5, sqlalchemy 0.8.2, exaODBC 4.1.2, EXASolution 4.2.7)

EXASolution only supports timestamps with millisecond fractions, not microseconds.
Changing the tested timestamp from (2012, 10, 15, 12, 57, 18, 396) to (2012, 10, 15, 12, 57, 18, 396000) lets us pass the test, which of course no longer checks for microseconds.

Possible solutions:

  1. Turn off microsecond support in the dialect. We will also lose milliseconds.
  2. Enhance sqlalchemy and the test framework to differentiate between milli-, micro- and nanosecond precision.
  3. Ignore/disable the testcase for this dialect.
  4. Ask Exasol to add microsecond precision for timestamps.

from sqlalchemy-exasol.

jank avatar jank commented on June 18, 2024

My preferred order of solving this is:

2 - enhance SQLA test framework. This is where this should be handled. A pull request for SQLA for versions 0.8.x and 0.9.x is required.

in parallel:
1 - but only as a temporary workaround because it would be a pity to loose this precision
4 - at least post the request

last option:
3

from sqlalchemy-exasol.

jank avatar jank commented on June 18, 2024

To get to a green build I have disabled the test for microseconds with commit e0b530b.
I will add a new issue to send a pull request to upstream project SQLA for test suite enhancement.

from sqlalchemy-exasol.

Related Issues (20)

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.