You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Daniel John Debrunner (JIRA)" <de...@db.apache.org> on 2006/09/16 00:09:23 UTC

[jira] Resolved: (DERBY-1809) Built-in functions not working in views.

     [ http://issues.apache.org/jira/browse/DERBY-1809?page=all ]

Daniel John Debrunner resolved DERBY-1809.
------------------------------------------

    Fix Version/s: 10.2.1.0
       Resolution: Fixed

> Built-in functions not working in views.
> ----------------------------------------
>
>                 Key: DERBY-1809
>                 URL: http://issues.apache.org/jira/browse/DERBY-1809
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.2.1.0, 10.3.0.0
>            Reporter: Richard Wheeldon
>         Assigned To: Daniel John Debrunner
>             Fix For: 10.2.1.0, 10.3.0.0
>
>         Attachments: broken.sql, derby1809_diff.txt, working.sql
>
>
> The built-in functions acos, asin, degrees, radians, log, floor, etc. all fail to work when used in views. The following transcript demonstrates the problem:
> ij version 10.3
> ij> connect 'jdbc:derby:test;create=true';
> ij> create table simple_tab (
>   x integer
> );
> 0 rows inserted/updated/deleted
> ij> insert into simple_tab values (1);
> 1 row inserted/updated/deleted
> ij> select acos(x) y from simple_tab;
> Y                     
> ----------------------
> 0.0                   
> 1 row selected
> ij> create view simple_acos_view as (
> 	select acos(x) y from simple_tab
> );
> ERROR 42X94: OBJECT '2fb0c07e-010d-6f90-2909-00000012ff18' does not exist.
> ij> 
> quit;

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira