--- warning: DO NOT CHANGE THIS MANUALLY, THIS IS GENERATED BY https://github.com/duckdb/community-extensions repository, check README there title: protoduck excerpt: | DuckDB Community Extensions Deserialize Protocol Buffer messages stored in DuckDB columns extension: name: protoduck description: Deserialize Protocol Buffer messages stored in DuckDB columns version: 0.1.3 language: Rust build: cmake license: MIT excluded_platforms: "wasm_mvp;wasm_eh;wasm_threads" requires_toolchains: "rust;python3" maintainers: - fcsnk repo: github: fcsnk/protoduck ref: 5473d9573eb34e91a7c97d3d3d0ecb2ce311c715 docs: hello_world: | INSTALL protoduck FROM community; LOAD protoduck; -- Register a protobuf schema at runtime SELECT proto_schema_add(' syntax = "proto3"; package demo; message Person { string name = 1; int32 age = 2; } '); -- Decode a protobuf BLOB to JSON SELECT proto_to_json(data, 'demo.Person') FROM people; -- Extract a single field via dot-notation path SELECT proto_get(data, 'demo.Person', 'name') FROM people; extended_description: | ProtoDuck is a DuckDB extension for deserializing Protocol Buffer messages stored directly in table columns (BLOBs), rather than from files. It is aimed at querying protobuf-encoded payloads in data lakes and analytics pipelines. Schemas are registered at runtime via `proto_schema_add` (from `.proto` source) or `proto_schema_add_binary` (from a compiled `FileDescriptorSet`). Once registered, messages can be decoded to JSON with `proto_to_json` / `proto_decode`, or individual fields can be pulled out with `proto_get` using a path syntax that supports nested messages, repeated fields (`items[0]`), and maps (`metadata["key"]`). All protobuf scalar types, enums, oneofs, maps, and nested messages are supported. extension_star_count: 1 extension_star_count_pretty: 1 extension_download_count: 785 extension_download_count_pretty: 785 image: '/images/community_extensions/social_preview/preview_community_extension_protoduck.png' layout: community_extension_doc --- ### Compatibility Matrix This table covers all DuckDB releases that have not reached [end-of-life](https://duckdb.org/release_calendar), including LTS releases, and shows the 2 most recent patch releases of each. Older patch releases are not listed, but the extension may be available for them as well.
| Platform | 1.4.4 | 1.4.5 | 1.5.5 | 1.5.6 | 2.0.0 | | :--- | :---: | :---: | :---: | :---: | :---: | | Linux AMD64 | ❌ | ❌ | ✅ | ❌ | ✅ | | Linux ARM64 | ❌ | ❌ | ✅ | ❌ | ✅ | | macOS AMD64 | ❌ | ❌ | ✅ | ❌ | ❌ | | macOS ARM64 | ❌ | ❌ | ✅ | ❌ | ✅ | | Windows AMD64 | ❌ | ❌ | ✅ | ❌ | ✅ | | Windows ARM64 | ❌ | ❌ | ❌ | ❌ | ❌ | | WebAssembly | ❌ | ❌ | ❌ | ❌ | ❌ | ### Installing and Loading ```sql INSTALL {{ page.extension.name }} FROM community; LOAD {{ page.extension.name }}; ``` {% if page.docs.hello_world %} ### Example ```sql {{ page.docs.hello_world }}``` {% endif %} {% if page.docs.extended_description %} ### About {{ page.extension.name }} {{ page.docs.extended_description }} {% endif %} ### Added Functions
| function_name | function_type | description | comment | examples | |-------------------------|---------------|-------------|---------|----------| | proto_decode | scalar | NULL | NULL | | | proto_describe | scalar | NULL | NULL | | | proto_get | scalar | NULL | NULL | | | proto_schema_add | scalar | NULL | NULL | | | proto_schema_add_binary | scalar | NULL | NULL | | | proto_to_json | scalar | NULL | NULL | | ### Overloaded Functions
This extension does not add any function overloads. ### Added Types
This extension does not add any types. ### Added Settings
| name | description | input_type | scope | aliases | typed_value | |----------------|---------------------------------------------------------|------------|--------|---------|-------------| | temp_directory | Set the directory to which temporary files are written. | VARCHAR | GLOBAL | [] | post.db.tmp |