⌘K ctrl+k
Search Shortcut cmd + k | ctrl + k
DuckDB 2.0 ドキュメント 全文検索
per page, with , order by , clip by
Results of 1 - 6 of about 6 for writers (0.002 sec.)
Multiple Python Threads 12996
This page demonstrates how to simultaneously insert into and read from a DuckDB database across multiple Python threads. This could be useful in scenarios where new data is flowing in and an analysis should be periodically re-run. Note that ... ltimestamp() AS read_time FROM my_inserts """, (thread_name,)).fetchall() print(results) Create Threads We define how many writers and readers to use, and define a list to track all of the threads that will be created. Then, create first writer and then ... reader threads. Next, shuffle them so that they will be kicked off in a random order to simulate simultaneous writers and readers. Note that the threads have not yet been executed, only defined. write_thread_count = 50 read_thread_count = 5 ... from_thread, args = (duckdb_con,), name = 'read_thread_' + str(j))) # Shuffle the threads to simulate a mix of readers and writers random.seed(6) # Set the seed to ensure consistent results when testing random.shuffle(threads) Run Threads and Show Resul ...
https://man.mtool.work/duckdb/2.0/guides/python/multiple_threads.html
Unity Catalog Extension 9194
The unity_catalog extension attaches a Unity Catalog catalog, on Databricks or Unity Catalog OSS, as a DuckDB database. You can list, read, insert into and create its Delta Lake tables. It uses the delta extension to access the tables. For ... may use catalog-managed commits (Catalog-Coordinated Commits / CCv2), where Unity Catalog coordinates commits rather than writers committing directly to the Delta log. Since v1.5.2 (v1.5.5 for Unity Catalog OSS), DuckDB uses this protocol when the atta ... e identical in syntax, but they commit through the catalog-managed write protocol, so Unity Catalog coordinates concurrent writers. For details, see the “Delta Grows Up: Writes, Unity Catalog and Time Travel” blog post . A managed table that DuckDB crea ...
https://man.mtool.work/duckdb/2.0/core_extensions/unity_catalog.html
Reading and Writing Parquet Files 8828
Examples Read a single Parquet file: SELECT * FROM 'test.parquet'; Figure out which columns/types are in a Parquet file: DESCRIBE SELECT * FROM 'test.parquet'; Create a table from a Parquet file: CREATE TABLE test AS SELECT * FROM 'test.par ... pe BOOL ) instead of throwing an error. Added in DuckDB 2.0. BOOL false binary_as_string Parquet files generated by legacy writers do not correctly set the UTF8 flag for strings, causing string columns to be loaded as BLOB instead. Set this to true to l ... partitioned path . BOOL (auto-detected) int96_as How to read INT96 columns (a deprecated timestamp encoding used by legacy writers such as Impala and older Spark versions). Options are timestamp (microsecond precision), timestamp_ns (preserves nanosecon ...
https://man.mtool.work/duckdb/2.0/data/parquet/overview.html
Troubleshoot 8463
Overview This page collects common issues encountered when using the DuckDB JDBC driver, together with their workarounds. If you run into a problem that is not covered here, search the driver's issue tracker on GitHub. Driver Class Not Foun ... rce refresh the Maven configuration in your IDE. Parquet String Column Returns a Blob Parquet files written by some legacy writers do not set the UTF8 flag on string columns, so DuckDB reads them as BLOB . ResultSet.getObject() then returns a DuckDBBlob ...
https://man.mtool.work/duckdb/2.0/clients/java/troubleshoot.html
Delta Extension 7914
The delta extension adds support for the Delta Lake open-source storage format . It is built using the Delta Kernel . The extension reads Delta tables, local and remote, and writes them: it can create tables and append to them. For implemen ... , by physical column name. The protocol requires every data file of an id -mode table to carry Parquet field IDs, but some writers omit them, including DuckDB 1.5.5 and earlier. Since v1.5.6, the delta_column_mapping_policy setting decides how such file ...
https://man.mtool.work/duckdb/2.0/core_extensions/delta.html
Relational API 7384
The Relational API builds a query one step at a time from Python. A relation, a DuckDBPyRelation , is a piece of SQL text: the methods of the Transformation and Functions sections return a new relation whose text extends the one they were c ... ile object opened in binary mode. * binary_as_string : bool, default: False Read binary columns as strings, for files from writers that do not mark their strings as UTF-8. * file_row_number : bool, keyword-only, default: False Add a column file_row_numb ...
https://man.mtool.work/duckdb/2.0/clients/python/relational_api.html
PREV 1 NEXT
DuckDB 2.0 Documentation / man.mtool.work