This is an automated email from the ASF dual-hosted git repository.

yihua pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/hudi.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 69720d6f5942 docs(blog): update the DuckDB post for duckdb-hudi v0.4.0 
(#21098)
69720d6f5942 is described below

commit 69720d6f5942bc3174b82f556365e7c6e57c8337
Author: Y Ethan Guo <[email protected]>
AuthorDate: Fri Dec 4 17:04:39 2026 -0800

    docs(blog): update the DuckDB post for duckdb-hudi v0.4.0 (#21098)
---
 .github/scripts/validate-blog.py                   |  6 +++---
 ...26-12-03-query-apache-hudi-tables-in-duckdb.mdx | 25 +++++-----------------
 2 files changed, 8 insertions(+), 23 deletions(-)

diff --git a/.github/scripts/validate-blog.py b/.github/scripts/validate-blog.py
index ea8214de3e4c..91f87bb1b404 100644
--- a/.github/scripts/validate-blog.py
+++ b/.github/scripts/validate-blog.py
@@ -26,7 +26,7 @@ ALLOWED_TAGS = {
     'dml', 'concurrency control', 'cdc',
     'bi', 'uber', 'tutorial', 'release', 'cow', 'apache kafka', 'minio',
     'clustering', 'acid', 'walmart', 'python', 'rust', 'mor', 'hudi timeline',
-    'debezium', 'data skipping', 'daft', 'ai',
+    'debezium', 'data skipping', 'daft', 'duckdb', 'hudi-rs', 'time travel', 
'ai',
     'table format', 'starrocks', 'halodoc', 'gdpr', 'schema', 'scd',
     'observability', 'metadata', 'meetup', 'key generation', 'docker',
     'cleaner', 'apache hive', 'apache doris', 'vector search', 'upstox', 
'twilio',
@@ -176,8 +176,8 @@ def validate_blog(filepath: str) -> list[str]:
             )
             continue
 
-        # Check for hyphens in tags
-        if '-' in tag:
+        # Check for hyphens in tags; an allowlisted name such as 'hudi-rs' 
keeps its hyphen
+        if '-' in tag and tag_lower not in {t.lower() for t in ALLOWED_TAGS}:
             errors.append(
                 f"Tag '{tag}' contains hyphen. "
                 f"Use spaces instead (e.g., 'apache spark' not 'apache-spark')"
diff --git a/website/blog/2026-12-03-query-apache-hudi-tables-in-duckdb.mdx 
b/website/blog/2026-12-03-query-apache-hudi-tables-in-duckdb.mdx
index b0270c3abba9..2ea56ea38193 100644
--- a/website/blog/2026-12-03-query-apache-hudi-tables-in-duckdb.mdx
+++ b/website/blog/2026-12-03-query-apache-hudi-tables-in-duckdb.mdx
@@ -11,24 +11,11 @@ tags:
 - rust
 - python
 - lakehouse
+- querying
 - time travel
-- incremental query
+- incremental processing
 ---
 
-{/*
-:::caution Draft, not for publishing
-Open items before this post goes out:
-- **Release:** the post describes duckdb-hudi master. Cut the community 
release that ships it (v0.4.0), and replace the build hashes in the method box 
with the extension and hudi-rs release versions.
-- **Numbers are from a pre-release build:** master plus extension PRs #24 
(DuckDB 2.0.1) and #25 (hudi-rs main with the planning-read work), cold on S3, 
DuckDB 2.0.1 on both sides. `read_parquet` is 10 to 17 percent slower on DuckDB 
2.0.1 than on 2.0.0, so keep the DuckDB version next to every ratio. Warm 
numbers come from the same build, each query in its own process (measured with 
the hudi-rs TPC-H benchmark's DuckDB runner, hudi-rs#826 at 890159c; extension 
PR #26's tpch_warm.sh, whic [...]
-- **Rerun on the release:** re-measure the released build cold at SF1, SF10 
and SF100, then regenerate the chart, the table and the per-query foldout.
-- **Credentials:** the Cloud storage paragraph says v0.4.0 lists the table 
with the DuckDB secret, so an AWS profile or SSO login works. On master, 
hudi-rs still lists with its own credentials (`AWS_*` env vars or the instance 
role), and a laptop with only a profile or SSO fails to list. Land the fix in 
v0.4.0, and test it with an SSO profile, before publishing; otherwise change 
the paragraph back. Also confirm what the fix does for GCS and Azure.
-- **Trademarks:** the DuckDB Foundation approved the DuckDB logo on the cover 
(2026-12-03). Keep the trademark line on the cover and at the end of the post.
-- **DuckDB versions:** the community page lists builds for DuckDB 1.5.6, 2.0.0 
and 2.0.1. The 1.5 line builds `c15d5e6` (v0.3.0 plus a build fix): `read_hudi` 
only, no `hudi_scan` name, none of the performance work. Decide whether v0.4.0 
also updates the 1.5 line; if so, simplify the version sentence in Getting 
Started. DuckDB 2.0.1 has no macOS AMD64 or Windows AMD64 build yet, so check 
those before claiming every platform on 2.0.1.
-- **Cold timing:** the cold harness (extension PR #26, which also holds the 
warm harness) creates the views before the timer, so table open is not in the 
cold times; the method box says so. Repoint the Harness permalink if #26 is 
squashed or rebased on merge.
-- Remove this note.
-:::
-*/}
-
 <div style={{ textAlign: 'center' }}>
   <img 
src="/assets/images/blog/2026-12-03-query-apache-hudi-tables-in-duckdb/1-cover.png"
 alt="Apache Hudi and DuckDB logos. Query Apache Hudi tables in DuckDB. INSTALL 
hudi FROM community;" width="720"/>
 </div>
@@ -88,7 +75,7 @@ CREATE SECRET (TYPE s3, PROVIDER credential_chain);
 SELECT count(*) FROM hudi_scan('s3://my-bucket/warehouse/trips');
 ```
 
-The extension reads the table with this secret, and reads the data files 
through DuckDB's file cache. The `credential_chain` provider picks up an AWS 
profile or an SSO login, as it does for `read_parquet` (supported in v0.4.0 and 
above). Earlier versions list the table's timeline and partitions with 
credentials from the standard `AWS_*` environment variables or the instance's 
[IAM 
role](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html).
 For [Google Cloud  [...]
+The extension reads the data files with this secret, through DuckDB's file 
cache. The table's timeline and partitions are listed with credentials from the 
standard `AWS_*` environment variables or the instance's [IAM 
role](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html).
 Listing with the secret, so that an AWS profile or an SSO login works on its 
own as it does for `read_parquet`, is coming in a future release. For [Google 
Cloud Storage](https://cloud.g [...]
 
 ### Python
 
@@ -300,17 +287,15 @@ A few queries still trail `read_parquet`, cold and warm, 
and upcoming releases t
 <details>
 <summary>How we measured</summary>
 
-{/* TODO: after rerunning on v0.4.0, replace the build hashes with the release 
version. */}
-
 - **Instance:** c6id.4xlarge (16 vCPUs, 32 GiB memory) in the same AWS region 
as the S3 bucket.
-- **Software:** DuckDB 2.0.1 with default settings (16 threads) for both 
readers. The `hudi` extension is built from commit 
[`bdd19db`](https://github.com/alitrack/duckdb-hudi/commit/bdd19db0e383eda79bff42b11bc21bc5b5835a52)
 with [#24](https://github.com/alitrack/duckdb-hudi/pull/24) (DuckDB 2.0.1) and 
[#25](https://github.com/alitrack/duckdb-hudi/pull/25) (hudi-rs 
[`5d46686e`](https://github.com/apache/hudi-rs/commit/5d46686e5479ed5f5a9866f66252a095920bf867)),
 the code for the upcoming  [...]
+- **Software:** DuckDB 2.0.1 with default settings (16 threads) for both 
readers. The `hudi` extension is 
[v0.4.0](https://github.com/alitrack/duckdb-hudi/tree/v0.4.0), on hudi-rs 
[`5d46686e`](https://github.com/apache/hudi-rs/commit/5d46686e5479ed5f5a9866f66252a095920bf867).
 - **Storage access:** both readers load `httpfs` and use the same 
`credential_chain` secret, as in [Cloud storage](#cloud-storage). `hudi_scan` 
reads data files through DuckDB's file system and file cache, as `read_parquet` 
does, and lists the table's timeline and partitions with hudi-rs's own client 
(the instance's IAM role here).
 - **Tables:** TPC-H, Copy-on-Write, written by Apache Hudi 1.1 on Apache Spark 
3.5 (table version 9) in one commit. Base files are Parquet with GZIP 
compression.
 - **Validation:** before timing, all 22 queries return the same results from 
`hudi_scan` and `read_parquet` at every scale factor.
 - **Cold runs:** each query runs in a fresh process. The views over the tables 
are created before the timer starts, which opens each table, so the time covers 
the query itself. `hudi_scan` and `read_parquet` alternate, in an order that 
rotates each round, for 4 rounds. We report each query's median, summed over 
the 22 queries.
 - **Warm runs:** each query runs in a fresh process, with the views created 
first as for cold runs. The query runs once, then 5 more times in the same 
process, and we report the median of those 5, summed over the 22 queries.
 - **Absolute times:** the times reflect GZIP, Hudi's default codec, and reads 
over the network. The same queries run faster on Snappy or ZSTD files, on local 
disk, or in DuckDB's own storage format.
-- **Harness:** 
[`tpch_cold.sh`](https://github.com/alitrack/duckdb-hudi/blob/2a936c263c562a64f923883e46ddd952bc0c130f/scripts/tpch_cold.sh)
 for cold runs and 
[`tpch_warm.sh`](https://github.com/alitrack/duckdb-hudi/blob/2a936c263c562a64f923883e46ddd952bc0c130f/scripts/tpch_warm.sh)
 for warm runs, so anyone can reproduce these numbers (with the upcoming v0.4.0 
release of the extension).
+- **Harness:** 
[`tpch_cold.sh`](https://github.com/alitrack/duckdb-hudi/blob/187daca71311673b855611902fd2bd4bd243e410/scripts/tpch_cold.sh)
 for cold runs and 
[`tpch_warm.sh`](https://github.com/alitrack/duckdb-hudi/blob/187daca71311673b855611902fd2bd4bd243e410/scripts/tpch_warm.sh)
 for warm runs, so anyone can reproduce these numbers with v0.4.0 of the 
extension.
 
 </details>
 

Reply via email to