[JBoss JIRA] Created: (TEIIDDES-235) Order of operations problem in Designer
by Mark Drilling (JIRA)
Order of operations problem in Designer
---------------------------------------
Key: TEIIDDES-235
URL: https://jira.jboss.org/jira/browse/TEIIDDES-235
Project: Teiid Designer
Issue Type: Bug
Components: Transformations
Affects Versions: 6.0.0
Reporter: Mark Drilling
The following query when entered into the transformation editor:
select * from dips_view.cards LEFT OUTER JOIN CramerXRefData.CardTypes ON card = CardTypes.DIPS_CardType AND CramerXRefData.CardTypes.DIPS_ELEMTYPE IS NULL
OR card = CardTypes.DIPS_CardType AND CramerXRefData.CardTypes.DIPS_ELEMTYPE = device_pk
is parsed as;
SELECT
*
FROM
DIPS_View.Cards LEFT OUTER JOIN CramerXRefData.CardTypes ON ((CARD = DIPS_CARDTYPE) AND (DIPS_ELEMTYPE IS NULL)) OR ((CARD = DIPS_CARDTYPE) AND (DIPS_ELEMTYPE = Device_PK))
The ordering of different variations of CompoundCriteria are not preserved correctly.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 8 months
[JBoss JIRA] Commented: (TEIIDDES-256) Teiid is making column names upper case, even when specified as lower
by Paul Nittel (JIRA)
[ https://jira.jboss.org/jira/browse/TEIIDDES-256?page=com.atlassian.jira.p... ]
Paul Nittel commented on TEIIDDES-256:
--------------------------------------
Steve, the VDB was created using the latest Designer. (It's not an old one.) BTW, the definition of Q13 is:
SELECT c_count, COUNT(*) AS custdist FROM (SELECT TPCR.CUSTOMER.C_CUSTKEY, COUNT(O_ORDERKEY) AS c_count FROM TPCR.CUSTOMER LEFT OUTER JOIN TPCR.ORDERS ON TPCR.CUSTOMER.C_CUSTKEY = O_CUSTKEY AND O_COMMENT NOT LIKE '%special%requests%' GROUP BY TPCR.CUSTOMER.C_CUSTKEY) AS c_orders GROUP BY c_count
> Teiid is making column names upper case, even when specified as lower
> ---------------------------------------------------------------------
>
> Key: TEIIDDES-256
> URL: https://jira.jboss.org/jira/browse/TEIIDDES-256
> Project: Teiid Designer
> Issue Type: Bug
> Components: Transformations
> Affects Versions: 6.2.0
> Environment: Fedora 12, OpenJDK Server VM (build 14.0-b16, mixed mode), Teiid build 1/19/2010
> Reporter: Paul Nittel
> Attachments: TextMetadataTesting.zip
>
>
> I've got a transformation that defines two columns like this:
> SELECT
> c_count, COUNT(*) AS custdist
> FROM
> (SELECT C_CUSTKEY, COUNT(O_ORDERKEY) AS c_count FROM TPCR.CUSTOMER LEFT OUTER JOIN TPCR.ORDERS ON C_CUSTKEY = O_CUSTKEY AND O_COMMENT NOT LIKE '%special%requests%' GROUP BY C_CUSTKEY) AS c_orders
> GROUP BY c_count
> In the past, when queried (SELECT * FROM ...), the columns were spelled c_count and custdist. Now they're spelled C_COUNT and custdist. Do we now upcase column names that are not specified as an alias (or do we only preserve case on aliases)?
> I noticed this in AdminShell, but see the Designer is also doing it, so I'm thinking it's the query engine, not the tool. (Steve H. agreed it should still be lower case when queried.)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 12 months
[JBoss JIRA] Moved: (TEIIDDES-256) Teiid is making column names upper case, even when specified as lower
by Steven Hawkins (JIRA)
[ https://jira.jboss.org/jira/browse/TEIIDDES-256?page=com.atlassian.jira.p... ]
Steven Hawkins moved TEIID-935 to TEIIDDES-256:
-----------------------------------------------
Project: Teiid Designer (was: Teiid)
Key: TEIIDDES-256 (was: TEIID-935)
Component/s: Transformations
(was: Query Engine)
Affects Version/s: 7.0
(was: 7.0)
> Teiid is making column names upper case, even when specified as lower
> ---------------------------------------------------------------------
>
> Key: TEIIDDES-256
> URL: https://jira.jboss.org/jira/browse/TEIIDDES-256
> Project: Teiid Designer
> Issue Type: Bug
> Components: Transformations
> Affects Versions: 7.0
> Environment: Fedora 12, OpenJDK Server VM (build 14.0-b16, mixed mode), Teiid build 1/19/2010
> Reporter: Paul Nittel
> Assignee: Steven Hawkins
> Attachments: TextMetadataTesting.zip
>
>
> I've got a transformation that defines two columns like this:
> SELECT
> c_count, COUNT(*) AS custdist
> FROM
> (SELECT C_CUSTKEY, COUNT(O_ORDERKEY) AS c_count FROM TPCR.CUSTOMER LEFT OUTER JOIN TPCR.ORDERS ON C_CUSTKEY = O_CUSTKEY AND O_COMMENT NOT LIKE '%special%requests%' GROUP BY C_CUSTKEY) AS c_orders
> GROUP BY c_count
> In the past, when queried (SELECT * FROM ...), the columns were spelled c_count and custdist. Now they're spelled C_COUNT and custdist. Do we now upcase column names that are not specified as an alias (or do we only preserve case on aliases)?
> I noticed this in AdminShell, but see the Designer is also doing it, so I'm thinking it's the query engine, not the tool. (Steve H. agreed it should still be lower case when queried.)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 12 months
[JBoss JIRA] Updated: (TEIIDDES-256) Teiid is making column names upper case, even when specified as lower
by Steven Hawkins (JIRA)
[ https://jira.jboss.org/jira/browse/TEIIDDES-256?page=com.atlassian.jira.p... ]
Steven Hawkins updated TEIIDDES-256:
------------------------------------
Affects Version/s: 6.2.0
(was: 7.0)
> Teiid is making column names upper case, even when specified as lower
> ---------------------------------------------------------------------
>
> Key: TEIIDDES-256
> URL: https://jira.jboss.org/jira/browse/TEIIDDES-256
> Project: Teiid Designer
> Issue Type: Bug
> Components: Transformations
> Affects Versions: 6.2.0
> Environment: Fedora 12, OpenJDK Server VM (build 14.0-b16, mixed mode), Teiid build 1/19/2010
> Reporter: Paul Nittel
> Assignee: Steven Hawkins
> Attachments: TextMetadataTesting.zip
>
>
> I've got a transformation that defines two columns like this:
> SELECT
> c_count, COUNT(*) AS custdist
> FROM
> (SELECT C_CUSTKEY, COUNT(O_ORDERKEY) AS c_count FROM TPCR.CUSTOMER LEFT OUTER JOIN TPCR.ORDERS ON C_CUSTKEY = O_CUSTKEY AND O_COMMENT NOT LIKE '%special%requests%' GROUP BY C_CUSTKEY) AS c_orders
> GROUP BY c_count
> In the past, when queried (SELECT * FROM ...), the columns were spelled c_count and custdist. Now they're spelled C_COUNT and custdist. Do we now upcase column names that are not specified as an alias (or do we only preserve case on aliases)?
> I noticed this in AdminShell, but see the Designer is also doing it, so I'm thinking it's the query engine, not the tool. (Steve H. agreed it should still be lower case when queried.)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 12 months
[JBoss JIRA] Updated: (TEIIDDES-256) Teiid is making column names upper case, even when specified as lower
by Steven Hawkins (JIRA)
[ https://jira.jboss.org/jira/browse/TEIIDDES-256?page=com.atlassian.jira.p... ]
Steven Hawkins updated TEIIDDES-256:
------------------------------------
Assignee: (was: Steven Hawkins)
> Teiid is making column names upper case, even when specified as lower
> ---------------------------------------------------------------------
>
> Key: TEIIDDES-256
> URL: https://jira.jboss.org/jira/browse/TEIIDDES-256
> Project: Teiid Designer
> Issue Type: Bug
> Components: Transformations
> Affects Versions: 6.2.0
> Environment: Fedora 12, OpenJDK Server VM (build 14.0-b16, mixed mode), Teiid build 1/19/2010
> Reporter: Paul Nittel
> Attachments: TextMetadataTesting.zip
>
>
> I've got a transformation that defines two columns like this:
> SELECT
> c_count, COUNT(*) AS custdist
> FROM
> (SELECT C_CUSTKEY, COUNT(O_ORDERKEY) AS c_count FROM TPCR.CUSTOMER LEFT OUTER JOIN TPCR.ORDERS ON C_CUSTKEY = O_CUSTKEY AND O_COMMENT NOT LIKE '%special%requests%' GROUP BY C_CUSTKEY) AS c_orders
> GROUP BY c_count
> In the past, when queried (SELECT * FROM ...), the columns were spelled c_count and custdist. Now they're spelled C_COUNT and custdist. Do we now upcase column names that are not specified as an alias (or do we only preserve case on aliases)?
> I noticed this in AdminShell, but see the Designer is also doing it, so I'm thinking it's the query engine, not the tool. (Steve H. agreed it should still be lower case when queried.)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 12 months