We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11126f9 commit dbb3e92Copy full SHA for dbb3e92
src/iceberg/schema.cc
@@ -356,7 +356,8 @@ Result<std::unique_ptr<Schema>> Schema::Select(std::span<const std::string> name
356
bool case_sensitive) const {
357
const std::string kAllColumns = "*";
358
if (std::ranges::find(names, kAllColumns) != names.end()) {
359
- return std::make_unique<Schema>(*this);
+ auto struct_type = ToStructType(*this);
360
+ return FromStructType(std::move(*struct_type), std::nullopt);
361
}
362
363
std::unordered_set<int32_t> selected_ids;
0 commit comments