Skip to content

Commit 156c90e

Browse files
committed
fix unsorted order id
1 parent 9c096d6 commit 156c90e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/iceberg/sort_order.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ SortOrder::SortOrder(int32_t order_id, std::vector<SortField> fields)
3131

3232
const std::shared_ptr<SortOrder>& SortOrder::Unsorted() {
3333
static const std::shared_ptr<SortOrder> unsorted =
34-
std::make_shared<SortOrder>(kInitialSortOrderId, std::vector<SortField>{});
34+
std::make_shared<SortOrder>(/*order_id=*/0, std::vector<SortField>{});
3535
return unsorted;
3636
}
3737

0 commit comments

Comments
 (0)