npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-dremio

v2.0.17

Published

n8n node for Dremio

Readme

Dremio n8n Connector

A community n8n node for executing SQL queries against Dremio Cloud and Dremio Software directly from your n8n workflows.

npm License: MIT

Features

  • Execute SQL — Run any SQL query supported by Dremio
  • Dual Compatibility — First-class support for both Dremio Cloud and Dremio Software (self-hosted)
  • Credential-Based Auth — Authentication via Personal Access Token (PAT) using n8n's built-in httpRequestWithAuthentication
  • Automatic Credential Test — Validates your credentials when you save them in n8n
  • SSL Flexibility — Option to skip SSL certificate validation for self-hosted instances with self-signed certificates
  • Data Lineage — Full pairedItem tracking for n8n's data lineage feature
  • Proper Error Handling — Uses NodeOperationError for clear, actionable error messages

Installation

n8n Community Nodes (Recommended)

  1. Go to your n8n dashboard
  2. Navigate to Settings > Community Nodes
  3. Click Install a community node
  4. Enter: n8n-nodes-dremio
  5. Click Install

The Dremio node will now be available in your workflow editor.

Self-Hosted n8n (Manual)

# Clone and build
git clone https://github.com/developer-advocacy-dremio/dremio-n8n-connector.git
cd dremio-n8n-connector
npm install
npm run build

# Link to n8n
mkdir -p ~/.n8n/custom
cd ~/.n8n/custom
npm link /path/to/dremio-n8n-connector

# Restart n8n

Usage Guide

1. Add the Node

Open your n8n workflow, click +, and search for Dremio.

2. Configure Credentials

Click the credential dropdown and create a new Dremio API credential.

Dremio Cloud

| Field | Value | |:---|:---| | Type | Cloud | | Base URL | https://api.dremio.cloud (default) or https://api.eu.dremio.cloud for EU | | Project ID | Found in Dremio Cloud → Project Settings | | Access Token | Your Personal Access Token (PAT) | | Ignore SSL Issues | False |

Dremio Software

| Field | Value | |:---|:---| | Type | Software | | Base URL | https://<HOST>:9047/api/v3 | | Access Token | Your Personal Access Token (PAT) | | Ignore SSL Issues | True if using a self-signed certificate |

Tip: Click Test Credential to verify connectivity before saving.

3. Execute SQL

  • Resource: Query
  • Operation: Execute
  • SQL Query: Your SQL statement

Examples:

-- Query sample data
SELECT * FROM "Samples"."samples.dremio.com"."NYC-taxi-trips" LIMIT 10

-- Use with expressions from previous nodes
SELECT * FROM my_table WHERE id = '{{ $json.id }}'

How It Works

The connector uses the Dremio REST API's asynchronous job execution model:

  1. SubmitPOST the SQL query to the /sql endpoint → receives a Job ID
  2. Poll — Checks job status every second until COMPLETED, FAILED, or CANCELED
  3. Fetch — Retrieves results from /job/{id}/results and outputs rows as n8n items

Each output item includes pairedItem metadata for n8n's data lineage tracking.

Project Structure

| Path | Description | |:---|:---| | credentials/DremioApi.credentials.ts | Credential definition — auth, SSL, and credential test | | nodes/Dremio/Dremio.node.ts | Node logic — SQL execution via submit/poll/fetch | | nodes/Dremio/dremio.svg | Node icon | | scripts/verify_api.js | Standalone API test script (reads from .env) | | .github/workflows/publish.yml | GitHub Actions — auto-publish to npm with provenance on release | | .env.template | Template for local API testing credentials |

Development

See the Developer Guide for implementation details.

Quick Start

npm install          # Install dependencies
npm run build        # Compile TypeScript + copy SVG assets
npm run lint         # Run ESLint
npm run dev          # Watch mode for development

Testing API Connectivity

cp .env.template .env   # Fill in your Dremio credentials
node scripts/verify_api.js

Publishing

Releases are automated via GitHub Actions. To publish a new version:

  1. Bump the version in package.json
  2. Commit, tag, and push:
    git tag v2.x.x
    git push origin main --tags
  3. Create a GitHub Release from the tag — this triggers the publish workflow

Troubleshooting

| Problem | Solution | |:---|:---| | Job Failed | Check the Dremio UI Jobs page for detailed SQL error messages | | SSL Error | Toggle Ignore SSL Issues to True in credentials | | Timeout | Use LIMIT clauses or paginate large result sets | | Credential Test Fails | Verify your PAT is valid and Project ID is correct (Cloud) | | 401 Unauthorized | Regenerate your Personal Access Token in Dremio |

License

MIT