Skip to content
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

timestamp logical types from numerical types #210

Open
the4thamigo-uk opened this issue May 18, 2020 · 0 comments
Open

timestamp logical types from numerical types #210

the4thamigo-uk opened this issue May 18, 2020 · 0 comments

Comments

@the4thamigo-uk
Copy link

Currently, if I try to convert an int in a native golang type to a timestamp-millis in AVRO, I get an error. It seems like only time.Time can be converted to timestamp-millis. This seems quite restrictive, as all the numeric types should be able to be coerced to int64 and then to timestamp-millis.

I have a fix for this, would you be amenable to a PR for this behaviour?

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

No branches or pull requests

1 participant