Skip to content

Commit 35d3006

Browse files
authored
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 <shangxinli@users.noreply.github.com>
1 parent 56d7ccd commit 35d3006

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/iceberg/expression/inclusive_metrics_evaluator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ namespace iceberg {
4848

4949
class ICEBERG_EXPORT InclusiveMetricsEvaluator {
5050
public:
51-
/// \brief Make a inclusive metrics evaluator
51+
/// \brief Make an inclusive metrics evaluator
5252
///
5353
/// \param expr The expression to evaluate
5454
/// \param schema The schema of the table

src/iceberg/statistics_file.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
namespace iceberg {
3333

34-
/// \brief A metadata about a statistics or indices blob
34+
/// \brief Metadata about a statistics or indices blob
3535
struct ICEBERG_EXPORT BlobMetadata {
3636
/// Type of the blob
3737
std::string type;

src/iceberg/util/gzip_internal.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class ZlibImpl {
6161
stream_.avail_in = static_cast<uInt>(compressed_data.size());
6262
stream_.next_in = reinterpret_cast<Bytef*>(const_cast<char*>(compressed_data.data()));
6363

64-
// TODO(xiao.dong) magic buffer, can we get a estimated size from compressed data?
64+
// TODO(xiao.dong) magic buffer, can we get an estimated size from compressed data?
6565
std::vector<char> out_buffer(32 * 1024);
6666
std::string result;
6767
int ret = 0;

0 commit comments

Comments
 (0)