Skip to content

feat(parquet): add metrics for parquet reader observability#258

Merged
lucasfang merged 7 commits into
alibaba:mainfrom
duanyyyyyyy:duanyan/parquet_metrics
May 12, 2026
Merged

feat(parquet): add metrics for parquet reader observability#258
lucasfang merged 7 commits into
alibaba:mainfrom
duanyyyyyyy:duanyan/parquet_metrics

Conversation

@duanyyyyyyy
Copy link
Copy Markdown
Contributor

Add row groups, rows, batch count, and latency metrics to ParquetFileBatchReader, matching the observability level of the ORC reader.

Purpose

Linked issue: close #xxx

Tests

API and Format

Documentation

Generative AI tooling

Opus 4.6

duanyyyyyyy and others added 4 commits April 29, 2026 11:25
Add row groups, rows, batch count, and latency metrics to ParquetFileBatchReader,
matching the observability level of the ORC reader.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Move parquet read metric constants into the existing ParquetMetrics
class in parquet_format_defs.h, rather than defining a duplicate class
in a new header. Fixes build error introduced in d5a8bfa.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Comment thread src/paimon/format/parquet/parquet_format_defs.h
Comment thread src/paimon/format/parquet/parquet_file_batch_reader.cpp Outdated
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 12, 2026

CLA assistant check
All committers have signed the CLA.

…unter

Rename row_groups/batch.count to dot-hyphen convention (dot for hierarchy,
hyphen for words within a level). Remove READ_NEXT_BATCH_LATENCY_MS counter:
summing per-batch latency across prefetch sub-readers scales with parallelism
and does not reflect end-to-end latency.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@duanyyyyyyy duanyyyyyyy force-pushed the duanyan/parquet_metrics branch from d18e8a0 to 6c780fe Compare May 12, 2026 03:48
Copy link
Copy Markdown
Collaborator

@lxy-9602 lxy-9602 left a comment

Choose a reason for hiding this comment

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

+1

Copy link
Copy Markdown
Collaborator

@lucasfang lucasfang left a comment

Choose a reason for hiding this comment

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

+1

@lucasfang lucasfang merged commit 0dafd41 into alibaba:main May 12, 2026
9 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.

4 participants