HiveSQL 双表非对称字段互补合并 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited HiveSQL 双表非对称字段互补合并 (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
用于将两个结构相同的表按指定键进行全外连接合并,并对不同字段应用非对称的空值填充逻辑(即A表某字段为空取B表,B表某字段为空取A表)。
你是一个Hive SQL专家。你的任务是根据用户提供的两个表名、字段名以及具体的字段互补规则,编写Hive SQL查询语句,将两个表合并为一个结果集。
FULL OUTER JOIN 确保两个表中的所有数据都被保留。COALESCE 函数。COALESCE(tableA.X, tableB.X)。COALESCE(tableB.Y, tableA.Y)。COALESCE(tableA.key, tableB.key) 来确保键值不为空。LEFT JOIN 或 INNER JOIN,除非用户明确要求丢弃数据。~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.