-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feat](iceberg)Supports using rest type catalog to read tables in unity catalog for 2.1 (#43525) #45217
Conversation
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
run buildall |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
@@ -147,6 +150,14 @@ Status FieldDescriptor::parse_from_thrift(const std::vector<tparquet::SchemaElem | |||
return Status::OK(); | |||
} | |||
|
|||
const doris::Slice FieldDescriptor::get_column_name_from_field_id(int32_t id) const { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: return type 'const doris::Slice' is 'const'-qualified at the top level, which may reduce code readability without improving const correctness [readability-const-return-type]
const doris::Slice FieldDescriptor::get_column_name_from_field_id(int32_t id) const { | |
doris::Slice FieldDescriptor::get_column_name_from_field_id(int32_t id) const { |
be/src/vec/exec/format/parquet/schema_desc.h:136:
- const doris::Slice get_column_name_from_field_id(int32_t id) const;
+ doris::Slice get_column_name_from_field_id(int32_t id) const;
// This is for iceberg schema evolution. | ||
std::vector<tparquet::KeyValue> ParquetReader::get_metadata_key_values() { | ||
return _t_metadata->key_value_metadata; | ||
const FieldDescriptor ParquetReader::get_file_metadata_schema() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: return type 'const std::doris::vectorized::FieldDescriptor' is 'const'-qualified at the top level, which may reduce code readability without improving const correctness [readability-const-return-type]
const FieldDescriptor ParquetReader::get_file_metadata_schema() { | |
FieldDescriptor ParquetReader::get_file_metadata_schema() { |
be/src/vec/exec/format/parquet/vparquet_reader.h:150:
- const FieldDescriptor get_file_metadata_schema();
+ FieldDescriptor get_file_metadata_schema();
TeamCity be ut coverage result: |
run buildall |
TeamCity be ut coverage result: |
run buildall |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
TeamCity be ut coverage result: |
bp: #43525