oleander-iceberg-catalog

夹竹桃(Oleander)冰山(Iceberg)目录规范。定义在 Spark 作业中读取与写入 Iceberg 目录表的规范模式,包括命名约定、写入模式以及目录层级结构。

仓库最近推送
GitHub Stars
212
Forks
664
Issues / PRs
21

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "oleander-iceberg-catalog":https://skillpi.com/zh/skills/deepskill-16bc85fd0731928b82027b0e4762fbf80e7345a3a2838b42aeccb115f829ae60。安装前核对上游来源和版本:https://github.com/Kilo-Org/kilo-marketplace。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

夹竹桃(Oleander)冰山(Iceberg)目录规范。定义在 Spark 作业中读取与写入 Iceberg 目录表的规范模式,包括命名约定、写入模式以及目录层级结构。

0 下载

介绍来源: third_party · Kilo-Org · 0.0.1 参考来源

SkillPi 解读

实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
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.

版本历史

  1. skills-20261103210927-6c1b454 GitHub ↗
    原版更新说明

    Automated skills release from commit 6c1b4543cac1d45a80bf5904e4b69ac315117323

  2. skills-20260928190452-ff51758 GitHub ↗
    原版更新说明

    Automated skills release from commit ff51758b06b8249007116184096765d47bdb7505

  3. skills-20260924105536-d31110d GitHub ↗
    原版更新说明

    Automated skills release from commit d31110d62dc0bd00c22f1d6f6a630d1e702a0049

  4. skills-20260923085113-cea285e GitHub ↗
    原版更新说明

    Automated skills release from commit cea285ef0e4d6ec47cd2fd9fdbca03813a3363c7

  5. skills-20260922193956-97d7333 GitHub ↗
    原版更新说明

    Automated skills release from commit 97d7333d8200e5ac556c659c8669f3a83ba10866

此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值75/100

亮点

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

亮点

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

待提升项

  • 缺少 When to Use 章节 原报告严重程度:轻微

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

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

亮点

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

亮点

  • 提供了具体的 Spark 代码示例
  • 涵盖了主要的写入模式和最佳实践
  • 工具来源明确,参数使用正确
证据可验 (前四项均值)84/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

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

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • github.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。