db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajesh Kartha (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-1809) Built-in functions not working in views.
Date Wed, 06 Sep 2006 01:00:23 GMT
     [ http://issues.apache.org/jira/browse/DERBY-1809?page=all ]

Rajesh Kartha updated DERBY-1809:
---------------------------------

    Affects Version/s: 10.2.1.0
                       10.2.2.0

The issue exists in 10.2 also,  updating the Affects Verisons accordingly.

> 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.3.0.0, 10.2.1.0, 10.2.2.0
>            Reporter: Richard Wheeldon
>         Attachments: broken.sql, 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

        

Mime
View raw message