Results of 1 - 10 of about 16 for flags (0.001 sec.)
- Connect 13949
- Overview Every DuckDB feature reachable from Rust starts with a Connection . Opening in-memory and file-backed databases, configuring a database instance with Config , opening read-only, pooling connections across threads, the crate's threa
...To set DuckDB options when the database instance starts, build a Config and open the connection with Connection::open_with_flags() (or Connection::open_in_memory_with_flags() ). Config uses a builder style: each method consumes the config and returns...ig, Connection, Result}; let config = Config::default() .max_memory("4GB")? .threads(4)?; let conn = Connection::open_with_flags("my_database.duckdb", config)?; Config exposes typed methods for the most common options, including access_mode() , max_me..., Connection, Result}; let config = Config::default().access_mode(AccessMode::ReadOnly)?; let conn = Connection::open_with_flags("my_database.duckdb", config)?; AccessMode has three variants: Automatic (the default), ReadOnly , and ReadWrite . Thread... - https://man.mtool.work/duckdb/2.0/clients/rust/connecting.html
- Building Extensions 10899
- Extensions can be built from source and installed from the resulting local binary. Building Extensions To build using extension flags, set the BUILD_EXTENSIONS flag to the list of extensions that you want to be built. For example: BUILD_EXT
...utable, set LINK_CORE_EXTENSIONS=1 or list them in STATICALLY_LINK_EXTENSIONS (see Linking Extensions ). Special Extension Flags BUILD_JEMALLOC This flag controls whether the jemalloc memory allocator is linked into DuckDB. Unlike TPC-H and TPC-DS, je...roper extension and it's not distributed as such. Enabling this allows TPC-E enabled queries through our test suite. Debug Flags CRASH_ON_ASSERT D_ASSERT(condition) is used all throughout the code, these will throw an InternalException in debug builds... - https://man.mtool.work/duckdb/2.0/dev/building/building_extensions.html
- Building Configuration 10397
- Build Types DuckDB can be built in many different settings, most of these correspond directly to CMake but not all of them. release This build has been stripped of all the assertions and debug symbols and code, optimized for performance. de
...be built. BUILD_EXTENSIONS='tpch;httpfs;fts;json;parquet' make More on this topic at building DuckDB extensions . Package Flags The Makefile has flags to control which components are built. These can be enabled by either setting them in the current e...ound in the README . DISABLE_SHELL The CLI is built by default. When this flag is set, the CLI is not built. Miscellaneous Flags DISABLE_UNITY To improve compilation time, we use Unity Build to combine translation units. This can however hide include... - https://man.mtool.work/duckdb/2.0/dev/building/build_configuration.html
- Parquet Export 9374
- To export the data from a table to a Parquet file, use the COPY statement : COPY tbl TO 'output.parquet' (FORMAT parquet); The result of queries can also be directly exported to a Parquet file: COPY (SELECT * FROM tbl) TO 'output.parquet' (
...FORMAT parquet); The flags for setting compression, row group size, etc. are listed in the Reading and Writing Parquet files page.... - https://man.mtool.work/duckdb/2.0/guides/file_formats/parquet_export.html
- Raspberry Pi 8872
- DuckDB is not officially distributed for the Raspberry Pi OS (previously called Raspbian). You can build it following the instructions on this page. Raspberry Pi (64-bit) First, install the required build packages: sudo apt-get update sudo
...in the build. For example: mkdir build cd build cmake .. \ -DBUILD_EXTENSIONS="httpfs;json;parquet" \ -DDUCKDB_EXTRA_LINK_FLAGS="-latomic" make -j4... - https://man.mtool.work/duckdb/2.0/dev/building/raspberry_pi.html
- Rust Client 8698
- Installation To use the DuckDB Rust client, visit the Rust installation page . The latest stable version of the DuckDB Rust client is 2.0.0. The DuckDB Rust client, duckdb-rs , is an ergonomic wrapper over the DuckDB C API that exposes an i
...he DuckDB 1.4 Andium LTS release line, use the v1.4-andium branch. Tip The Rust client offers a large set of Cargo feature flags that turn on file-format readers, the Arrow and Polars integrations, connection pooling, and the function and extension in...xample is adapted from the crate's basic example . Run Queries covers sending queries and reading results in full. Feature Flags The crate is modular: most integrations are gated behind Cargo features that are off by default. Enable them in the depend... - https://man.mtool.work/duckdb/2.0/clients/rust/overview.html
- Agent Mode 8023
- New Agent mode was introduced in DuckDB 2.0. Agent mode renders the CLI's output for consumption by an AI coding agent rather than a human at a terminal. It produces compact Markdown tables with explicit result limits, machine-readable erro
...rce the mode on or off. The DUCKDB_AGENT_MODE environment variable forces the mode on ( 1 ) or off ( 0 ). The command line flags take precedence over the environment variable. To hide the startup line that announces agent mode, set .startup_text none... - https://man.mtool.work/duckdb/2.0/clients/cli/agent_mode.html
- Android 8023
- DuckDB has experimental support for Android. Please use the latest main branch of DuckDB instead of the stable versions. Building the DuckDB Library Using the Android NDK We provide build instructions for setups using macOS and Android Stud
...${PLATFORM_NAME} mkdir -p ${BUILDDIR} cd ${BUILDDIR} cmake \ -G "Ninja" \ -DEXTENSION_STATIC_BUILD=1 \ -DDUCKDB_EXTRA_LINK_FLAGS="-llog" \ -DBUILD_EXTENSIONS=${DUCKDB_EXTENSIONS} \ -DENABLE_EXTENSION_AUTOLOADING=1 \ -DENABLE_EXTENSION_AUTOINSTALL=1 \...in the binary. For example: bash DUCKDB_EXTENSIONS="icu;json" Build DuckDB as follows: bash mkdir build cd build export LDFLAGS="-llog" cmake \ -G "Ninja" \ -DBUILD_EXTENSIONS="${DUCKDB_EXTENSIONS}" \ -DDUCKDB_EXPLICIT_PLATFORM=linux_arm64_android \...lowing error: ld.lld: error: undefined symbol: __android_log_write Solution: Make sure the log library is linked: export LDFLAGS="-llog"... - https://man.mtool.work/duckdb/2.0/dev/building/android.html
- Troubleshoot 7849
- Overview This page collects common issues encountered when using the DuckDB Rust client, together with their workarounds. If you run into a problem that is not covered here, search the client's issue tracker on GitHub. Linking against a Sys
...nst a System Library . Further Reading Rust Client — installation, the bundled feature, and the full list of Cargo feature flags. Connect — opening connections, whose failures are often build or linking problems. Write User Defined Functions — the loa... - https://man.mtool.work/duckdb/2.0/clients/rust/troubleshoot.html
- Building DuckDB from Source 7849
- When Should You Build DuckDB? DuckDB binaries are available for stable and preview builds on the installation page . In most cases, it's recommended to use these binaries. When you are running on an experimental platform (e.g., Raspberry Pi
...cess. Building with the Makefile A Makefile wraps the build process. See Build Configuration for targets and configuration flags. make make release # same as plain make make relassert make debug GEN=ninja make # for use with Ninja BUILD_BENCHMARK=1 ma... - https://man.mtool.work/duckdb/2.0/dev/building/overview.html
DuckDB 2.0 Documentation / man.mtool.work