Harel E. created METAMODEL-95:
---------------------------------
Summary: 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.
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)