AVRO-2837: DecimalConversion handling of scale and precision (#884)

* AVRO-2837: DecimalConversion handling of scale and precision

Improve the handling to check precision and not error if scale
of value is less

* AVRO-2837: DecimalConversion handling of scale and precision

Scale needs to be set correctly for serialization in order to
deserialize as expected. Added additional tests and extended
error messages
2 files changed
tree: fe1f96687d944ab48dadc64209cce1410a80d34d
  1. .github/
  2. .travis/
  3. doc/
  4. lang/
  5. share/
  6. .asf.yaml
  7. .editorconfig
  8. .gitignore
  9. .travis.yml
  10. .yamllint.yml
  11. BUILD.md
  12. build.sh
  13. composer.json
  14. DIST_README.txt
  15. LICENSE.txt
  16. NOTICE.txt
  17. pom.xml
  18. README.md
README.md

Build Status

Apache Avro™

Apache Avro™ is a data serialization system.

Learn more about Avro, please visit our website at:

https://avro.apache.org/

To contribute to Avro, please read:

https://cwiki.apache.org/confluence/display/AVRO/How+To+Contribute