[MCOL-75] Last_value() Windowing function returned an syntax error Created: 2016-05-23 Updated: 2016-10-11 Resolved: 2016-10-06 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ExeMgr |
| Affects Version/s: | None |
| Fix Version/s: | 1.0.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Daniel Lee (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | relnote | ||
| Sprint: | 2016-19 |
| Description |
|
InfiniDB> getcalpontsoft Name : infinidb-platform Relocations: (not relocatable) The Last_value() function was working in earlier build of ColumnStore, although the returned result was incorrect(There is an bug opened for this incorrect result issue). Now this function returns a syntax error in the build. MariaDB [tpch1m]> select o_custkey, Last_value(o_orderkey) OVER (PARTITION BY abs(o_custkey)+10 ORDER BY o_custkey DESC NULLS LAST ,o_orderkey DESC NULLS LAST ,o_orderdate DESC NULLS LAST ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s; |
| Comments |
| Comment by David Hall (Inactive) [ 2016-06-02 ] |
|
Here's a list of the test queries that failed. This list also includes nth_value: Compare failed - working_tpch1_compareLogOnly/windowFunctions/bug5777.sql |
| Comment by Andrew Hutchings (Inactive) [ 2016-09-28 ] |
|
Great work! Moved to testing. |
| Comment by David Hall (Inactive) [ 2016-09-28 ] |
|
This bug fix only fixes the syntax error. It does not address any incorrect results, if any, as defined in |
| Comment by Daniel Lee (Inactive) [ 2016-10-06 ] |
|
Build verified: 1.0.4-1 mcsadmin> getsoft Name : mariadb-columnstore-platform Fixed. No longer returned an syntax error. |