You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by fo...@apache.org on 2025/08/27 09:29:20 UTC
(iceberg-cpp) branch main updated: refactor: rename util files from *_utils to *_util for consistency (#197)
This is an automated email from the ASF dual-hosted git repository.
fokko 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 9f13bac refactor: rename util files from *_utils to *_util for consistency (#197)
9f13bac is described below
commit 9f13bac62617e5b457be894e9f17eb89c78a0adb
Author: Li Feiyang <li...@zju.edu.cn>
AuthorDate: Wed Aug 27 17:29:16 2025 +0800
refactor: rename util files from *_utils to *_util for consistency (#197)
---
.github/workflows/cpp-linter.yml | 2 +-
src/iceberg/file_format.h | 2 +-
src/iceberg/transform_function.cc | 2 +-
src/iceberg/util/{string_utils.h => string_util.h} | 0
src/iceberg/util/{truncate_utils.h => truncate_util.h} | 0
test/CMakeLists.txt | 2 +-
test/{string_utils_test.cc => string_util_test.cc} | 2 +-
7 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/cpp-linter.yml b/.github/workflows/cpp-linter.yml
index 1100c65..8a3d4cc 100644
--- a/.github/workflows/cpp-linter.yml
+++ b/.github/workflows/cpp-linter.yml
@@ -39,7 +39,7 @@ jobs:
mkdir build && cd build
cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
cmake --build .
- - uses: cpp-linter/cpp-linter-action@d7155ea6699028b6b09b0457e26b3c5d73f0ed46
+ - uses: cpp-linter/cpp-linter-action@f91c446a32ae3eb9f98fef8c9ed4c7cb613a4f8a
id: linter
continue-on-error: true
env:
diff --git a/src/iceberg/file_format.h b/src/iceberg/file_format.h
index a54f196..0919cf0 100644
--- a/src/iceberg/file_format.h
+++ b/src/iceberg/file_format.h
@@ -27,7 +27,7 @@
#include "iceberg/iceberg_export.h"
#include "iceberg/result.h"
-#include "iceberg/util/string_utils.h"
+#include "iceberg/util/string_util.h"
namespace iceberg {
diff --git a/src/iceberg/transform_function.cc b/src/iceberg/transform_function.cc
index 0cc227e..b043c39 100644
--- a/src/iceberg/transform_function.cc
+++ b/src/iceberg/transform_function.cc
@@ -28,7 +28,7 @@
#include "iceberg/expression/literal.h"
#include "iceberg/type.h"
#include "iceberg/util/murmurhash3_internal.h"
-#include "iceberg/util/truncate_utils.h"
+#include "iceberg/util/truncate_util.h"
namespace iceberg {
diff --git a/src/iceberg/util/string_utils.h b/src/iceberg/util/string_util.h
similarity index 100%
rename from src/iceberg/util/string_utils.h
rename to src/iceberg/util/string_util.h
diff --git a/src/iceberg/util/truncate_utils.h b/src/iceberg/util/truncate_util.h
similarity index 100%
rename from src/iceberg/util/truncate_utils.h
rename to src/iceberg/util/truncate_util.h
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 287d839..8dbb3df 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -89,7 +89,7 @@ add_iceberg_test(util_test
formatter_test.cc
config_test.cc
visit_type_test.cc
- string_utils_test.cc)
+ string_util_test.cc)
if(ICEBERG_BUILD_BUNDLE)
add_iceberg_test(avro_test
diff --git a/test/string_utils_test.cc b/test/string_util_test.cc
similarity index 97%
rename from test/string_utils_test.cc
rename to test/string_util_test.cc
index 2347deb..4025881 100644
--- a/test/string_utils_test.cc
+++ b/test/string_util_test.cc
@@ -17,7 +17,7 @@
* under the License.
*/
-#include "iceberg/util/string_utils.h"
+#include "iceberg/util/string_util.h"
#include <gtest/gtest.h>