[teiid-issues] [JBoss JIRA] (TEIID-5821) Allow insert expressions that can be pushed to be pushed
Steven Hawkins (Jira)
issues at jboss.org
Thu Oct 3 09:27:00 EDT 2019
[ https://issues.jboss.org/browse/TEIID-5821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Hawkins resolved TEIID-5821.
-----------------------------------
Resolution: Done
The optimizer already had logic to not be over zealous with function evaluation for query expressions - so that logic is now run for all commands.
> Allow insert expressions that can be pushed to be pushed
> --------------------------------------------------------
>
> Key: TEIID-5821
> URL: https://issues.jboss.org/browse/TEIID-5821
> Project: Teiid
> Issue Type: Enhancement
> Components: Query Engine
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Priority: Major
> Fix For: 13.0, 12.3.1
>
>
> Insert expressions are always being pre-evaluated. For example with:
> create foreign table t (col object) options (updatable true);
> create foreign function foo (param string) returns object;
> Executing:
> insert into t (col) values (foo('1'))
> will be split into two source executions - one to evaluate the function and another to perform the insert.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the teiid-issues
mailing list