[JBoss JIRA] (TEIID-4802) Not in with subquery does not work correctly
by Bram Gadeyne (JIRA)
[ https://issues.jboss.org/browse/TEIID-4802?page=com.atlassian.jira.plugin... ]
Bram Gadeyne updated TEIID-4802:
--------------------------------
Affects Version/s: 9.0.5
> Not in with subquery does not work correctly
> --------------------------------------------
>
> Key: TEIID-4802
> URL: https://issues.jboss.org/browse/TEIID-4802
> Project: Teiid
> Issue Type: Bug
> Affects Versions: 9.0.5, 9.1.4
> Reporter: Bram Gadeyne
> Assignee: Steven Hawkins
> Priority: Critical
> Attachments: query_plan_not_in.txt
>
>
> Hi,
> This query does not return any results where it should.
> {code:sql}
> select cl.*
> from izalert_clientstatus cl
> where cl.hostname not in (
> select WSidentifier from prod_U_PV_PClist
> )
> {code}
> This query is more or less equivalent to the one above but does return 23 results.
> {code:sql}
> select cl.hostname
> from izalert_clientstatus cl
> left join prod_U_PV_PClist pl on cl.hostname = pl.WSidentifier
> where pl.WSidentifier is null
> {code}
> hostname and wsidentifier are both String fields. In the clientstatus table it has a length of 255, in the other table 63. The values for hostname and wsidentifier are e.g. 'COSARA4' and 'PC-10360'
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (TEIID-4802) Not in with subquery does not work correctly
by Bram Gadeyne (JIRA)
[ https://issues.jboss.org/browse/TEIID-4802?page=com.atlassian.jira.plugin... ]
Bram Gadeyne updated TEIID-4802:
--------------------------------
Attachment: query_plan_not_in.txt
> Not in with subquery does not work correctly
> --------------------------------------------
>
> Key: TEIID-4802
> URL: https://issues.jboss.org/browse/TEIID-4802
> Project: Teiid
> Issue Type: Bug
> Affects Versions: 9.1.4
> Reporter: Bram Gadeyne
> Assignee: Steven Hawkins
> Priority: Critical
> Attachments: query_plan_not_in.txt
>
>
> Hi,
> This query does not return any results where it should.
> {code:sql}
> select cl.*
> from izalert_clientstatus cl
> where cl.hostname not in (
> select WSidentifier from prod_U_PV_PClist
> )
> {code}
> This query is more or less equivalent to the one above but does return 23 results.
> {code:sql}
> select cl.hostname
> from izalert_clientstatus cl
> left join prod_U_PV_PClist pl on cl.hostname = pl.WSidentifier
> where pl.WSidentifier is null
> {code}
> hostname and wsidentifier are both String fields. In the clientstatus table it has a length of 255, in the other table 63. The values for hostname and wsidentifier are e.g. 'COSARA4' and 'PC-10360'
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (TEIID-4802) Not in with subquery does not work correctly
by Bram Gadeyne (JIRA)
[ https://issues.jboss.org/browse/TEIID-4802?page=com.atlassian.jira.plugin... ]
Bram Gadeyne updated TEIID-4802:
--------------------------------
Description:
Hi,
This query does not return any results where it should.
{code:sql}
select cl.*
from izalert_clientstatus cl
where cl.hostname not in (
select WSidentifier from prod_U_PV_PClist
)
{code}
This query is more or less equivalent to the one above but does return 23 results.
{code:sql}
select cl.hostname
from izalert_clientstatus cl
left join prod_U_PV_PClist pl on cl.hostname = pl.WSidentifier
where pl.WSidentifier is null
{code}
hostname and wsidentifier are both String fields. In the clientstatus table it has a length of 255, in the other table 63. The values for hostname and wsidentifier are e.g. 'COSARA4' and 'PC-10360'
was:
Hi,
This query does not return any results where it should.
select cl.*
from izalert_clientstatus cl
where cl.hostname not in (
select WSidentifier from prod_U_PV_PClist
)
This query is more or less equivalent to the one above but does return 23 results.
select cl.hostname
from izalert_clientstatus cl
left join prod_U_PV_PClist pl on cl.hostname = pl.WSidentifier
where pl.WSidentifier is null
hostname and wsidentifier are both String fields. In the clientstatus table it has a length of 255, in the other table 63. The values for hostname and wsidentifier are e.g. 'COSARA4' and 'PC-10360'
> Not in with subquery does not work correctly
> --------------------------------------------
>
> Key: TEIID-4802
> URL: https://issues.jboss.org/browse/TEIID-4802
> Project: Teiid
> Issue Type: Bug
> Affects Versions: 9.1.4
> Reporter: Bram Gadeyne
> Assignee: Steven Hawkins
> Priority: Critical
>
> Hi,
> This query does not return any results where it should.
> {code:sql}
> select cl.*
> from izalert_clientstatus cl
> where cl.hostname not in (
> select WSidentifier from prod_U_PV_PClist
> )
> {code}
> This query is more or less equivalent to the one above but does return 23 results.
> {code:sql}
> select cl.hostname
> from izalert_clientstatus cl
> left join prod_U_PV_PClist pl on cl.hostname = pl.WSidentifier
> where pl.WSidentifier is null
> {code}
> hostname and wsidentifier are both String fields. In the clientstatus table it has a length of 255, in the other table 63. The values for hostname and wsidentifier are e.g. 'COSARA4' and 'PC-10360'
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (TEIID-4802) Not in with subquery does not work correctly
by Bram Gadeyne (JIRA)
Bram Gadeyne created TEIID-4802:
-----------------------------------
Summary: Not in with subquery does not work correctly
Key: TEIID-4802
URL: https://issues.jboss.org/browse/TEIID-4802
Project: Teiid
Issue Type: Bug
Affects Versions: 9.1.4
Reporter: Bram Gadeyne
Assignee: Steven Hawkins
Priority: Critical
Hi,
This query does not return any results where it should.
select cl.*
from izalert_clientstatus cl
where cl.hostname not in (
select WSidentifier from prod_U_PV_PClist
)
This query is more or less equivalent to the one above but does return 23 results.
select cl.hostname
from izalert_clientstatus cl
left join prod_U_PV_PClist pl on cl.hostname = pl.WSidentifier
where pl.WSidentifier is null
hostname and wsidentifier are both String fields. In the clientstatus table it has a length of 255, in the other table 63. The values for hostname and wsidentifier are e.g. 'COSARA4' and 'PC-10360'
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (TEIID-4523) CXF is not used by Salesforce BulkConnection
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-4523?page=com.atlassian.jira.plugin... ]
Ramesh Reddy updated TEIID-4523:
--------------------------------
Fix Version/s: 10.0
(was: 9.3)
> CXF is not used by Salesforce BulkConnection
> --------------------------------------------
>
> Key: TEIID-4523
> URL: https://issues.jboss.org/browse/TEIID-4523
> Project: Teiid
> Issue Type: Bug
> Components: Salesforce Connector
> Affects Versions: 8.12
> Reporter: Steven Hawkins
> Assignee: Ramesh Reddy
> Fix For: 10.0
>
>
> TEIID-3493 added the CXF transport, but it's not used by the salesforce BulkConnection. In v22 they make use of a static call, so we won't make a change there. With 34 we can extend the SalesforceConnectorConfig createConnection - but a HttpURLConnection is expected so this may not be straight-forward.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (TEIID-4523) CXF is not used by Salesforce BulkConnection
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-4523?page=com.atlassian.jira.plugin... ]
Steven Hawkins commented on TEIID-4523:
---------------------------------------
Yes, it didn't seem worth it to tackle at this time.
> CXF is not used by Salesforce BulkConnection
> --------------------------------------------
>
> Key: TEIID-4523
> URL: https://issues.jboss.org/browse/TEIID-4523
> Project: Teiid
> Issue Type: Bug
> Components: Salesforce Connector
> Affects Versions: 8.12
> Reporter: Steven Hawkins
> Assignee: Ramesh Reddy
> Fix For: 9.3
>
>
> TEIID-3493 added the CXF transport, but it's not used by the salesforce BulkConnection. In v22 they make use of a static call, so we won't make a change there. With 34 we can extend the SalesforceConnectorConfig createConnection - but a HttpURLConnection is expected so this may not be straight-forward.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (TEIID-4523) CXF is not used by Salesforce BulkConnection
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-4523?page=com.atlassian.jira.plugin... ]
Ramesh Reddy commented on TEIID-4523:
-------------------------------------
I am beginning to question whether this is worth the effort. For most of the operations that are batch in Teiid are insert/update/delete. The submission of the operations seemed to be over the configured transport, where are job checking and result fetching done over the HTTPURLConnection. Typically results are small, as these are update counts.
In order to use CXF transport, we would need to override and implement HTTPURLConnection, with CXF libraries for connection and communication. On top of it, the abstraction at SF library level seems to go beyond just connection, so we would need to copy some of their code into Teiid (heades, gzip etc).
> CXF is not used by Salesforce BulkConnection
> --------------------------------------------
>
> Key: TEIID-4523
> URL: https://issues.jboss.org/browse/TEIID-4523
> Project: Teiid
> Issue Type: Bug
> Components: Salesforce Connector
> Affects Versions: 8.12
> Reporter: Steven Hawkins
> Assignee: Ramesh Reddy
> Fix For: 9.3
>
>
> TEIID-3493 added the CXF transport, but it's not used by the salesforce BulkConnection. In v22 they make use of a static call, so we won't make a change there. With 34 we can extend the SalesforceConnectorConfig createConnection - but a HttpURLConnection is expected so this may not be straight-forward.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years