Getting Started›Pull Data

Pull Data

Hotdata pulls data from systems you connect: databases, warehouses, lakes, streams, and SaaS APIs.

  1. Add a source in your workspace.
  2. Create an ingest that loads tables from it into an instant database.

For data your systems push directly, see Push Data.

Finding a source type

Every source has a type (postgres, stripe, buckets) that belongs to a family (sql, rest, filesystem, …):

  • The family sets the shape of the connection config.
  • The type adds the vendor's defaults.

The catalog lives in the CLI, not on this page:

hotdata ingest sources types            # every type, with its family
hotdata ingest sources types stripe     # one type: its family and description
hotdata ingest sources fields           # what each family asks for
hotdata ingest sources fields sql       # config, credentials, and selector fields

Creating a source names the family; on a terminal the rest is prompted for:

hotdata ingest sources add --family sql --display-name prod-orders

hotdata ingest sources types is the authoritative list — 168 types across the eight families below. The tables further down are the vendors Hotdata ships presets for; when a row here and the CLI disagree, the CLI is right.

Families

FamilyRequired configReads
sqldialectTables in a SQL database or warehouse
restbase_urlJSON resources from an HTTP API
filesystemprovider, root_uriParquet, CSV, and JSONL files in an object store
iceberg—Apache Iceberg tables via a REST, Glue, Polaris, or Unity catalog
deltaprovider, root_uriA Delta Lake table by URI
ducklakecatalogTables in a DuckLake catalog
kafkabootstrap_serversKafka topics, including Debezium CDC change logs
derivedsource_database_idA table built from another table in your own workspace

Neon, Supabase, and PlanetScale are rest types that read each vendor's management API. To ingest the Postgres or MySQL database behind one of them, use the sql family with the postgres or mysql type.

See the CLI reference for the full source and ingest command surface.

Connection parameters

Every source is described in three parts:

  • Config is the non-secret half of a connection: host, root URI, catalog.
  • Credentials are the secret half. They are supplied separately, so a token can be rotated without restating the connection.
  • The selector names the subset to read. It lives on the ingest, not the source, so one source can back many ingests.

Config is fixed after creation — changing the server, root, or catalog a source points at means creating a new source rather than editing the existing one.

SaaS sources are rest presets. The preset supplies base_url and the auth shape, and you supply the credential it names:

  • api_key
  • token
  • username/password
  • client_id/client_secret

The tables below cover every other source. For the full schema of a family, run hotdata ingest sources fields <family>.

Databases

All sql types.

  • Config: host, port, database, default_schema, and engine-specific options.
  • Credentials: username and password, or a full connection_string DSN (postgresql://user:pass@host:5432/db) that replaces both.
  • Selector, set through ingest create:
    • --schema and a repeatable --table
    • --sql for a WHERE clause
    • --raw-sql for a query in the engine's own dialect
SourceDescription
PostgreSQLPostgreSQL — open-source relational database with strong SQL support and extensibility. Type postgres.
NeonNeon — serverless Postgres with branching and autoscaling. Type neon (rest) reads the management API; use postgres for the database itself.
SupabaseSupabase — managed Postgres, auth, storage, and APIs for applications. Type supabase (rest) reads the management API; use postgres for the database itself.
MySQLMySQL — popular relational database for web and application workloads. Type mysql.
PlanetScalePlanetScale — serverless MySQL platform with branching and connection pooling. Type planetscale (rest) reads the management API; use mysql for the database itself.
MariaDBMariaDB — open-source, MySQL-compatible relational database. Type mariadb.
Microsoft SQL ServerMicrosoft SQL Server — enterprise relational database (MSSQL). Type mssql.
Oracle DatabaseOracle Database — enterprise relational database for transactional and analytical workloads. Type oracle.

Data warehouses

SourceDescription
SnowflakeSnowflake — cloud data warehouse for large-scale analytics and data engineering. Type snowflake.
BigQueryGoogle BigQuery — serverless data warehouse for petabyte-scale analytics. Type bigquery; the credential is credentials_json, a service-account key, and database names the project.
MotherDuckMotherDuck — serverless DuckDB in the cloud. Type motherduck; the credential is motherduck_token, and there is no host.
DatabricksDatabricks — lakehouse platform for analytics, ETL, and AI. Type databricks; the credential is access_token.
Amazon RedshiftAmazon Redshift — cloud data warehouse on AWS. Type redshift.

Data lakes

SourceDescription
IcebergApache Iceberg — open table format for large-scale data lakes. Type iceberg: config catalog_config (uri, warehouse, region); the credential is token, or credential as client_id:client_secret. The ingest selects tables, with an optional row_filter.
DuckLakeDuckLake — DuckDB's open lakehouse format, storing table data as Parquet with catalog metadata in a SQL database. Type ducklake: config catalog (a connection string — the password travels separately as catalog_password) and optional storage. The ingest selects tables.
Delta LakeDelta Lake — open table format storing table data as Parquet with a transaction log. Type delta: config provider and root_uri; credentials are the store's own. Each ingest selects one table_path.
AWS GlueAWS Glue — Apache Iceberg tables registered in an AWS Glue Data Catalog. Type glue: supply aws_access_key_id/aws_secret_access_key, or omit them to use the ambient AWS credential chain.
Apache PolarisApache Polaris — Apache Polaris / Snowflake Open Catalog over the Iceberg REST protocol. Type polaris; the credential is token, or credential as client_id:client_secret.
Unity CatalogDatabricks Unity Catalog — Unity Catalog tables via its Iceberg REST endpoint. Type unity_catalog; the credential is token.
TigrisTigris — S3-compatible object storage. Connect it with the buckets type (filesystem family): provider: s3, plus an endpoint_url pointing at your Tigris endpoint.

Files, streams, and derived tables

These types have no vendor of their own — they read whatever you point them at.

TypeFamilyReadsParameters
bucketsfilesystemParquet, CSV, and JSONL files in S3, GCS, or Azure bucketsConfig provider (s3 | gs | az), root_uri, and for S3-compatible stores an endpoint_url and region. Credentials are the store's own — aws_access_key_id/aws_secret_access_key, gs_token, or the Azure account name and key; omit them for a public bucket. The ingest selects file_format, a prefix under the root, and a glob such as **/*.parquet.
parquetfilesystemParquet files in S3, GCS, or Azure bucketsAs buckets, with the format fixed to Parquet.
kafkakafkaKafka topics — a bounded pull of the currently-available messagesConfig bootstrap_servers, with security_protocol and sasl_mechanism as the cluster requires; credentials sasl_username/sasl_password. The ingest selects topics and a start of earliest or latest.
debeziumkafkaDebezium CDC on Kafka. The envelope is unwrapped and the ingest lands a change log — one row per event, with __op, __ts_ms, and __deleted — not current stateAs kafka.
apirestAny REST API: you describe the client and the resources it exposesConfig base_url, an auth shape, and non-secret headers; the credential matches the auth shape — token, api_key, username/password, or client_id/client_secret. The ingest selects resources, with an optional where filter and limit.
derivedderivedA table built from another table in your own workspaceConfig source_database_id and source_schema; no credentials. The ingest selects a table and a cursor_column to resume on — NOT NULL, never decreasing — with a tiebreaker_column unless the cursor is unique per row.

Public & open data

Many open, government, scientific, and sample APIs ship as rest types, and most need no credentials. List them with hotdata ingest sources types. Anything not listed can be reached with the generic api type by describing the endpoints yourself.