Dataset Viewer
The dataset viewer is not available for this dataset.
Cannot get the config names for the dataset.
Error code:   ConfigNamesError
Exception:    RuntimeError
Message:      Dataset scripts are no longer supported, but found schemapile.py
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 66, in compute_config_names_response
                  config_names = get_dataset_config_names(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 161, in get_dataset_config_names
                  dataset_module = dataset_module_factory(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1031, in dataset_module_factory
                  raise e1 from None
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 989, in dataset_module_factory
                  raise RuntimeError(f"Dataset scripts are no longer supported, but found {filename}")
              RuntimeError: Dataset scripts are no longer supported, but found schemapile.py

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

SchemaPile

Usage

from datasets import load_dataset
ds = load_dataset("cwolff/schemapile", split="full")
print(f"Loaded dataset with {len(ds)} records.")
print(ds[0])

Description

SchemaPile is a collection of database schemas extracted from various sources, normalized for consistency and ease of use in machine learning workflows. Each record contains metadata (INFO), licensing information, permissiveness, and a list of tables with detailed column specifications.

Schema

  • INFO:

    • ID: Unique identifier (from filename prefix)
    • FILENAME: Original filename
    • Additional metadata fields
  • LICENSE: License string (if available)

  • PERMISSIVE: Boolean indicating permissive license

  • TABLES: List of tables, each with:

    • TABLE_NAME: Name of the table
    • COLUMNS: List of columns, each with:
      • NAME, TYPE, NULLABLE, UNIQUE, DEFAULT, CHECKS, IS_PRIMARY, IS_INDEX, VALUES
    • PRIMARY_KEYS, FOREIGN_KEYS, CHECKS, INDEXES

Citation

If you use SchemaPile in your research, please cite:

@article{dohmen2024schemapile,
  title={Schemapile: A large collection of relational database schemas},
  author={D{"o}hmen, Till and Geacu, Radu and Hulsebos, Madelon and Schelter, Sebastian},
  journal={Proceedings of the ACM on Management of Data},
  volume={2},
  number={3},
  pages={1--25},
  year={2024},
  publisher={ACM New York, NY, USA}

Read the paper

Website

For more information, visit the SchemaPile website.

License

See individual record LICENSE fields for details. The PERMISSIVE flag indicates whether the schema is under a permissive license.

Downloads last month
94