[MCOL-40] queries/working_tpch1_compareLogOnly/windowFunctions fails Created: 2016-05-05  Updated: 2016-06-11  Resolved: 2016-06-04

Status: Closed
Project: MariaDB ColumnStore
Component/s: regression suite
Affects Version/s: None
Fix Version/s: 1.0.0

Type: Task Priority: Major
Reporter: Dipti Joshi (Inactive) Assignee: Vladislav Vaintroub
Resolution: Duplicate Votes: 0
Labels: None


 Description   

All the queries are failing in queries/working_tpch1_compareLogOnly/windowFunctions



 Comments   
Comment by Vladislav Vaintroub [ 2016-05-06 ]

windowFunctions/misc/bug5366_01.sql

  • select * from region where (r_regionkey+1) in (select min(n_regionkey) over() from nation where r_regionkey=n_regionkey);

gives back 25 rows (a lot of duplicates). Since the query is in form "select * from <table> where <condition>" it should not return more rows than there are in the table, which is 5 for the table region

-------------------------------------------------------------------------------------------------------------------------------------------+

r_regionkey r_name r_comment

-------------------------------------------------------------------------------------------------------------------------------------------

0 AFRICA lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
0 AFRICA lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
0 AFRICA lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
0 AFRICA lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
0 AFRICA lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 AMERICA hs use ironic, even requests. s
1 AMERICA hs use ironic, even requests. s
1 AMERICA hs use ironic, even requests. s
1 AMERICA hs use ironic, even requests. s
1 AMERICA hs use ironic, even requests. s
2 ASIA ges. thinly even pinto beans ca
2 ASIA ges. thinly even pinto beans ca
2 ASIA ges. thinly even pinto beans ca
2 ASIA ges. thinly even pinto beans ca
2 ASIA ges. thinly even pinto beans ca
3 EUROPE ly final courts cajole furiously final excuse
3 EUROPE ly final courts cajole furiously final excuse
3 EUROPE ly final courts cajole furiously final excuse
3 EUROPE ly final courts cajole furiously final excuse
3 EUROPE ly final courts cajole furiously final excuse
4 MIDDLE EAST uickly special accounts cajole carefully blithely close requests. carefully final asymptotes haggle furiousl
4 MIDDLE EAST uickly special accounts cajole carefully blithely close requests. carefully final asymptotes haggle furiousl
4 MIDDLE EAST uickly special accounts cajole carefully blithely close requests. carefully final asymptotes haggle furiousl
4 MIDDLE EAST uickly special accounts cajole carefully blithely close requests. carefully final asymptotes haggle furiousl
4 MIDDLE EAST uickly special accounts cajole carefully blithely close requests. carefully final asymptotes haggle furiousl

-------------------------------------------------------------------------------------------------------------------------------------------
25 rows in set (0.14 sec)

Comment by Vladislav Vaintroub [ 2016-05-10 ]

David.Hall Is there anything that needs attention. If so, could you share the steps to run the test automatically?
From the discussions I get that it sorta runs (though , my last comment is I think still valid), and 5 queries do not run that are not supposed to run ,because they failed on Calpont

Comment by Dipti Joshi (Inactive) [ 2016-05-10 ]

wlad Other than windowFunctions/misc/bug5366_01.sql, which other windowFunctions test queries are failing or returning incorrect results ?

Comment by Vladislav Vaintroub [ 2016-05-10 ]

For that (incorrect result sets), I really need to know how to run the test automated the one i picked looked obvious, Davi Hall says it is fixed now,
I remember some other test was failing complaining about missing SQL function . Will provide more info tomorrow on that

Comment by Dipti Joshi (Inactive) [ 2016-06-01 ]

David.HallIs this same as MCOL-93 ?

Comment by David Hall (Inactive) [ 2016-06-01 ]

MCOL-40 is not related to MCOL-93. MCOL-93 is about erroneous syntax errors and MCOL-40 is about a wrong result. This test should be re-run as it may have been a manifestation of a bug that was fixed prior to tracking in JIRA and may no longer be an issue.

Actually, while the above is true to a point, it should be pointed out that MCOL-40 was first written as a catch-all for all failing Windows functions and devolved to a be about a specific problem. So in a way, MCOL-40 and MCOL-93 are related, but fixing one does not fix the other.

The query mentioned in the notes should be verified as working and if it is, MCOL-40 should be closed and any further Windows Function problems found should each have individual JIRA issues. At the time this issue was written, we were just trying to broadly catalog the problems in columnstore. I believe we have evolved to having individula JIRA for separate bugs.

Comment by Dipti Joshi (Inactive) [ 2016-06-04 ]

If MCOL-40 is regarding wrong result, then it is duplicate of MCOL-37 that Daniel Lee has already reported - hence closing this.

Comment by Dipti Joshi (Inactive) [ 2016-06-04 ]

duplicate of MCOL-37

Generated at Thu Feb 08 02:18:04 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.