Github user vruusmann commented on the pull request:
https://github.com/apache/spark/pull/9057#issuecomment-152766663
The value of the `TargetValueCount@value` attribute must equal some
**valid** value of the target `DataField` element (as defined by
`DataField/Value@value` attribute). For double data type, the equality is
defined by method `Double#equals(Object)`. So, it should be perfectly OK to use
literal `1.0` in one place and `1` in the other place - they represent the same
numeric value after all.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]