Skip to content
New issue

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

Ability to open a CSV file in an in-memory database #29

Closed
simonw opened this issue Sep 1, 2021 · 1 comment
Closed

Ability to open a CSV file in an in-memory database #29

simonw opened this issue Sep 1, 2021 · 1 comment
Labels
custom-datasette Need to customize Datasette itself (custom templates, CSS, JS etc) electron-wrapper Features that go in the Node.js/Electron code enhancement New feature or request

Comments

@simonw
Copy link
Owner

simonw commented Sep 1, 2021

The first release of this app will have a lot more impact if it can open CSV files. No need for these to be imported into an on-disk SQLite database - they can be opened in memory instead.

File -> Open CSV

@simonw simonw added enhancement New feature or request custom-datasette Need to customize Datasette itself (custom templates, CSS, JS etc) electron-wrapper Features that go in the Node.js/Electron code labels Sep 1, 2021
@simonw simonw added this to the First public installer release milestone Sep 1, 2021
simonw added a commit to simonw/datasette-app-support that referenced this issue Sep 2, 2021
Also now creates a /temporary in-memory named DB on startup

Refs simonw/datasette-app#29
simonw added a commit that referenced this issue Sep 2, 2021
simonw added a commit to simonw/datasette-app-support that referenced this issue Sep 2, 2021
simonw added a commit to simonw/datasette-app-support that referenced this issue Sep 2, 2021
simonw added a commit that referenced this issue Sep 2, 2021
Regular users don't care about the difference between CSV and TSV, refs #29
@simonw
Copy link
Owner Author

simonw commented Sep 2, 2021

This is now working well enough!

open-csv-demo.mov

@simonw simonw closed this as completed Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
custom-datasette Need to customize Datasette itself (custom templates, CSS, JS etc) electron-wrapper Features that go in the Node.js/Electron code enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant