|
|
Choosing A Webhost: |
[jira] Commented: (DERBY-131) AVG precision is INTEGER instead of DOUBLE: msg#00331apache.db.derby.devel
[ http://issues.apache.org/jira/browse/DERBY-131?page=comments#action_58060 ] Rainer Gemulla commented on DERBY-131: -------------------------------------- Maybe you are right. I quickly checked the AVG() function in commercial database systems. IBM DB2 returns an integer (as Derby), while Oracle returns a double. Therefore, maybe it's best to leave it as it is. But, most probably, users will not be aware of this behaviour and therefore they may not get the results they expected. > AVG precision is INTEGER instead of DOUBLE > ------------------------------------------ > > Key: DERBY-131 > URL: http://issues.apache.org/jira/browse/DERBY-131 > Project: Derby > Type: Bug > Components: SQL > Versions: 10.0.2.1 > Reporter: Rainer Gemulla > > The AVG aggregator returns an INTEGER value, if the data tyoe of the > respective attribute is INTEGER. This is wrong, because the average of a set > of integers is not always an integer, too. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [jira] Commented: (DERBY-131) AVG precision is INTEGER instead of DOUBLE, Satheesh Bandaram (JIRA) |
|---|---|
| Next by Date: | Re: On DERBY-107 : ODBC Metadata functions, Army |
| Previous by Thread: | [jira] Commented: (DERBY-131) AVG precision is INTEGER instead of DOUBLE, Satheesh Bandaram (JIRA) |
| Next by Thread: | [jira] Commented: (DERBY-18) Exposed name matching has bugs when the column name is qualified with a schema name., Shreyas Kaushik (JIRA) |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |