Skip to content

Conversation

@lishuxu
Copy link
Contributor

@lishuxu lishuxu commented Jul 7, 2025

Note: Since the LoadTable interface needs to return a Table object that holds a shared_from_this pointer to the catalog, I remove InMemoryCatalog inheritance from Catalog and instead directly implement the interface in InMemoryCatalog.

shuxu.li and others added 30 commits July 3, 2025 19:45
…che#121)

Just looks like forget to use `allow_field_id_missing` in
`PartitionFieldFromJson(const nlohmann::json& json, bool
allow_field_id_missing)`

In v1 iceberg, we should allow field_id is missing.

---------

Signed-off-by: Smith Cruise <[email protected]>
…pache#123)

C++20 supports rewrite candidates, see
https://en.cppreference.com/w/cpp/language/overload_resolution.html#Call_to_an_overloaded_operator

> For `x != y`, all member, non-member, and built-in `operator==`s found
are added to the set, unless there is a matching `operator!=`.
Before implement expression, Primitive should be implemented. The spec
follows: https://iceberg.apache.org/spec/#schemas-and-data-types

In this patch, only few types of Literals is supported, including int,
long, float, double, boolean, string and binary.

TODO:
* [x] Implement detail logics about comparing 
* [x] Implement detail logics about castTo
* [x] ToString and printing logics
* [x] Tests

Would in other patch:
* More primitive type basic supports ( maybe without decimal now )
* Implement detail logics about serialize/deserialize

---------

Co-authored-by: Gang Wu <[email protected]>
- or expression
 - change negate return type form Result to Expression
 - add some tests
Literal can be used for partition values and default values
wgtmac and others added 6 commits July 3, 2025 19:45
Preliminary avro datum to arrow array data conversion support:
- Support projecting all primitive and nested types.
- Support missing fields (reading into null values).
- Support int->long and float->double promotion.
- Add test cases for all primitive and nested types.
@lishuxu lishuxu closed this Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants