-
Notifications
You must be signed in to change notification settings - Fork 166
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
arrow/schema:new func convert_schema
for ArrowSchemaConverter
#539
base: main
Are you sure you want to change the base?
arrow/schema:new func convert_schema
for ArrowSchemaConverter
#539
Conversation
…ceberg field Signed-off-by: Shirly <[email protected]>
Signed-off-by: Shirly <[email protected]>
Signed-off-by: Shirly <[email protected]>
Signed-off-by: Shirly <[email protected]>
4b84ead
to
4bab395
Compare
convert_fields
to convert arrow field to iceberg fieldconvert_schema
for ArrowSchemaConverter
Hi, @AndreMouche Thanks for your contribution, I have some concerns for this pr:
Is there any performance number to comprare these two methods? Also please note that |
Comparison of bench test results between current PR and master branches:
master @ #567
|
make sense to me. However, I still have few question about it. Now it seems that we could use Meanwhile, about the interface iceberg-rust/crates/iceberg/src/arrow/schema.rs Lines 96 to 108 in a1ec0fa
For example, we already know |
friendly ping @Xuanwo @liurenjie1024 |
Hi, @AndreMouche Sorry for late reply. It seems that the benchmark result shows that there is no critial performance change?
Sory I don't get your point.
I think this is a good suggestion. However, there are several kinds of lists in arrow, for example
I totally agree that we should add some doc for new contributors. |
This PR do the following two things for
ArrowSchemaConverter
struct:match
operations that could have a negative impact on performance.Meanwhile, I have no idea about the trait
ArrowSchemaVisitor
, it seems try to keep some middle variable for functions likebefore_XXX
andafter_XXX
, could anyone please provide some example for it?