oleander-iceberg-catalog

Oleander Iceberg catalog specification. Defines the standardized patterns for reading and writing Iceberg catalog tables within Spark jobs, including naming conventions, write patterns, and catalog hierarchy.

Last repository push
GitHub Stars
212
Forks
664
Issues / PRs
21

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "oleander-iceberg-catalog" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-16bc85fd0731928b82027b0e4762fbf80e7345a3a2838b42aeccb115f829ae60. Verify the upstream source and version against https://github.com/Kilo-Org/kilo-marketplace before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Oleander Iceberg catalog specification. Defines the standardized patterns for reading and writing Iceberg catalog tables within Spark jobs, including naming conventions, write patterns, and catalog hierarchy.

0 Downloads

Introduction source: third_party · Kilo-Org · 0.0.1 Reference

SkillPi interpretation

Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: oleander-iceberg-catalog
description: >-
  Patterns for reading and writing oleander Iceberg catalog tables in Spark
  jobs, including naming conventions, write modes, and catalog hierarchy.
metadata:
  category: data
  source:
    repository: 'https://github.com/oleanderhq/skills'
    path: skills/oleander-iceberg-catalog
    license_path: LICENSE
    commit: e67bc57b5bdb98f68c29d034a0cc1bb71c973e61

oleander Iceberg Catalog

Use this skill when reading from or writing to the oleander Iceberg catalog in a Spark job.

Catalog hierarchy

Tables are addressed as catalog.namespace.table:

  • catalog: always oleander for the managed Lakekeeper-backed catalog
  • namespace: a logical grouping (e.g., default, san_francisco, my_org)
  • table: the table name

By default, default and telemetry namespaces are available out of the box. The telemetry namespace contains oleander-managed data you can query directly (for example oleander.telemetry.run_events, oleander.telemetry.traces, and oleander.telemetry.logs).

Examples:

oleander.default.sf_311
oleander.san_francisco.district_stats
oleander.my_namespace.results

Reading tables

Use spark.table() with the fully qualified name:

df = spark.table("oleander.default.sf_311")

Never construct table paths as raw S3 URIs. Always use the catalog name so Iceberg metadata and lineage are tracked correctly.

Writing tables

Append (add rows to an existing or new table):

df.writeTo("oleander.my_namespace.my_table").append()

Overwrite (replace table contents):

df.write.mode("overwrite").saveAsTable("oleander.my_namespace.my_table")

Use writeTo(...).append() for incremental pipelines. Use write.mode("overwrite").saveAsTable(...) when replacing full result sets each run.

Prefer Spark writes over driver writes

Avoid collecting data to the driver and then writing from Python memory. Keep writes as Spark DataFrame operations so Iceberg handles the transaction, partitioning, and metadata correctly.

Bad:

rows = df.collect()
# write rows from Python memory

Good:

df.write.mode("overwrite").saveAsTable("oleander.my_namespace.my_table")

Parameterize table names

Accept table names as arguments or environment variables so scripts are reusable:

import os, argparse

parser = argparse.ArgumentParser()
parser.add_argument("--input-table", default="oleander.default.sf_311")
parser.add_argument("--output-catalog", default="oleander.my_namespace")
args = parser.parse_args()

df = spark.table(args.input_table)
df.write.mode("overwrite").saveAsTable(f"{args.output_catalog}.results")

Namespace conventions

  • Use lowercase, underscore-separated names for namespaces and tables.
  • Keep the namespace tied to the domain or data source, not the job name.
  • Avoid deeply nested namespaces; one level is usually sufficient.

Cache reused tables, then unpersist

If a table is read and used in multiple downstream transforms, cache it once and unpersist when done:

df = spark.table("oleander.default.sf_311")
df.cache()
# ... multiple transforms ...
df.unpersist()

Do not cache tables that are only used once.

Version history

  1. skills-20261103210927-6c1b454 GitHub ↗
    Original release notes

    Automated skills release from commit 6c1b4543cac1d45a80bf5904e4b69ac315117323

  2. skills-20260928190452-ff51758 GitHub ↗
    Original release notes

    Automated skills release from commit ff51758b06b8249007116184096765d47bdb7505

  3. skills-20260924105536-d31110d GitHub ↗
    Original release notes

    Automated skills release from commit d31110d62dc0bd00c22f1d6f6a630d1e702a0049

  4. skills-20260923085113-cea285e GitHub ↗
    Original release notes

    Automated skills release from commit cea285ef0e4d6ec47cd2fd9fdbca03813a3363c7

  5. skills-20260922193956-97d7333 GitHub ↗
    Original release notes

    Automated skills release from commit 97d7333d8200e5ac556c659c8669f3a83ba10866

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供了 Spark 操作 Iceberg 目录表的详细规范
  • 包含命名约定、写入模式、目录层级等实用指导
  • 面向数据工程师的实际工作场景
Trigger Precision85/100

Highlights

  • description 明确描述了核心功能
  • 触发词覆盖完整,边界清晰
  • 不易与其他 Skill 重叠
Structure and Standards90/100

Areas to improve

  • 缺少 When to Use 章节 Reported severity: Minor

    文档中已有使用场景描述,但缺少明确的 "When to Use" 章节标题

    Recommendation: 建议添加明确的 "When to Use" 章节标题以提升文档规范性

Highlights

  • 文档结构清晰,章节划分合理
  • 提供了丰富的代码示例
  • frontmatter 完整规范
Execution Reliability85/100

Highlights

  • 提供了具体的 Spark 代码示例
  • 涵盖了主要的写入模式和最佳实践
  • 工具来源明确,参数使用正确
Evidence Verifiability (mean of the first four)84/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.