Comments (4)
vd -f vdsql test.duckdb
Works for me as well, thanks.
vd -f vdsql duckdb://test.ddb
I am not using explicit loaders myself, but that could be nice to have. I think with a94cdff working it would be a better user experience in any case.
from visidata.
It appears that the ibis
library expects a DuckDB file to have the extension .duckdb
. I do not think there's any way to get it to read a file ending in .ddb
, without submitting a change to ibis-project.
After renaming the .ddb file, vd -f vdsql test.duckdb
worked for me.
from visidata.
I thought this commit enabled this: a94cdff. I wonder what happened.
from visidata.
I'm not sure what changed. But ibis will take a duckdb://
URL that takes a relative or absolute path. So with a loader something like this:
@VisiData.api
def openurl_duckdb(vd, p, filetype=None):
return vd.open_vdsql(p, filetype)
the .ddb file can be loaded with vd -f vdsql duckdb://test.ddb
. Would that be enough?
(EDIT: vd duckdb://test.ddb
works and is shorter.)
from visidata.
Related Issues (20)
- [cmdlog] sheets created with no keypresses show errors HOT 3
- [stored] input history is not saved if visidata_dir does not exist HOT 4
- [question] What is the recommended way to change `options.regex_skip`?
- reopenning `vds` file starts with VdsIndexSheet
- [eml loader] The email loader doesn't import email.parser HOT 6
- [guides] Updating VisiData Documentation
- Log file inside zip file erroneously guessed as "tar" instead of text HOT 13
- Cannot disable colorizers on xlsx files. HOT 1
- sqlglot fails to parse custom expressions for extracting data types
- [dev] Column cache "async" isn't dynamic HOT 4
- `open-cell` (`zo`) should open the correct filetype in cell HOT 4
- text loader calls strip() on lines HOT 2
- Installation on MacOS through Homebrew fails because lxml HOT 9
- v3.0.2: Installed via pipx, app returns `segmentation fault` when attempting to open file HOT 4
- Sidebar blinking HOT 1
- Significantly slower selection of matching error cells in v3.0.2 vs much older version HOT 1
- Python error after pressing SPACE to pull up command-name input HOT 3
- [loader] Support for BoltDB HOT 1
- Directory sheet shows wrong filenames with multiple dots / filename extensions HOT 2
- [vds] saving sheet with no rows makes following sheets unreadable
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 visidata.