⌘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 18 for bounds (0.005 sec.)
Window Function Extensions 13108
New Support for defining window functions in extensions was introduced in DuckDB 2.0. The API is part of the C++ extension API and may still change. Every aggregate function can be used as a window function , but not every windowed operatio ... uates the function on each hash group. A blocking window function implements the following callbacks: Callback Description bounds Requests the bounds that the function needs: partition ( PARTITION BY ), peers ( RANGE and GROUPS ), valid values ( NULL h ... the result Vector for a chunk of rows using the arguments, the index of the first row within the hash group, the requested bounds, and the global and local states. Evaluation is fully parallel, so the chunks are usually but not necessarily consecutive. ...
https://man.mtool.work/duckdb/2.0/extensions/window_function_extensions.html
Spatial Functions 12817
Function Index Scalar Functions Function Summary DuckDB_PROJ_Compiled_Version Returns a text description of the PROJ library version that this instance of DuckDB was compiled against. DuckDB_Proj_Version Returns a text description of the PR ... of the input geometry, optionally with a tolerance. ST_MinimumRotatedRectangle Returns the minimum rotated rectangle that bounds the input geometry, finding the surrounding box that has the lowest area by using a rotated rectangle, rather than taking ... ry); ---- 01030000000100000005000000000000000000000000000... ST_AsMVTGeom Signatures GEOMETRY ST_AsMVTGeom (geom GEOMETRY, bounds BOX_2D, extent BIGINT, buffer BIGINT, clip_geom BOOLEAN) GEOMETRY ST_AsMVTGeom (geom GEOMETRY, bounds BOX_2D, extent BIGIN ... T, buffer BIGINT) GEOMETRY ST_AsMVTGeom (geom GEOMETRY, bounds BOX_2D, extent BIGINT) GEOMETRY ST_AsMVTGeom (geom GEOMETRY, bounds BOX_2D) Description Transform and clip geometry to a t ...
https://man.mtool.work/duckdb/2.0/core_extensions/spatial/functions.html
Query 9162
The duckdb_query method allows SQL queries to be run in DuckDB from C. This method takes two parameters, a (null-terminated) SQL query string and a duckdb_result result pointer. The result pointer may be NULL if the application is not inter ... y hands you data chunks in DuckDB's native array format and can therefore be very fast. The duckdb_value functions perform bounds- and type-checking, and will automatically cast values to the desired type. This makes them more convenient and easier to ... , use duckdb_fetch_chunk to extract data from the query result. The duckdb_value functions perform internal type-checking, bounds-checking, and casting which makes them slower. duckdb_fetch_chunk Below is an end-to-end example that prints the above res ...
https://man.mtool.work/duckdb/2.0/clients/c/query.html
Agent Mode 9162
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 ... ummary of agent mode. A few things that help when driving DuckDB programmatically: SET max_execution_time = ⟨milliseconds⟩ bounds how long a query may run. DESCRIBE ⟨query⟩ returns the result columns without running the query. SUMMARIZE ⟨table⟩ returns ...
https://man.mtool.work/duckdb/2.0/clients/cli/agent_mode.html
R-Tree Indexes 9162
The spatial extension provides support for spatial indexing through the R-tree extension index type. Why Should I Use an R-Tree Index? When working with geospatial datasets, it is very common that you want to filter rows based on their spat ... llowing columns: Column name Type Description level INTEGER The level of the node in the R-tree. The root node has level 0 bounds BOX_2DF The bounding box of the node row_id ROW_TYPE If this is a leaf node, the rowid of the row in the table, otherwise ... x. Notice how the area of the bounding boxes of the branch nodes -- decreases as we go deeper into the tree. SELECT level, bounds::GEOMETRY AS geom, CASE WHEN row_id IS NULL THEN st_area(geom) ELSE NULL END AS area, row_id, CASE WHEN row_id IS NULL THE ...
https://man.mtool.work/duckdb/2.0/core_extensions/spatial/r-tree_indexes.html
Iceberg Functions 8888
The iceberg extension provides the following functions: Function Description iceberg_scan(source) Reads an Iceberg table from a path. iceberg_metadata(source) Returns the manifest entries of an Iceberg table. iceberg_snapshots(source) Retur ... partition, record count, file size, and column-level statistics ( column_sizes , value_counts , null_value_counts , lower_bounds , upper_bounds , readable_metrics , etc.). iceberg_manifests(source) allow_moved_paths , snapshot_from_id , snapshot_from_ ...
https://man.mtool.work/duckdb/2.0/core_extensions/iceberg/iceberg_functions.html
Building Extensions 8888
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 ... checks to ensure memory safety, these checks include: Making sure nullptr is never dereferenced. Making sure index out of bounds accesses don't trigger a crash. With this flag enabled we remove these checks, this is mostly done to check that the perfo ...
https://man.mtool.work/duckdb/2.0/dev/building/building_extensions.html
Reading Faulty CSV Files 8047
CSV files can come in all shapes and forms, with some presenting many errors that make the process of cleanly reading them inherently difficult. To help users read these files, DuckDB supports detailed error messages, the ability to skip fa ... and 0 disables truncation, storing the full line. BIGINT 10000 New As of DuckDB 2.0, the rejects_line_size_limit parameter bounds how many characters of each rejected line are stored in the csv_line column of the reject errors table. To store the infor ...
https://man.mtool.work/duckdb/2.0/data/csv/reading_faulty_csv_files.html
Numeric Types 8047
Fixed-Width Integer Types The types TINYINT , SMALLINT , INTEGER , BIGINT , and HUGEINT store whole numbers, that is, numbers without fractional components, of various ranges. Attempts to store values outside of the allowed range will resul ... WIDTH must be between 1 and 38, and the SCALE must be between 0 and 38 and may not exceed the WIDTH . Values outside these bounds are rejected by the binder instead of being clamped: SELECT 1::DECIMAL(39, 2); Binder Error: DECIMAL type width must be be ...
https://man.mtool.work/duckdb/2.0/sql/data_types/numeric.html
Text Functions 8047
Text Functions and Operators This section describes functions and operators for examining and manipulating STRING values . Function Description string[index] Extracts a single character using a (1-based) index . string[begin:end] Extracts a ... Splits the string along the separator and returns the data at the (1-based) index of the list. If the index is outside the bounds of the list, return an empty string (to match PostgreSQL's behavior). starts_with(string, search_string) Returns true if s ... Splits the string along the separator and returns the data at the (1-based) index of the list. If the index is outside the bounds of the list, return an empty string (to match PostgreSQL's behavior). | | Example | split_part('a;b;c', ';', 2) | | Result ...
https://man.mtool.work/duckdb/2.0/sql/functions/text.html
PREV 1 2 NEXT
DuckDB 2.0 Documentation / man.mtool.work