Skip to content

Commit 23c1260

Browse files
committed
1
1 parent 39724bb commit 23c1260

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

src/iceberg/json_internal.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,6 @@ ICEBERG_EXPORT Result<std::unique_ptr<SortOrder>> SortOrderFromJson(
7777

7878
/// \brief Deserializes a JSON object into an unbound `SortOrder` object.
7979
///
80-
/// This function parses the provided JSON and creates a `SortOrder` object without
81-
/// binding it to a schema. It does not validate the sort fields against any schema.
82-
///
8380
/// \param json The JSON object representing a `SortOrder`.
8481
/// \return An `expected` value containing either a `SortOrder` object or an error. If the
8582
/// JSON is malformed or missing expected fields, an error will be returned.
@@ -196,9 +193,6 @@ ICEBERG_EXPORT Result<std::unique_ptr<PartitionSpec>> PartitionSpecFromJson(
196193

197194
/// \brief Deserializes a JSON object into an unbound `PartitionSpec` object.
198195
///
199-
/// This function parses the provided JSON and creates a `PartitionSpec` object without
200-
/// binding it to a schema. It does not validate the partition fields against any schema.
201-
///
202196
/// \param json The JSON object representing a `PartitionSpec`.
203197
/// \return An `expected` value containing either a `PartitionSpec` object or an error. If
204198
/// the JSON is malformed or missing expected fields, an error will be returned.

src/iceberg/test/json_internal_test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ TEST(JsonInternalTest, PartitionSpec) {
175175
EXPECT_EQ(*spec, *parsed_spec_result.value());
176176
}
177177

178-
TEST(JsonInternalTest, SortOrderFromJsonUnbound) {
178+
TEST(JsonInternalTest, SortOrderFromJson) {
179179
auto identity_transform = Transform::Identity();
180180
SortField st1(5, identity_transform, SortDirection::kAscending, NullOrder::kFirst);
181181
SortField st2(7, identity_transform, SortDirection::kDescending, NullOrder::kLast);
@@ -186,7 +186,7 @@ TEST(JsonInternalTest, SortOrderFromJsonUnbound) {
186186
EXPECT_EQ(*sort_order, *parsed);
187187
}
188188

189-
TEST(JsonInternalTest, PartitionSpecFromJsonUnbound) {
189+
TEST(JsonInternalTest, PartitionSpecFromJson) {
190190
auto identity_transform = Transform::Identity();
191191
ICEBERG_UNWRAP_OR_FAIL(
192192
auto spec,

0 commit comments

Comments
 (0)