We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We need to export data into a sqlite if requested
Parameters:
_
rewrite
appen
update
path on S3: data/sqlite/data/{resourcename}.db
data/sqlite/data/{resourcename}.db
# request body from CLI { ... kind: sqlite }
meta: owner: <owner username> ownerid: <owner unique id> dataset: <dataset name> version: 1 findability: <published/unlisted/private> inputs: - # only one input is supported atm kind: datapackage url: <datapackage-url> parameters: resource-mapping: <resource-name-or-path>: <resource-url> outputs: - kind: sqlite
when sqlite is in outputs, we need to add two processors:
# pipeline-spec meta: ... inputs: - kind: datapackage ... outputs: - kind: sqlite # generator.py in assambler pipeline = [current_pipeline] for output in outputs: if output[kind] == 'sqlite': pipeline.append({run: dump.to_sql, parameters: {engine: lsqlite:///}}}) etc..
yield pipeline_id, {pipeline: pipeline}
Questions:
What should be path for it?
The text was updated successfully, but these errors were encountered:
zelima
No branches or pull requests
We need to export data into a sqlite if requested
Acceptance criteria
Tasks
Analysis
Parameters:file-name: optional #defaults to <>.dbresource-names: [resource-one, reource-two] # requiredtable names will be same as resources names (with underscores_
)mode will always berewrite
(always creates new tables)other options would beappen
(append new rows) andupdate
(update if row exists). but let's keep it simplepath on S3:
data/sqlite/data/{resourcename}.db
Spec
Analysis
when sqlite is in outputs, we need to add two processors:
yield pipeline_id, {pipeline: pipeline}
Questions:
What should be path for it?
The text was updated successfully, but these errors were encountered: