⌘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 107 for automatically (0.002 sec.)
Loading JSON 11458
The DuckDB JSON reader can automatically infer which configuration flags to use by analyzing the JSON file. This will work correctly in most situations, and should be the first option attempted. In rare situations where the JSON reader cann ... er to correctly parse the JSON file. The read_json Function The read_json is the simplest method of loading JSON files: it automatically attempts to figure out the correct configuration of the JSON reader. It also automatically deduces types of columns. In th ... an error. Added in DuckDB 2.0. BOOL false compression The compression type for the file. By default this will be detected automatically from the file extension (e.g., t.json.gz will use gzip, t.json will use none). Options are none , gzip , zstd and auto_det ... Whether or not an extra filename column should be included in the result. Since DuckDB 1.3.0, the filename column is added automatically as a virtual column and this option is only kept for compatibility reasons. BOOL false format Can be one of auto , unstruc ...
https://man.mtool.work/duckdb/2.0/data/json/loading_json.html
AWS Extension 10703
The aws extension adds functionality, e.g., authentication, on top of the httpfs extension's S3 capabilities , using the AWS SDK. Installing and Loading The aws extension will be transparently autoloaded on first use from the official exten ... Use it when you already have static credentials. The credential_chain provider, described below, which fetches credentials automatically using the AWS SDK. It is provided by the aws extension and supports profiles, SSO, assumed roles, web identities (IRSA), a ... ID , REQUESTER_PAYS , …) is documented in the S3 API page . credential_chain Provider The credential_chain provider allows automatically fetching credentials using mechanisms provided by the AWS SDK. For example, to use the AWS SDK default provider: CREATE OR ... IAM Roles for Service Accounts (IRSA) ; see Web Identity (IRSA) ) The credential_chain provider also allows overriding the automatically fetched config. For example, to automatically load credentials, and then override the region, run: CREATE OR REPLACE SECRE ...
https://man.mtool.work/duckdb/2.0/core_extensions/aws.html
Querying Parquet Files 9949
To run a query directly on a Parquet file, use the read_parquet function in the FROM clause of a query. SELECT * FROM read_parquet('input.parquet'); The Parquet file will be processed in parallel. Filters will be automatically pushed down i ... nto the Parquet scan, and only the relevant columns will be read automatically. For more information see the blog post “Querying Parquet with Precision using DuckDB” . ...
https://man.mtool.work/duckdb/2.0/guides/file_formats/query_parquet.html
ODBC Extension Functions 9795
odbc_begin_transaction odbc_bind_params odbc_close odbc_commit odbc_connect odbc_copy odbc_create_params odbc_list_data_sources odbc_list_drivers odbc_query odbc_rollback odbc_begin_transaction odbc_begin_transaction(conn_handle BIGINT) -> ... ng, passed to the Driver Manager. Returns: Connection handle that can be placed into a VARIABLE . Connection is not closed automatically, must be closed with odbc_close . Example: SET VARIABLE conn = odbc_connect('Driver={Oracle Driver};DBQ=//127.0.0.1:1521/X ... t ODBC connection string, intended for one-off queries, in this case new ODBC connection will be opened and will be closed automatically after the query is complete Optional named parameters (source): Source query is executed using a separate DB instance from ... s commit_after_create_table ( BOOLEAN , default: FALSE ): whether to issue a COMMIT after executing CREATE TABLE , enabled automatically for Firebird Optional named parameters (query parameters handling): decimal_params_as_chars ( BOOLEAN , default: false ): ...
https://man.mtool.work/duckdb/2.0/core_extensions/odbc/functions.html
Excel Extension 9642
The excel extension provides functions to format numbers per Excel's formatting rules by wrapping the i18npool library and to read/write Excel ( .xlsx ) files. However, please note that .xls files are not supported. Installing and Loading T ... e read_xlsx function instead. The following named parameters are supported. Option Type Default Description header BOOLEAN automatically inferred Whether to treat the first row as containing the names of the resulting columns. sheet VARCHAR automatically infe ... errors and silently replace cells that can't be cast to the corresponding inferred column type with NULL 's. range VARCHAR automatically inferred The range of cells to read, in spreadsheet notation. For example, A1:B2 reads the cells from A1 to B2. If not spe ... ween the first row of consecutive non-empty cells and the first empty row spanning the same columns. stop_at_empty BOOLEAN automatically inferred Whether to stop reading the file when an empty row is encountered. If an explicit range option is provided, this ...
https://man.mtool.work/duckdb/2.0/core_extensions/excel.html
marimo Notebooks 9501
marimo is an open-source reactive notebook for Python and SQL that's tightly integrated with DuckDB's Python client, letting you mix and match Python and SQL in a single git-versionable notebook. Unlike traditional notebooks, when you run a ... cell or interact with a UI element, marimo automatically (or lazily) runs affected cells, keeping code and outputs consistent. Its integration with DuckDB makes it well-suited to ... tion as a Python variable: import duckdb # Create a DuckDB connection conn = duckdb.connect("path/to/my/duckdb.db") marimo automatically discovers the connection and lets you select it in the SQL cell's connection dropdown. Custom connection Database, Schema ... n and SQL cells. Reference the SQL result in Python Reactive SQL Cells marimo allows you to create reactive SQL cells that automatically update when their dependencies change. Working with expensive queries or large datasets? You can configure marimo's runtim ...
https://man.mtool.work/duckdb/2.0/guides/python/marimo.html
CSV Import 9041
Examples The following examples use the flights.csv file. Read a CSV file from disk, auto-infer options: SELECT * FROM 'flights.csv'; Use the read_csv function with custom options: SELECT * FROM read_csv('flights.csv', delim = '|', header = ... , and do not have a schema. The CSV reader needs to cope with all of these different situations. The DuckDB CSV reader can automatically infer which configuration flags to use by analyzing the CSV file using the CSV sniffer . This will work correctly in most ... e parsed only up to that point. VARCHAR (empty) compression Method used to compress CSV files. By default this is detected automatically from the file extension (e.g., t.csv.gz will use gzip, t.csv will use none ). Options are none , gzip , zstd . VARCHAR aut ... ng on the path or glob pattern provided to read_csv , not just filenames. Since DuckDB 1.3.0, the filename column is added automatically as a virtual column and this option is only kept for compatibility reasons. BOOL false files_to_sniff Number of files used ...
https://man.mtool.work/duckdb/2.0/data/csv/overview.html
Variant Type 8593
The VARIANT type stores typed, binary data where each row is self-contained with its own type information. This differs from the JSON type , which is physically stored as text. Because type metadata is embedded per-value, VARIANT provides b ... lumns in DuckDB's storage was introduced in DuckDB 2.0. When storing VARIANT columns in a DuckDB database file, DuckDB 2.0 automatically detects the common structure of the values and shreds them, i.e., stores the fields that share a type as separate, typed c ... a as flat values for more efficient access. Writing VARIANT to Parquet When writing VARIANT columns to Parquet, DuckDB can automatically shred (decompose) the variant data into typed columns based on the structure of the first row group. This auto-shredding i ... INTEGER)'} ); Reading Snowflake VARIANT from Parquet DuckDB can read shredded VARIANT Parquet files produced by Snowflake, automatically reconstructing the variant values from the shredded columns. Functions See the Variant Functions page for the functions th ...
https://man.mtool.work/duckdb/2.0/sql/data_types/variant.html
Syntax Highlighting 8133
Syntax highlighting in the CLI is available for macOS, Linux and Windows. SQL queries that are written in the shell are automatically highlighted using syntax highlighting. There are several components of a query that are highlighted in dif ... ular, mismatched brackets and unclosed quotes are highlighted in red (or another color if specified). This highlighting is automatically disabled for large queries. In addition, it can be disabled manually using the .render_errors off command. ...
https://man.mtool.work/duckdb/2.0/clients/cli/syntax_highlighting.html
Amazon RDS with IAM Authentication 8133
Managed PostgreSQL databases on Amazon RDS and Aurora can authenticate with short-lived IAM tokens instead of a static password. DuckDB supports this through the postgres and aws extensions: the aws extension generates the token from an AWS ... credential chain, and the postgres extension uses it as the connection password, refreshing it automatically. Installation and Loading INSTALL postgres; INSTALL aws; LOAD postgres; LOAD aws; Creating the Secrets First, create a sec ... ferences it via AWS_RDS_SECRET . Because no password is set, the token generated by the rds secret is used (and refreshed) automatically: CREATE SECRET pg_rds_secret ( TYPE postgres, HOST '⟨instance⟩.⟨identifier⟩.⟨region⟩.rds.amazonaws.com', PORT '5432', USER ...
https://man.mtool.work/duckdb/2.0/guides/database_integration/rds_iam.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT
DuckDB 2.0 Documentation / man.mtool.work