Comments (11)
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.
I support this. I'd lean toward a separate tdp-sql library.
from tableschema-sql-py.
@danfowler ok can we tdp-to-sql then (or since explicit seems better tabular-data-package-to-sql ;-) ...)
from tableschema-sql-py.
@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.
@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.
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.
Definitely agree with @danfowler and @pudo on having TDP/JTS as distinct libs.
from tableschema-sql-py.
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.
@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.
@danfowler makes perfect sense!
from tableschema-sql-py.
Yes, in a distinct library that is starting development now: https://github.com/okfn/datapackage-sql-py
from tableschema-sql-py.
Related Issues (20)
- Update to jsontableschema-v0.7 HOT 1
- Fix readme on PyPi
- Data synchronisation? HOT 5
- Rebase on sqlalchemy.dialects.postgresql
- Fix readme on PyPi HOT 1
- Expose package version
- Resources have no "name"s HOT 1
- Support all Table Schema types
- "Runnable" data packages HOT 4
- Should support database engines other then postgresql HOT 1
- Should be able to save tables to MySQL HOT 2
- Mismatch in primary key types should not cause a failure on SQL writing HOT 2
- Postgres dialect incorrectly maps `array` types as text instead of JSONB
- Express mapping in an external JSON to reuse as standard reference HOT 1
- Package tableschema-sql for distribution via conda-forge HOT 5
- PostgreSQL requires a unique constraint for FK reference
- Pattern check uses 'like' which is not RE compatible
- Timezone offset ignored when loading into sqlite HOT 5
- Maintainer / Lead HOT 8
- Is the package still maintained?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tableschema-sql-py.