FeedExploreAsk AIAlertsSavedProfile

Categories

AICybersecurityInfrastructureDatabaseTech Updates

Tech news that matters.

FeedExploreAskAlertsSavedProfile
Back to feed
Database·High↗Trending

DuckDB Can Now Query Hugging Face Datasets Directly

A data scientist works on a laptop with SQL code on the screen in a modern office setting.
Hugging Face logo
Hugging Face news →

TL;DR: DuckDB now lets developers query datasets on the Hugging Face Hub directly using SQL. This integration removes the need to download large files, simplifying and speeding up data exploration for machine learning projects.

By Taranpreet Singh·32m ago·3 min read·updated just now
Source

Key facts

Category
Database
Impact
High
Published
32m ago
Source
DuckDB Blog

Full summary

DuckDB can now query datasets on the Hugging Face Hub directly, simplifying data exploration and analysis for machine learning developers.

DuckDB, the increasingly popular in-process analytical database, has released version 0.10.3 with a standout feature: direct querying of datasets hosted on the Hugging Face Hub. This development, announced in a May 22 blog post, forges a powerful link between two essential tools in the modern data and AI stack. Hugging Face serves as the de facto repository for the machine learning community, hosting thousands of datasets used to train and evaluate models. DuckDB, on the other hand, has gained a loyal following among developers for its ability to run complex analytical SQL queries directly on file formats like Parquet and CSV without requiring a separate server. This integration effectively brings DuckDB's high-performance query engine to the world's largest collection of machine learning datasets, streamlining a previously cumbersome process for developers and data scientists.

The mechanism behind this new capability is a custom protocol handler implemented within DuckDB. Developers can now use the `hf://` prefix in their SQL queries to point directly to a dataset on the Hugging Face Hub. For example, a query like `SELECT * FROM 'hf://datasets/user/repository/file.parquet'` instructs DuckDB to communicate with the Hugging Face API, locate the specified file, and stream its contents for processing. This completely bypasses the traditional workflow that required developers to first find a dataset, manually download what are often multi-gigabyte files, decompress them, and then load them into a local environment for analysis. By handling the data access transparently, DuckDB abstracts away the tedious data logistics, allowing users to focus immediately on exploration and analysis. The engine is smart enough to handle the necessary HTTP requests and parse the data on the fly, making remote data feel local.

This integration is a prime example of a broader industry trend toward separating storage and compute, and more specifically, bringing computation directly to the data's location. Traditional data warehouses often required data to be loaded into a proprietary system before it could be queried. Modern tools like DuckDB are flipping this model on its head, building powerful engines that can operate on data wherever it lives—be it a local CSV file, an object in an S3 bucket, or now, a dataset on a specialized hub like Hugging Face. This approach dramatically reduces data movement, which saves time, lowers costs, and simplifies data pipelines. Furthermore, it bridges a cultural and technical gap between the data engineering community, which is deeply rooted in SQL, and the machine learning community, which primarily operates within Python-based ecosystems. By making ML datasets first-class citizens in a SQL environment, this feature democratizes access and encourages cross-functional collaboration.

The most immediate and practical takeaway for developers is a significant boost in productivity. The ability to run a quick `COUNT(*)` or a more complex aggregation on a massive remote dataset without a lengthy download process is a game-changer for initial data exploration and hypothesis testing. It dramatically shortens the feedback loop, allowing for more rapid iteration when evaluating a dataset's suitability for a project. Looking ahead, we can anticipate this integration to deepen. Future enhancements could include more sophisticated predicate pushdown, where DuckDB sends parts of the query logic to the Hugging Face API to filter data at the source, further minimizing data transfer. We may also see other data platforms and query engines adopt similar direct-access protocols for specialized data repositories, continuing the trend of building a more interconnected and efficient data ecosystem for the age of AI.

Why it matters

For developers and data scientists, this integration drastically reduces friction in the data-to-model pipeline. It eliminates the time-consuming step of downloading large datasets, enabling faster, more interactive exploration of machine learning data directly within a familiar SQL environment, boosting productivity and accelerating experimentation.

Business impact

This feature can lower data infrastructure costs by reducing the need for intermediate storage and data transfer. It enables teams to work more efficiently, shortening the cycle from data discovery to insight and model development, which can accelerate the delivery of AI-powered products and features.

Tags

#machine-learning#data engineering#hugging face#duckdb#sql

Related on Notifire

  • ResearchPostgreSQL at scale
  • ComparePostgreSQL vs MySQL
  • ComparePostgreSQL vs DuckDB

✦ Notifire newsletter

Get more Database intelligence

Join engineers getting Notifire’s verified tech briefings — short, sourced, and free. No spam, unsubscribe anytime.

The day's most important tech briefings. No spam, unsubscribe anytime.

Related stories

Primary source: DuckDB Blog

Tech intelligence for engineering teams

Short, verified briefings on AI, cybersecurity, infrastructure, and data — with the analysis and action steps that matter. Every briefing is sourced, fact-checked, and bylined to a named editor.

[email protected]Story tips & corrections welcomeHow we report →

The Notifire briefing

Verified tech intelligence in your inbox — AI, security, infra, and data.

The day's most important tech briefings. No spam, unsubscribe anytime.

Sections

  • AI
  • Cybersecurity
  • Infrastructure
  • Database
  • Tech Updates
  • Web3 & Chains

Newsroom

  • About Notifire
  • Editorial team
  • Editorial standards
  • Methodology
  • AI disclosure
  • Corrections

Resources

  • Explore
  • Research hubs
  • Comparisons
  • Tech glossary
  • FAQ
  • Alerts & watchlists

Follow

  • RSS feed
© 2026 NotifirePrivacyTermsCorrections
An independent, AI-assisted publication. Built at </Alpheric>
IntelligenceLive panel
Live

Top trending

Last 24h

    Popular tags

    Add to watchlist

    +OpenAI+Claude+PostgreSQL+Kubernetes+Cloudflare+AWS+CVE Critical

    Notifire score

    0–100 priority signal — combines impact, freshness, trending velocity, and source credibility.

  1. Atom feed
  2. LinkedIn
  3. X / Twitter
  4. Facebook
  5. Instagram
  6. YouTube