Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Fix avro serialize #261

Merged
merged 5 commits into from
Jan 15, 2024
Merged

Fix avro serialize #261

merged 5 commits into from
Jan 15, 2024

Conversation

ZENOTME
Copy link
Contributor

@ZENOTME ZENOTME commented Dec 29, 2023

No description provided.

@liurenjie1024
Copy link
Contributor

Please rebase main branch and try again. cc @ZENOTME

@ZENOTME
Copy link
Contributor Author

ZENOTME commented Jan 8, 2024

Please rebase main branch and try again. cc @ZENOTME

We need sync avro with main (to get the fix of custom attribute in RecordField) and an extra commit to fix list and map🥵.

@ZENOTME ZENOTME marked this pull request as ready for review January 12, 2024 08:18
Copy link
Contributor

@liurenjie1024 liurenjie1024 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally LGTM, thanks!

@@ -11,7 +11,7 @@ resolver = "2"
anyhow = "1"
async-trait = "0.1"
# branch is icelake-dev
apache-avro = { git = "https://github.com/icelake-io/avro.git", rev = "4866a4ad0ed5d6af7160c9b52af898ab6d0551f9", features = ["derive"] }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use rev to pin to a version, otherwise downstream project maybe affected when we push changes to branch.

con1 = t1.scan().to_duckdb(table_name="t1")
con2 = t2.scan().to_duckdb(table_name="t2")

res1 = con1.execute("SELECT * from t1").fetchall()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we consider add order by here to ensure correctness?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I use sort below.

Copy link
Contributor

@liurenjie1024 liurenjie1024 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@ZENOTME ZENOTME merged commit 32c0bbf into main Jan 15, 2024
4 checks passed
@ZENOTME ZENOTME deleted the fix_avro branch January 15, 2024 07:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants