You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by "Kasper Sørensen (JIRA)" <ji...@apache.org> on 2014/11/11 08:58:34 UTC
[jira] [Resolved] (METAMODEL-95) Salesforce - Query for column of
type double always return value 1
[ 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)