[teiid-issues] [JBoss JIRA] (TEIID-2354) Inherent insert using WHERE partitioning is incomplete

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Fri Jan 18 12:56:21 EST 2013


Steven Hawkins created TEIID-2354:
-------------------------------------

             Summary: Inherent insert using WHERE partitioning is incomplete
                 Key: TEIID-2354
                 URL: https://issues.jboss.org/browse/TEIID-2354
             Project: Teiid
          Issue Type: Bug
          Components: Query Engine
    Affects Versions: 7.7
            Reporter: Steven Hawkins
            Assignee: Steven Hawkins
             Fix For: 8.3


Using a metadata structure such as:

create foreign table b (custid integer, field1 varchar) options updatable true)
create view c options (updatable true) as select * from b where custid = 1 union all select * from b where custid = 2;

will fail to process INSERT into c (custid, field1) values (1, 'foo')

because a null value will be inserted into be for the custid field.  The logic is treating the WHERE partitioning as if it were projected literals from the SELECT cause inappropriately.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list