db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Wheeldon (JIRA)" <derby-...@db.apache.org>
Subject [jira] Created: (DERBY-1809) Built-in functions not working in views.
Date Sat, 02 Sep 2006 19:23:22 GMT
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:
            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;

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.

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


View raw message