-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
Changed Avro type for Python int to long #83
Conversation
Haven't actually ensured unit tests pass, brb... |
Codecov Report
@@ Coverage Diff @@
## master #83 +/- ##
=======================================
Coverage 99.50% 99.50%
=======================================
Files 7 7
Lines 607 608 +1
Branches 93 93
=======================================
+ Hits 604 605 +1
Misses 1 1
Partials 2 2
Continue to review full report at Codecov.
|
Hi @panasenco , Thanks for the PR. Make sense your changes. I am wondering whether this can break the current process of the users. I Think won't be a problem as
With this changes the resulting schema will replace |
Hey Marcos, Honestly, the change will probably be breaking some existing schemas if people upgrade without reading the changelog. However, I think that even those people will agree the change is necessary. I was testing the schema with an integer like 12345678950 and was getting an overflow when using Kafka Connect to write to a SQL table. When people work with Python they expect practically unlimited integers and double-precision floats, because that's what Python has. I think the benefits far outweigh the risks on this one. :) Aram |
That said, I went ahead and added some notices in big letters for people checking out the GitHub page and the documentation so that they are unlikely to miss it before upgrading. |
Cool! Let's merge it! Thanks! |
... and Avro type for Python float to double.
Reasoning: