Giter Site home page Giter Site logo

Comments (11)

rufuspollock avatar rufuspollock commented on June 11, 2024

I'm increasingly think we at least want to support a full resources list i.e. the resources attribute in Tabular Data Package so you can build all of the tables you need and handle foreignkeys.

from tableschema-sql-py.

danfowler avatar danfowler commented on June 11, 2024

I support this. I'd lean toward a separate tdp-sql library.

from tableschema-sql-py.

rufuspollock avatar rufuspollock commented on June 11, 2024

@danfowler ok can we tdp-to-sql then (or since explicit seems better tabular-data-package-to-sql ;-) ...)

from tableschema-sql-py.

rufuspollock avatar rufuspollock commented on June 11, 2024

@pudo / @danfowler how are we doing on this? I'm happy to see it in here first and then moved out or straight up in a separate repo.

/cc @pwalsh

from tableschema-sql-py.

danfowler avatar danfowler commented on June 11, 2024

@rgrp I'm working on sorting out foreignkeys support currently. Once that's done, the full load should be trivial, I think.

from tableschema-sql-py.

pudo avatar pudo commented on June 11, 2024

Sounds awesome. I'd be keen to see the separation of the TDP/JTS thing since their complexity seems to differ by an order of magnitude and I think having lean JTS tooling would be a value in itself.

from tableschema-sql-py.

pwalsh avatar pwalsh commented on June 11, 2024

Definitely agree with @danfowler and @pudo on having TDP/JTS as distinct libs.

from tableschema-sql-py.

rufuspollock avatar rufuspollock commented on June 11, 2024

Great we have a plan @danfowler i'll leave you to boot tabular-data-package-to-sql ;-)

I do note one subtlety: whether you want this library to handle "multiple" tables - strictly this takes you a bit into tabular data package territory but it makes sense if you have foreign keys etc. You also have the point that table naming really comes outside of JTS (it is in the resource descriptor).

from tableschema-sql-py.

danfowler avatar danfowler commented on June 11, 2024

@rgrp tabular-data-package-to-sql will handle the loading of TDP resources, setting table names, and joining, but it will depend on jts-sql being at least able to "see" other tables.

from tableschema-sql-py.

rufuspollock avatar rufuspollock commented on June 11, 2024

@danfowler makes perfect sense!

from tableschema-sql-py.

pwalsh avatar pwalsh commented on June 11, 2024

Yes, in a distinct library that is starting development now: https://github.com/okfn/datapackage-sql-py

from tableschema-sql-py.

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.