⌘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 20 for failure (0.003 sec.)
Timestamp Functions 13153
This section describes functions and operators for examining and manipulating TIMESTAMP values . See also the related TIMESTAMPTZ functions . Timestamp Operators The table below shows the available mathematical operators for TIMESTAMP types ... list) Converts the string text to timestamp applying the format strings in the list until one succeeds. Throws an error on failure. To return NULL on failure, use try_strptime . strptime(text, format) Converts the string text to timestamp according to t ... he format string . Throws an error on failure. To return NULL on failure, use try_strptime . time_bucket(bucket_width, timestamp[, offset]) Truncate timestamp to a grid ... at-list) Converts the string text to timestamp applying the format strings in the list until one succeeds. Returns NULL on failure. try_strptime(text, format) Converts the string text to timestamp according to the format string . Returns NULL on failure ...
https://man.mtool.work/duckdb/2.0/sql/functions/timestamp.html
Appender 12286
Appenders are the most efficient way of loading data into DuckDB from within the C interface, and are recommended for fast data loading. The appender is much faster than using prepared statements or individual INSERT INTO statements. Append ... e name to append to. out_appender : The resulting appender object. Return Value DuckDBSuccess on success or DuckDBError on failure. duckdb_appender_create_ext Creates an appender object. Note that the object must be destroyed with duckdb_appender_destro ... e name to append to. out_appender : The resulting appender object. Return Value DuckDBSuccess on success or DuckDBError on failure. duckdb_appender_create_query Creates an appender object that executes the given query with any data appended to it. Note ... "col1", "col2", ... out_appender : The resulting appender object. Return Value DuckDBSuccess on success or DuckDBError on failure. duckdb_appender_column_count Returns the number of columns that belong to the appender. If there is no active column list ...
https://man.mtool.work/duckdb/2.0/clients/c/appender.html
Configuration 10791
Configuration options can be provided to change different settings of the database system. Note that many of these settings can be changed later on using PRAGMA statements as well. The configuration object should be created, filled with val ... _ext . The duckdb_config must be destroyed using 'duckdb_destroy_config' This will always succeed unless there is a malloc failure. Note that duckdb_destroy_config should always be called on the resulting config, even if the function returns DuckDBError ... config ); Parameters out_config : The result configuration object. Return Value DuckDBSuccess on success or DuckDBError on failure. duckdb_config_count This returns the total amount of configuration options available for usage with duckdb_get_config_fla ... n flag. out_description : A description of the configuration flag. Return Value DuckDBSuccess on success or DuckDBError on failure. duckdb_set_config Sets the specified option for the specified configuration. The configuration option is indicated by nam ...
https://man.mtool.work/duckdb/2.0/clients/c/config.html
Complete API 9686
This page contains the reference for DuckDB's C API. The reference contains several deprecation notices. These concern methods whose long-term availability is not guaranteed as they may be removed in the future. That said, DuckDB's develope ... age. Note that the error message must be freed using duckdb_free . Return Value DuckDBSuccess on success or DuckDBError on failure. duckdb_destroy_instance_cache Destroys an existing database instance cache and de-allocates its memory. Syntax void duckd ... an in-memory database. out_database : The result database object. Return Value DuckDBSuccess on success or DuckDBError on failure. duckdb_open_ext Extended version of duckdb_open. Creates a new database or opens an existing database file stored at the ... age. Note that the error message must be freed using duckdb_free . Return Value DuckDBSuccess on success or DuckDBError on failure. duckdb_close Closes the specified database and de-allocates all memory allocated for that database. This should be called ...
https://man.mtool.work/duckdb/2.0/clients/c/api.html
Startup & Shutdown 9431
To use DuckDB, you must first initialize a duckdb_database handle using duckdb_open() . duckdb_open() takes as parameter the database file to read and write from. The special value NULL ( nullptr ) can be used to create an in-memory databas ... age. Note that the error message must be freed using duckdb_free . Return Value DuckDBSuccess on success or DuckDBError on failure. duckdb_destroy_instance_cache Destroys an existing database instance cache and de-allocates its memory. Syntax void duckd ... an in-memory database. out_database : The result database object. Return Value DuckDBSuccess on success or DuckDBError on failure. duckdb_open_ext Extended version of duckdb_open. Creates a new database or opens an existing database file stored at the ... age. Note that the error message must be freed using duckdb_free . Return Value DuckDBSuccess on success or DuckDBError on failure. duckdb_close Closes the specified database and de-allocates all memory allocated for that database. This should be called ...
https://man.mtool.work/duckdb/2.0/clients/c/connect.html
Internal Errors 8445
Internal errors signal an assertion failure within DuckDB. They usually occur due to unexpected conditions or errors in the program's logic. For example, running issue 17002 on DuckDB 1.2.1 results in an internal error. INTERNAL Error: Atte ...
https://man.mtool.work/duckdb/2.0/dev/internal_errors.html
Unit Tester Configuration 8309
There are three ways of setting options for the unit tester: Command Line Arguments Configuration File Environment Variables Configuration Options List See the Configuration Options List for the full list of available options. Command Line ... olute/remote (e.g. az://... ) values are used verbatim. --database-destroy <on|off|on-success> Default on-success: keep on failure --description <string> Config description --emit-on-skip Print a SKIP_TEST marker per skipped test --emit-test-events Writ ... -storage-fuzzer Run storage fuzzer tests --storage-version <string> Database storage version to use by default --summarize-failures , --no-summarize-failures Print a summary of all test failures after running --temp-dir-base <path> Override root of the ... t|always> Default on-absent: mkdir -p, no clobber --temp-dir-destroy <never|on-success|always> Default on-success: keep on failure --temp-dir-run-id <on|off> Is RUN_ID a path level? (default on) --temp-dir-test-id <on|off> Is TEST_ID (the test name) a p ...
https://man.mtool.work/duckdb/2.0/dev/sqllogictest/test_configuration.html
Date Format Functions 8309
The strftime and strptime functions can be used to convert between DATE / TIMESTAMP values and strings. This is often required when parsing CSV files, displaying output to the user or transferring information between programs. Because there ... 2 March 1992 - 08:32:45 PM', '%A, %-d %B %Y - %I:%M:%S %p'); 1992-03-02 20:32:45 The strptime function throws an error on failure: SELECT strptime('02/50/1992', '%d/%m/%Y') AS x; Invalid Input Error: Could not parse string "02/50/1992" according to for ... mat specifier "%d/%m/%Y" 02/50/1992 ^ Error: Month out of range, expected a value between 1 and 12 To return NULL on failure, use the try_strptime function : SELECT try_strptime('02/50/1992', '%d/%m/%Y') AS x; NULL CSV Parsing The date formats can ...
https://man.mtool.work/duckdb/2.0/sql/functions/dateformat.html
Multiple Connections 8072
For tests whose purpose is to verify that the transactional management or versioning of data works correctly, it is generally necessary to use multiple connections. For example, if we want to verify that the creation of tables is correctly ... icts. statement maybe can be used to deal with these situations. statement maybe essentially accepts both a success, and a failure with a specific error message. concurrentloop i 1 10 statement maybe CREATE OR REPLACE TABLE t2 AS (SELECT -54124033386577 ...
https://man.mtool.work/duckdb/2.0/dev/sqllogictest/multiple_connections.html
macOS 7698
Prerequisites Install Xcode and Homebrew . Then, install the required packages with: brew install git cmake ninja Building DuckDB Clone and build DuckDB as follows. git clone https://github.com/duckdb/duckdb cd duckdb GEN=ninja make Once th ... ent build configurations ( debug , relassert , etc.), please consult the Build Configurations page . Troubleshooting Build Failure: 'string' file not found Problem: The build fails on macOS with the following error: FAILED: third_party/libpg_query/CMake ...
https://man.mtool.work/duckdb/2.0/dev/building/macos.html
PREV 1 2 NEXT
DuckDB 2.0 Documentation / man.mtool.work