encoding a field defined as the date logicalType? #174
Answered
by
dasch
minukmarkchoi
asked this question in
Q&A
-
Hello everyone, I am getting an error when defining a logicalType for date and trying to encode it. I get NoMethodError:
undefined method `-' for "2022-03-04":String I have a snippet of the spec test in this gist: https://gist.github.com/minukmarkchoi/956a4192e45db42fb31f98c89e14e5e6 I'd love to see an example of how to use Thanks in advance! Mark |
Beta Was this translation helpful? Give feedback.
Answered by
dasch
Sep 6, 2022
Replies: 1 comment 1 reply
-
Dates were not supported by the Ruby version of Avro when AvroTurf was written; you can write a PR that implements support, if you'd like? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dasch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dates were not supported by the Ruby version of Avro when AvroTurf was written; you can write a PR that implements support, if you'd like?