Skip to content

Commit

Permalink
fix(source): workaround avro date default (#13530)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangjinwu authored Nov 21, 2023
1 parent 3507006 commit b720609
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified scripts/source/test_data/avro_bin.1
Binary file not shown.
2 changes: 1 addition & 1 deletion src/connector/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ normal = ["workspace-hack"]

[dependencies]
anyhow = "1"
apache-avro = { git = "https://github.com/risingwavelabs/avro", rev = "b251943586e7fe7dd52319fc84f8be47921434aa", features = [
apache-avro = { git = "https://github.com/risingwavelabs/avro", rev = "d0846a16ce813a225af04ade35b3b8117b137a29", features = [
"snappy",
"zstandard",
"bzip",
Expand Down
3 changes: 2 additions & 1 deletion src/connector/src/test_data/simple-schema.avsc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
{
"name": "entrance_date",
"type": "int",
"logicalType": "date"
"logicalType": "date",
"default": 0
},
{
"name": "birthday",
Expand Down

0 comments on commit b720609

Please sign in to comment.