--- warning: DO NOT CHANGE THIS MANUALLY, THIS IS GENERATED BY https://github.com/duckdb/community-extensions repository, check README there title: ldbc_data_gen excerpt: | DuckDB Community Extensions Generate LDBC SNB BI datasets directly from DuckDB extension: name: ldbc_data_gen description: Generate LDBC SNB BI datasets directly from DuckDB version: 0.1.1 language: C++ build: cmake license: MIT maintainers: - Dtenwolde repo: github: Dtenwolde/ldbc-data-gen ref: e7d26eac0e0feb70ec37a90112607adac807e901 docs: hello_world: | INSTALL ldbc_data_gen FROM community; LOAD ldbc_data_gen; -- Generate the LDBC SNB BI dataset as DuckDB tables. CALL ldbcgen(sf := 0.003, schema := 'ldbc'); -- Inspect generated relation counts. FROM ldbcgen(sf := 0.003, schema := 'ldbc_counts'); -- Generate Spark-compatible BI Parquet files. CALL ldbcgen( sf := 0.003, target := 'files', output_dir := 'out/sf0.003', format := 'parquet', overwrite := true ); -- Inspect the generated schema metadata. FROM ldbcgen_schema(format := 'parquet') LIMIT 10; -- Run one bundled LDBC BI query against generated tables. PRAGMA ldbc_bi(1, schema = 'ldbc'); extended_description: > The ldbc_data_gen extension generates deterministic LDBC Social Network Benchmark Business Intelligence (SNB BI) datasets directly inside DuckDB. It can materialize the generated graph as DuckDB tables or write Spark-compatible BI files in the composite-merged-fk layout, including the initial snapshot, inserts, and deletes. Parquet and CSV file output are supported. The extension also includes helpers for inspecting the generated schema, configuration values, deterministic Java-compatible random sequences, and bundled LDBC BI query execution through `PRAGMA ldbc_bi`. The generator is designed for reproducible benchmark data generation and local validation workflows without requiring Spark. extension_star_count: 1 extension_star_count_pretty: 1 extension_download_count: 11497 extension_download_count_pretty: 11.5k image: '/images/community_extensions/social_preview/preview_community_extension_ldbc_data_gen.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 | |---------------------|---------------|-------------|---------|----------| | ldbc_bi | pragma | NULL | NULL | | | ldbc_bi_queries | table | NULL | NULL | | | ldbc_email_base | scalar | NULL | NULL | | | ldbc_java_random | table | NULL | NULL | | | ldbcgen | table | NULL | NULL | | | ldbcgen_config | table | NULL | NULL | | | ldbcgen_person_core | table | NULL | NULL | | | ldbcgen_schema | table | NULL | NULL | | ### Overloaded Functions
This extension does not add any function overloads. ### Added Types
This extension does not add any types. ### Added Settings
This extension does not add any settings.