[jira] [Commented] (AVRO-1861) Avro Schema parser treats Avro float type as Java Double for default values

2016-10-04 Thread Gabor Szadovszky (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15544838#comment-15544838 ] Gabor Szadovszky commented on AVRO-1861: One fix for both. > Avro Schema parser treats Avro float

[jira] [Commented] (AVRO-1861) Avro Schema parser treats Avro float type as Java Double for default values

2016-10-04 Thread Gabor Szadovszky (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15544668#comment-15544668 ] Gabor Szadovszky commented on AVRO-1861: You are absolutely right. I just wanted to resolve this

[jira] [Commented] (AVRO-1861) Avro Schema parser treats Avro float type as Java Double for default values

2016-10-03 Thread Ryan Blue (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15542660#comment-15542660 ] Ryan Blue commented on AVRO-1861: - Since the Avro type is float, can't we just cast the double to a float?

[jira] [Commented] (AVRO-1861) Avro Schema parser treats Avro float type as Java Double for default values

2016-10-03 Thread Gabor Szadovszky (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15542143#comment-15542143 ] Gabor Szadovszky commented on AVRO-1861: Fix needs the Jackson class FloatNode which added in 2.2.

[jira] [Commented] (AVRO-1861) Avro Schema parser treats Avro float type as Java Double for default values

2016-06-09 Thread Ryan Blue (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15322882#comment-15322882 ] Ryan Blue commented on AVRO-1861: - Sounds reasonable to me. If you want to submit a PR for this, I'll

[jira] [Commented] (AVRO-1861) Avro Schema parser treats Avro float type as Java Double for default values

2016-06-06 Thread Andy Mok (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15317574#comment-15317574 ] Andy Mok commented on AVRO-1861: Another issue is that Jackson always returns a