[
https://issues.apache.org/jira/browse/METAMODEL-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14206090#comment-14206090
]
Kasper Sørensen commented on METAMODEL-95:
------------------------------------------
Oh, very nice unittests too! I'll commit this. Thank you very much for this
good contribution, Harel!
> Salesforce - Query for column of type double always return value 1
> ------------------------------------------------------------------
>
> Key: METAMODEL-95
> URL: https://issues.apache.org/jira/browse/METAMODEL-95
> Project: Metamodel
> Issue Type: Bug
> Affects Versions: 4.2.0-incubating
> Reporter: Harel E.
> Assignee: Kasper Sørensen
> Attachments: METAMODEL-95.patch
>
>
> I performed a query for a table, which contains columns of type double.
> The result for these columns was always 1, regardless of the actual value.
> I verified the actual value by using Salesforce developer console.
> I tracked the bug to SalesforceDataSet:111
> if (columnType.isNumber()) {
> return NumberComparator.toNumber(columnType.isNumber());
> }
> should be:
> if (columnType.isNumber()) {
> return NumberComparator.toNumber(value);
> }
> Another option for a fix is to use the ColumnType.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)