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

registerOPFSFileName and relevant .files register in the shell #1936

Merged
merged 2 commits into from
Jan 16, 2025

Conversation

carlopi
Copy link
Collaborator

@carlopi carlopi commented Jan 16, 2025

Allows, in the shell, to do:

.files register opfs://a.csv
COPY (SELECT 32) TO 'opfs://a.csv';

close tab, restart, then:

.files register opfs://a.csv
FROM 'opfs://a.csv';

Roadmap:

  • Make registration of existing files automatic
  • Allow clean-up of file
  • Allow listing of files (and list them on startup)
  • Allow reset of OPFS storage
  • Make error situation clear in multi-tab scenario

@carlopi carlopi force-pushed the register_opfs_file_name branch from b269c23 to f848df5 Compare January 16, 2025 12:34
@carlopi carlopi merged commit c3bd835 into duckdb:main Jan 16, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant