hive-query
Use for read-only SQL against Hive (HiveServer2), Impala or Spark SQL (the Spark Thrift Server) on Hadoop.
Skill by agentchieflou
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/agentchieflou-hive-query
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, marketing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/hive-query
What's inside
- Skill name
hive-query- Description
- Use for read-only SQL against Hive (HiveServer2), Impala or Spark SQL (the Spark Thrift Server) on Hadoop. Never connect directly; ad-hive / ad-impala / ad-spark lint the SQL for the engine's syntax first, run it, and return TOON. The engines differ — `||` is OR in Impala.
- License
- MIT
- Instructions
- 13 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- hive-impala-sql.md · references/
SKILL.md (first lines)
# hive / impala / spark query (read-only) 0. Before writing SQL read `references/hive-impala-sql.md` §The five differences, §Row limiting and §Dates. Hive 3 has no QUALIFY (Hive 4 does), Impala has none; `||` concatenates in Hive but is LOGICAL OR in Impala — use `concat()`; Hive `trunc()` knows only MONTH/QUARTER/YEAR. 1. Pick the engine from the request: Impala → `ad-impala` (env fact `impala_env`); Spark, Spark SQL, a Delta table → `ad-spark` (env fact `spark_env`; read §Spark SQL first); Hive/Hadoop table → `ad-hive` (env fact `hive_env`). A Spark table with no `spark_env` fact → `ad-hive` reads the same metastore. 2. Write the SQL to `.agent/sql/<ticket>-<purpose>.sql`. One SELECT. Add `LIMIT 100` while exploring; remove only for the final run. 3. Run `ad-hive --sql-file <that file> --name <purpose>`, `ad-impala ...` or `ad-spark ...` (`--env` overrides the fact). 4. `ok: false` with `source: ad-sql-check` → apply the `fix` from `findings`, rerun. Other `ok: false` → fix once from `hint` (`klist` shows whether a Kerberos ticket exists); second failure → `friction-log` type `tool-error`. The request said Hadoop (not Hive by name) and Hive refused for capacity — a YARN queue, a timeout, `Error while processing statement` with no SQL line → run the same query once on the other engine (`ad-impala`, after re-reading §The five differences: `||` → `concat()`). Its failure too → `friction-log` type `tool-error` quoting both. A missing Kerberos ticket is an environment error (router step 8), not a reason to switch engines. 5. `meta.warnings` present → apply each fix before the final run. 6. `rule: 6` → do not read rows. Use `stats` or script over `path` (see `data-adapter`). 7. Invoke `state-update` with the `path` and `run_id`. 8. Return to the calling skill (or `router`).
From agentchieflou/this-next-please, MIT.
More from agentchieflou/this-next-please
- 0.592score
data-adapter
agentchieflou
How to read and produce data in this workspace.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
jira-changelog
agentchieflou
Use for field history, sprint reports, committed vs completed points, "when did X change", or anything current Jira values cannot answer.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
confluence-publish
agentchieflou
Use to write findings, runbooks, or work documentation to Confluence.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
file-organize
agentchieflou
Use when a folder of files has to be organized — a delivery of documents to sort before a DPM run, a heap with no structure, 'where should these go', 'file…
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
friction-log
agentchieflou
Use the moment you second-guess yourself, repeat a tool call, hit ambiguous acceptance criteria, or get two failures in a row.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
code-change
agentchieflou
Use for a change to this repository's own code that no domain skill covers: fix a bug, patch a loader, add a flag, refactor a function, make it do X.
SkillAFreshness: A★ 1Claude Code +9 - 0.582score
dax-studio-export
agentchieflou
Use to evaluate a DAX query against a deployed model or a running Desktop and get results as TOON, or to export a .vpax model-metrics file.
SkillAFreshness: A★ 1Claude Code +9 - 0.582score
bitbucket-pr
agentchieflou
Use when code or model changes are ready for review — to branch, commit, push, and open a Bitbucket pull request with ad-git pr.
SkillAFreshness: A★ 1Claude Code +9 - 0.579score
code-router
agentchieflou
Domain sub-router for work on a repository's own code: map it, cover it, change it, make it faster, prove nothing broke, tidy the worktree.
SkillAFreshness: A★ 1Claude Code +9 - 0.579score
dpm-router
agentchieflou
Domain sub-router for document pipelines: DPM run handoff, field extraction, Content Understanding analyzers, organizing a folder of documents.
SkillAFreshness: A★ 1Claude Code +9 - 0.579score
jira-comment
agentchieflou
Use to post a comment on a Jira issue without moving it — a finding, a question for the reporter, a status note, the path of an artifact.
SkillAFreshness: A★ 1Claude Code +9 - 0.579score
jira-router
agentchieflou
Domain sub-router for Jira work: triage a key, create a ticket, field history and sprint replay, move an issue.
SkillAFreshness: A★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 61
- Last commit (this folder)
- Oct 21, 2026 (8 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from agentchieflou
- 0.592score
jira-changelog
agentchieflou
Use for field history, sprint reports, committed vs completed points, "when did X change", or anything current Jira values cannot answer.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
data-adapter
agentchieflou
How to read and produce data in this workspace.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
confluence-publish
agentchieflou
Use to write findings, runbooks, or work documentation to Confluence.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
file-organize
agentchieflou
Use when a folder of files has to be organized — a delivery of documents to sort before a DPM run, a heap with no structure, 'where should these go', 'file…
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
code-change
agentchieflou
Use for a change to this repository's own code that no domain skill covers: fix a bug, patch a loader, add a flag, refactor a function, make it do X.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
friction-log
agentchieflou
Use the moment you second-guess yourself, repeat a tool call, hit ambiguous acceptance criteria, or get two failures in a row.
SkillAFreshness: A★ 1Claude Code +9
Cite this page
hive-query skill. Agent Mart. https://agentmart.dev/skills/agentchieflou-hive-query (last updated 2026-10-24)