⌘K ctrl+k
Search Shortcut cmd + k | ctrl + k
DuckDB 2.0 ドキュメント 全文検索
per page, with , order by , clip by
Results of 1 - 10 of about 12 for registration (0.002 sec.)
Deploy as Native Image 12770
Overview The JDBC driver runs inside GraalVM Native Image executables. Graal Native Image compiles a Java application ahead of time into a standalone binary that starts in milliseconds and requires no JVM on the target machine, which suits ... gin. Load the driver explicitly before opening the first connection: Class.forName("org.duckdb.DuckDBDriver"); Driver auto-registration through ServiceLoader is not always visible to Graal Native Image's closed world analysis, and the explicit load makes reg ... bleshoot — the Native Image errors that indicate missing metadata or a missing shared library. Define Connections — driver registration and connection configuration. Java (JDBC) Client — installing the driver from Maven Central. ...
https://man.mtool.work/duckdb/2.0/clients/java/deploy_native_image.html
Instantiate 11214
Overview DuckDB-Wasm can be instantiated in several ways, depending on how your application bundles and serves its assets. Each approach resolves the mainModule (the WebAssembly file) and the mainWorker (the worker script) for the browser's ... e file are registered. Set fileHandling to 'auto' to register files referenced in SQL automatically; the default is manual registration (see Persistence with OPFS ). The query object tunes the Arrow-to-JavaScript type mapping: castBigIntToDouble : return 64- ... estores the tables. You can also read and write other opfs:// files directly from SQL. By default, DuckDB-Wasm uses manual registration: every OPFS file other than the database file has to be registered with db.registerOPFSFileName() before a statement uses ... E t AS SELECT * FROM 'opfs://data.parquet'`); await conn.query(`COPY (SELECT * FROM t) TO 'opfs://export.csv'`); Automatic registration is convenient for one-off reads. Manual registration requires more code but avoids re-acquiring an OPFS access handle on e ...
https://man.mtool.work/duckdb/2.0/clients/wasm/instantiation.html
Statically Linking Extensions 11214
This page is for client and binding authors, and for anyone who embeds libduckdb in their own application. It describes how statically linking extensions changed in DuckDB 2.0 and what builders on top of DuckDB need to do. This change is in ... r_static_extensions() != 0) { throw std::runtime_error("Failed to register the statically linked DuckDB extensions"); } If registration is skipped, the linked extensions (such as core_functions , icu , json , and parquet ) are not loaded. Queries that depend ... nd a registered extension whose archive is missing fails the link. Calling the Loader Before main A C++ program that wants registration to happen automatically before main compiles extension/loader/static_extension_autoregister.cpp alongside the loader. Comp ... to an archive, or the linker drops it. If you do package the loader and the auto-register object into an archive, keep the registration symbol from being discarded by forcing it onto the link line: -Wl,-u,duckdb_register_static_extensions Build Options When ...
https://man.mtool.work/duckdb/2.0/dev/building/linking_extensions.html
Write User Defined Functions 8613
Overview The JDBC driver can register user-defined functions (UDFs) written in Java, including scalar functions and table functions. This page covers building and registering both, from the simple functional-interface overloads to the vecto ... FunctionException , an unchecked RuntimeException . An out-of-range row or column index throws IndexOutOfBoundsException . Registration-time problems, such as an undefined return type or an invalid type declaration, throw SQLException . Vectorized Scalar Fun ... pecting Registered Functions Every successful register() call returns a DuckDBFunctions.RegisteredFunction and records the registration in a process-wide, Java-side registry. This registry is bookkeeping for functions registered through the JDBC API; it is n ...
https://man.mtool.work/duckdb/2.0/clients/java/functions.html
Troubleshoot 8366
Overview This page collects common issues encountered when using the DuckDB Go client, together with their workarounds. Because the client uses cgo to embed DuckDB, most build problems are cgo or linker problems. If you run into a problem t ... to be registered at startup. See Statically Linking Extensions for the archives, the required link order and the extension registration. Then build the Go module against these archives with the duckdb_use_static_lib build tag , passing the archives in CGO_LD ...
https://man.mtool.work/duckdb/2.0/clients/go/troubleshoot.html
Troubleshoot 8366
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 ... ent — installing the driver from Maven Central, the fix for the driver-not-found errors above. Define Connections — driver registration, configuration options, and instance behavior behind many connection-time errors. Parquet Files — the binary_as_string set ...
https://man.mtool.work/duckdb/2.0/clients/java/troubleshoot.html
R Client 8101
Installation To use the DuckDB R client, visit the R installation page . The latest stable version of the DuckDB R client is 2.0.0. Installation duckdb : R Client The DuckDB R client can be installed using the following command: install.pac ... Sepal.Width Petal.Length Petal.Width Species # 1 5.1 3.5 1.4 0.2 setosa DuckDB keeps a reference to the R data frame after registration. This prevents the data frame from being garbage-collected. The reference is cleared when the connection is closed, but ca ...
https://man.mtool.work/duckdb/2.0/clients/r.html
Import Data 8101
Overview DuckDB-Wasm has multiple ways to import data, depending on the format of the data. Importing happens in two steps. The data file is registered in a virtual file system using one of the register functions ( registerFileBuffer , regi ... LE local AS SELECT * FROM 'local.parquet'`); httpfs (Wasm-Flavored) With the Wasm-flavored httpfs extension , you can skip registration and read a remote file directly by putting its URL in the SQL text: await conn.query(` CREATE TABLE direct AS SELECT * FRO ...
https://man.mtool.work/duckdb/2.0/clients/wasm/data_ingestion.html
Table Functions 7588
The table function API can be used to define a table function that can then be called from within DuckDB in the FROM clause of a query. API Reference Overview duckdb_table_function duckdb_create_table_function (); void duckdb_destroy_table_ ... tion ); Parameters con : The connection to register it in. function : The function pointer Return Value Whether or not the registration was successful. duckdb_bind_get_extra_info Retrieves the extra info of the function as set in duckdb_table_function_set_ex ...
https://man.mtool.work/duckdb/2.0/clients/c/table_functions.html
Types 7322
DuckDB is a strongly typed database system. As such, every column has a single type specified. This type is constant over the entire column. That is to say, a column that is labeled as an INTEGER column will only contain INTEGER values. Duc ... ype_info info ); Parameters con : The connection to use type : The custom type to register Return Value Whether or not the registration was successful. ...
https://man.mtool.work/duckdb/2.0/clients/c/types.html
PREV 1 2 NEXT
DuckDB 2.0 Documentation / man.mtool.work