본문으로 건너뛰기
cccskills
무료GitHub에 공개

motherduck-load-data

Load files, object storage, dataframes, or external databases into MotherDuck using an appropriate bulk ingestion path.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구PostgreSQL
설치 방법 보기

포함된 파일(2)

  • SKILL.md3.8 KB
  • references/INGESTION_PATTERNS.md18.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Load Data into MotherDuck

Source Of Truth

  • Prefer current MotherDuck loading, cloud-storage, and Postgres-endpoint loading docs first.
  • Use CREATE SECRET and cloud-storage docs for protected-object-store workflows.
  • Use the DuckDB database upload docs when the source is an existing local .duckdb, .ddb, or attached DuckDB database.
  • Keep the loading advice aligned with MotherDuck's documented posture:
    • batch over streaming
    • Parquet over CSV when you control the format
    • dataframe, COPY, CTAS, or INSERT ... SELECT over row-by-row inserts
    • native MotherDuck storage first unless DuckLake is explicitly required

Default Posture

  • Start by classifying the source: object storage or HTTPS, local file or local DuckDB, in-memory rows, or an external database.
  • Prefer CREATE TABLE AS SELECT for first loads and INSERT INTO ... SELECT for appends.
  • For whole DuckDB databases, use CREATE OR REPLACE DATABASE remote_name FROM CURRENT_DATABASE(), an attached local database, a local file path from a native client, or a remote .duckdb file URL such as S3. Remote and local file imports physically copy data into MotherDuck; database/share clone sources are zero-copy.
  • Use Parquet for durable bulk movement whenever you control the source format.
  • Treat the Postgres endpoint as a thin-client path for server-side remote reads, not for local-file or extension-driven ingestion.
  • Bootstrap the target MotherDuck database first when the ingestion tool does not create it automatically.
  • Keep raw landing minimally transformed; do typing, deduplication, and business logic in staging or modeling steps.
  • Keep source storage close to the MotherDuck region when you control placement.

Workflow

  1. Identify where the source data actually lives.
  2. Choose the loading path:
    • object storage or HTTPS: remote read into MotherDuck
    • local file or local DuckDB: use a DuckDB client path
    • remote DuckDB database file: use CREATE DATABASE ... FROM '<cloud-url>' with the required cloud secret
    • in-memory rows: Arrow or dataframe bulk load first, batched inserts only as a fallback
    • external database: use the appropriate scan or replication path from a DuckDB-capable environment
  3. Land the data into a raw or staging table with minimal transformation.
  4. Validate row counts, types, and a few business aggregates immediately after the load.
  5. Promote into modeled tables only when the request includes transformation; a load request is complete after its destination data is validated.

For answer, review, or planning requests, recommend the loading path without mutating data. For load or implementation requests, perform the requested in-scope write and validation; ask before destructive replacement or a broader external write.

References

Read only the reference sections needed for the current task.

  • Read references/INGESTION_PATTERNS.md for format-specific options, cloud-storage secrets, Postgres-endpoint loading tradeoffs, Python dataframe paths, and advanced ingestion patterns.

Related Skills

Load related skills only for missing capabilities; reuse established context.

  • motherduck-connect for choosing between the Postgres endpoint and a DuckDB client path
  • motherduck-explore for inspecting destination databases and validating landed tables
  • motherduck-query for writing CTAS, append, and validation SQL
  • motherduck-model-data for promoting landed data into staging and analytics tables
  • motherduck-ducklake only when object-storage-backed lakehouse storage is an explicit requirement
  • motherduck-cli when a shell-based load should stream structured output to files

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Build MotherDuck analytics into customer-facing applications with tenant isolation, backend routing, and serving APIs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

motherduckdb/agent-skills622026년 9월 6일 업데이트

Build a MotherDuck dashboard as a Dive, choosing the analytical story, metrics, and section queries.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

motherduckdb/agent-skills622026년 9월 6일 업데이트

Build ingestion-to-serving pipelines on MotherDuck, including stage boundaries, transformations, and publication.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

motherduckdb/agent-skills622026년 9월 6일 업데이트

Use the MotherDuck CLI for terminal queries, authentication, and file-based Dive or Flight workflows.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

motherduckdb/agent-skills622026년 9월 6일 업데이트

Set up or troubleshoot MotherDuck connections, authentication, client runtimes, and read scaling.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

motherduckdb/agent-skills622026년 9월 6일 업데이트

Create, edit, publish, share, or embed MotherDuck Dives using their React and SQL runtime.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

motherduckdb/agent-skills622026년 9월 6일 업데이트

motherduckdb의 스킬 모두 보기

이 스킬의 문제 신고