[ 
https://issues.apache.org/jira/browse/METAMODEL-95?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kasper Sørensen resolved METAMODEL-95.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 4.3.0-incubating

Fixed as of commit fff3a930dc2ab6c4540cc22e96ef4c019f8e290b

> 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
>             Fix For: 4.3.0-incubating
>
>         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)

Reply via email to