Results of 1 - 3 of about 3 for serialize (0.001 sec.)
- SQL to/from JSON 11905
- DuckDB provides functions to serialize and deserialize SELECT statements between SQL and JSON, as well as executing JSON serialized statements. Function Type Description json_deserialize_sql(json) Scalar Deserialize one or many json serialize
...zed statements back to an equivalent SQL string. json_execute_serialized_sql(varchar) Table Execute json serialized statements and return the resulting rows. Only one statement at a time is supp...orted for now. json_serialize_plan(varchar, skip_default := boolean, format := boolean, optimize := boolean) Scalar Serialize the bound logical query pl...an of a set of semicolon-separated ( ; ) statements to JSON. If optimize is true , the optimized plan is serialized. json_serialize_sql(varchar, skip_default := boolean, skip_empty := boolean, skip_null := boolean, format := boolean) Sca... - https://man.mtool.work/duckdb/2.0/data/json/sql_to_and_from_json.html
- PEG Parser 8240
- New Starting with DuckDB 2.0, the PEG parser is the default parser. In earlier versions it was an experimental, opt-in feature enabled with enable_peg_parser() , which is no longer required or available. DuckDB uses a parser based on PEG (
...esult for invalid queries such as SELEC 42 . To check whether a query parses without binding or executing it, use the json_serialize_sql function of the json extension, which returns a JSON object with "error": true for queries that fail to parse: SELECT...json_serialize_sql('SELEC 42')::JSON->>'error' AS parse_error; ┌─────────────┐ │ parse_error │ │ varchar │ ├─────────────┤ │ true │ └────... - https://man.mtool.work/duckdb/2.0/sql/peg_parser.html
- ADBC Client 7738
- Installation To use the DuckDB ADBC client, download the libduckdb archive for your platform and follow the instructions below . For Python, install the duckdb package instead, as described in the Python section . The latest stable version
...connection to new in-memory DuckDB database: %w", err) } return &DuckDBSQLRunner{ctx: ctx, conn: conn, db: db}, nil } func serializeRecord(record arrow.Record) (io.Reader, error) { buf := new(bytes.Buffer) wr := ipc.NewWriter(buf, ipc.WithSchema(record.Sc...} return result, nil } func (r *DuckDBSQLRunner) RunSQLOnRecord(record arrow.Record, sql string) ([]arrow.Record, error) { serializedRecord, err := serializeRecord(record) if err != nil { return nil, fmt.Errorf("failed to serialize record: %w", err) } if...err := r.importRecord(serializedRecord); err != nil { return nil, fmt.Errorf("failed to import record: %w", err) } result, err := r.runSQL(sql) if err !=... - https://man.mtool.work/duckdb/2.0/clients/adbc.html
PREV
1
NEXT
DuckDB 2.0 Documentation / man.mtool.work