Skip to content

feat: add Dremio SQL dialect#129

Merged
Light2Dark merged 1 commit into
marimo-team:mainfrom
corleyma:corleyma/add-dremio-dialect
May 29, 2026
Merged

feat: add Dremio SQL dialect#129
Light2Dark merged 1 commit into
marimo-team:mainfrom
corleyma:corleyma/add-dremio-dialect

Conversation

@corleyma

Copy link
Copy Markdown
Contributor

Summary

Adds a Dremio SQL dialect export with:

  • Dremio reserved keywords
  • Dremio SQL data types, including semi-structured types
  • double-quote identifier support
  • case-insensitive identifier completion

The keyword/type lists are based on Dremio's SQL reference docs.

Test Plan

  • pnpm test --run src/__tests__/index.test.ts
  • pnpm typecheck
  • pnpm build

Copilot AI review requested due to automatic review settings May 26, 2026 21:28

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds a new CodeMirror SQL dialect for Dremio and exposes it through the public dialect exports, with docs and tests updated accordingly.

Changes:

  • Exported DremioDialect from src/dialects/index.ts
  • Added new src/dialects/dremio.ts defining Dremio keywords/types and dialect spec
  • Updated README and tests to list/validate the new dialect

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
src/dialects/index.ts Exposes DremioDialect via the dialect barrel export
src/dialects/dremio.ts Implements Dremio SQL dialect spec (keywords, types, quoting/comment rules)
src/tests/index.test.ts Extends export snapshot and adds a Dremio dialect sanity test
README.md Documents Dremio as an additional supported dialect

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/dialects/dremio.ts
Comment thread src/__tests__/index.test.ts
@corleyma corleyma changed the title Add Dremio SQL dialect feat: add Dremio SQL dialect May 26, 2026
@corleyma
corleyma force-pushed the corleyma/add-dremio-dialect branch from f3c1a93 to 69de960 Compare May 27, 2026 20:42
@Light2Dark
Light2Dark merged commit 93ab69e into marimo-team:main May 29, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants