File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed
Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -60,17 +60,21 @@ To run the extension code, simply start the shell with `./build/release/duckdb`.
6060### Writing a file
6161
6262To write a table to a vortex file use ` COPY .. TO '...' (FORMAT VORTEX) ` :
63+
6364``` sql
6465COPY (SELECT * from generate_series(0 , 4 )) TO ' FILENAME.vortex' (FORMAT VORTEX);
6566```
67+
6668This will create a compressed vortex file from the sql table.
6769
6870### Reading a file
6971
7072To read a table from a vortex file:
73+
7174``` sql
7275select * from read_vortex(' FILENAME.vortex' );
7376```
77+
7478This command also supports glob syntax e.g. ` read_vortex('FILE_WITH_GLOB*.vortex') ` .
7579
7680## Running the tests
@@ -102,7 +106,7 @@ con = duckdb.connect(':memory:', config={'allow_unsigned_extensions': 'true'})
102106NodeJS:
103107
104108``` js
105- db = new duckdb.Database (' :memory:' , {" allow_unsigned_extensions" : " true" });
109+ db = new duckdb.Database (" :memory:" , { allow_unsigned_extensions: " true" });
106110```
107111
108112Secondly, you will need to set the repository endpoint in DuckDB to the HTTP url of your bucket + version of the
@@ -125,3 +129,19 @@ INSTALL
125129vortex_duckdb
126130LOAD vortex_duckdb
127131```
132+
133+ ## Debugging
134+
135+ To build the extension in debug mode, run:
136+
137+ ``` sh
138+ make debug
139+ ```
140+
141+ This will create debug binaries in the ` ./build/debug ` directory, which can be used with a debugger for troubleshooting and development.
142+
143+ ``` sh
144+ ./build/debug/duckdb -unsigned
145+ RUST_BACKTRACE=1 ./build/debug/duckdb -unsigned
146+ lldb -- ./build/debug/duckdb -unsigned
147+ ```
You can’t perform that action at this time.
0 commit comments