Code Monkey home page Code Monkey logo

Comments (4)

soininen avatar soininen commented on July 21, 2024 1

But ParameterValue and its subclasses are also 'public' - do you think it's possible to implement them in arrow?

In fact, I am going to drop ParameterValue and just use the Arrow data types. I see no benefit in wrapping working data types in interfaces that do not offer any real improvements and can be considered niche. Client code can then work directly with standard Arrow API without the need to convert to/from ParameterValue.

from spine-database-api.

manuelma avatar manuelma commented on July 21, 2024

Very good, I'd be looking forward to see the results! I understand you plan to keep the 'public' API from spinedb_api.parameter_value but just change the internals, right?

from spine-database-api.

soininen avatar soininen commented on July 21, 2024

I understand you plan to keep the 'public' API from spinedb_api.parameter_value but just change the internals, right?

I am not planning to change parameter_value at all but add a new module next to it. I think we should leave parameter_value as-is for backwards compatibility if we ever make the full switch to Arrow.

The new module (spinedb_api.arrow?) should emulate the interface of parameter_value. I guess the most important functions would be from_database() which returns an Arrow object and to_database() which converts an Arrow object to a binary blob.

from spine-database-api.

manuelma avatar manuelma commented on July 21, 2024

Sounds good! But ParameterValue and its subclasses are also 'public' - do you think it's possible to implement them in arrow?

from spine-database-api.

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.