[MCOL-23] 001 Working Folder Test scripts fails Created: 2016-05-03 Updated: 2016-10-03 Resolved: 2016-10-03 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | PrimProc |
| Affects Version/s: | None |
| Fix Version/s: | 1.0.4 |
| Type: | Task | Priority: | Major |
| Reporter: | Dipti Joshi (Inactive) | Assignee: | Andrew Hutchings (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Sprint: | 2016-19 | ||||||||
| Description |
|
Compare failed - working_tpch1/aggregation/group_concat.sql |
| Comments |
| Comment by David Hill (Inactive) [ 2016-05-18 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
some query fails with local errors /root/genii/mysql/queries/working_tpch1/misc [root@srvregtest misc]# more bug2954.sql.log [root@srvregtest misc]# more bug3783.sql.log [root@srvregtest misc]# more bug5267.sql.log /root/genii/mysql/queries/working_dml/misc pwd pwd | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by David Hall (Inactive) [ 2016-05-19 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
working_tpch1/qa_fe_cnxFunctions/NULLIF.DM.sql, line 2: fails the compare. NULLIF on date vs datetime returns as though the compare was falsem yet select with = returns true MariaDB [tpch1]> select cidx, CDATE, CDATETIME, NULLIF(CDATE,CDATETIME), CDATE=CDATETIME from datatypetestm order by cidx;
-----
----- NULLIF should return NULL if the two values compare as =. For row 1, we see in the last column that they do compare =, yet NULLIF returns the value, which it should not do. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by David Hall (Inactive) [ 2016-05-19 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Re: NULLIF(CDATE,CDATETIME) the return type requested by MariaDB is DATE, where in mysql, it requested a string object. Columnstore has specific code for the date vs datetime NULLIF compare when a string is requested. When the DATE type return is requested, it had no such special processing. Added the special processing for this case. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by David Hall (Inactive) [ 2016-05-19 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Re: working_tpch1_compareLogOnly/misc/bug4433.sql | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by David Hall (Inactive) [ 2016-05-19 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Re: working_tpch1_compareLogOnly/onClauseJoins/bug4031.sql query one gets a different answer than InfiniDB. It looks like another case where InfiniDB's optimizer is conflicting with MariaDB's optimizer and moving things to the inside of a join when they should stay outside. This was indeed the same bug that optimized when it shouldn't. The shortcut I took before wasn't good enough. A full search of the list is needed.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Dipti Joshi (Inactive) [ 2016-05-24 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
David.Hall regarding your comments on working_tpch1_compareLogOnly/onClauseJoins/bug4031.sql, it is not showing as failure in test001 test report . If this test script is outside of test001 testsuite, let us file a separate Jira item for it. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Andrew Hutchings (Inactive) [ 2016-10-03 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
test001 as is now working, see InnoDB comparison will fail, but test001 doesn't do this. |