[teiid-issues] [JBoss JIRA] Updated: (TEIID-7) Control of BigDecimal precision and scale
Steven Hawkins (JIRA)
jira-events at lists.jboss.org
Tue Jan 26 11:13:20 EST 2010
[ https://jira.jboss.org/jira/browse/TEIID-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Hawkins updated TEIID-7:
-------------------------------
Fix Version/s: 7.1
(was: 7.0)
Pushing to 7.1
> Control of BigDecimal precision and scale
> -----------------------------------------
>
> Key: TEIID-7
> URL: https://jira.jboss.org/jira/browse/TEIID-7
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: 8.x
> Reporter: Jerry Helbling
> Priority: Minor
> Fix For: 7.1
>
>
> Problem 1: The parser defaults to parsing literals that look like bigdecimal as doubles, which have no scale.
> Workaround (which is on devcentral): You can avoid the above conversions by wrapping the values in a convert in the query (example: "convert('123.00', BigDecimal )").
> A better fix is update the parser to look for loss of scale information and to use the bigdecimal type instead.
> Problem 2: default division behavior JBEDSP-305
> Problem 3: No explicit control via the parser
> It would be good to provide explicit precision and scale via "convert(xxx, BigDecimal(10, 2))" - side note bigdecimal is a bad name for this type. it should really just be decimal
> Reference: This is related to Issue Tracker Issue 175485.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the teiid-issues
mailing list