[
https://issues.jboss.org/browse/TEIID-5153?page=com.atlassian.jira.plugin...
]
dalex dalex edited comment on TEIID-5153 at 11/30/17 11:28 AM:
---------------------------------------------------------------
Hi [~shawkins] it seems that I found a potential problem related to the new removal
algorithm introduced by you
in the RuleCollapseSource.removeUnnecessaryInlineView method. If I set in debug mode
RequestMessage.rowLimit field as 0 then
Teiid won't add a LIMIT clause in the end of original query (Request.generatePlan
method, a check on requestMsg.getRowLimit() > 0 expression) and
we get the same error which was described in TEIID-3846 issue. Could you please check in
additional?
To explain more precisely what is happening when we set rowLimit to 0: Teiid won't add
TupleLimit node with particular limit value over all nodes and the
RuleCollapseSource.removeUnnecessaryInlineView will remove some select symbols from a
project node.
was (Author: dalex005):
Hi [~shawkins] it seems that I found a potential problem related to the new removal
algorithm introduced by you
in the RuleCollapseSource.removeUnnecessaryInlineView method. If I set in debug mode
RequestMessage.rowLimit field as 0 then
Teiid won't add a LIMIT clause in the end of original query (Request.generatePlan
method, a check on requestMsg.getRowLimit() > 0 expression) and
we get the same error which was described in TEIID-3846 issue. Could you please check in
additional?
RAND function gives same results in view
----------------------------------------
Key: TEIID-5153
URL:
https://issues.jboss.org/browse/TEIID-5153
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 9.3.4
Environment: teiid-9.3.4 on WildFly Full 10.0.0.Final (WildFly Core
2.0.10.Final)
Reporter: dalex dalex
Assignee: Steven Hawkins
Priority: Critical
Fix For: 9.3.5, 10.1, 10.0.1
When using patched PostgreSQLExecutionFactory class to push down RAND function it starts
to give the same values in a view. I wanted to push down RAND function in PostgreSQL for a
while and noticed the bug related to identical values when using RAND function through a
select in a view.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)