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

gangwu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-cpp.git


The following commit(s) were added to refs/heads/main by this push:
     new 35d3006e fix: fix grammar errors in comments (#569)
35d3006e is described below

commit 35d3006efa0b479a84a526c41452a9f06d61e765
Author: Xinli Shang <[email protected]>
AuthorDate: Sun Feb 22 06:38:41 2026 -0800

    fix: fix grammar errors in comments (#569)
    
    ## Summary
    - Fix "A metadata about" -> "Metadata about" in `statistics_file.h`
    (metadata is uncountable)
    - Fix "a inclusive" -> "an inclusive" in `inclusive_metrics_evaluator.h`
    - Fix "a estimated" -> "an estimated" in `gzip_internal.cc`
    
    ## Test plan
    - No functional changes, comment-only fixes
    - Build verified locally
    
    Co-authored-by: shangxinli <[email protected]>
---
 src/iceberg/expression/inclusive_metrics_evaluator.h | 2 +-
 src/iceberg/statistics_file.h                        | 2 +-
 src/iceberg/util/gzip_internal.cc                    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/iceberg/expression/inclusive_metrics_evaluator.h 
b/src/iceberg/expression/inclusive_metrics_evaluator.h
index 1887b339..42c5b5a4 100644
--- a/src/iceberg/expression/inclusive_metrics_evaluator.h
+++ b/src/iceberg/expression/inclusive_metrics_evaluator.h
@@ -48,7 +48,7 @@ namespace iceberg {
 
 class ICEBERG_EXPORT InclusiveMetricsEvaluator {
  public:
-  /// \brief Make a inclusive metrics evaluator
+  /// \brief Make an inclusive metrics evaluator
   ///
   /// \param expr The expression to evaluate
   /// \param schema The schema of the table
diff --git a/src/iceberg/statistics_file.h b/src/iceberg/statistics_file.h
index 38cbb2d3..37a5b80b 100644
--- a/src/iceberg/statistics_file.h
+++ b/src/iceberg/statistics_file.h
@@ -31,7 +31,7 @@
 
 namespace iceberg {
 
-/// \brief A metadata about a statistics or indices blob
+/// \brief Metadata about a statistics or indices blob
 struct ICEBERG_EXPORT BlobMetadata {
   /// Type of the blob
   std::string type;
diff --git a/src/iceberg/util/gzip_internal.cc 
b/src/iceberg/util/gzip_internal.cc
index 86c8dd76..680e2bc3 100644
--- a/src/iceberg/util/gzip_internal.cc
+++ b/src/iceberg/util/gzip_internal.cc
@@ -61,7 +61,7 @@ class ZlibImpl {
     stream_.avail_in = static_cast<uInt>(compressed_data.size());
     stream_.next_in = 
reinterpret_cast<Bytef*>(const_cast<char*>(compressed_data.data()));
 
-    // TODO(xiao.dong) magic buffer, can we get a estimated size from 
compressed data?
+    // TODO(xiao.dong) magic buffer, can we get an estimated size from 
compressed data?
     std::vector<char> out_buffer(32 * 1024);
     std::string result;
     int ret = 0;

Reply via email to