[MCOL-1356] CONVERT_TZ Throws "IDB-1815: Unknown Error" in UPDATE or SELECT statement Created: 2018-04-20 Updated: 2021-12-29 Resolved: 2021-08-23 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | 1.5.2 |
| Fix Version/s: | 6.2.1, 6.2.2 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Mike Archipley | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
CentOS 7 Using MariaDB ColumnStore 1.1 |
||
| Issue Links: |
|
||||||||||||||||
| Sprint: | 2021-8, 2021-9, 2021-10 | ||||||||||||||||
| Description |
|
Using the CONVERT_TZ command with an UPDATE query throws "IDB-1815: Unknown Error". Here is an example query that produces the error: UPDATE mytable SET `dateTimeOriginationConverted`= CONVERT_TZ(FROM_UNIXTIME(`dateTimeOrigination`), @@session.time_zone,'America/New_York') WHERE ID = 1; This only happens when referencing the field value (dateTimeOrigination is an INT field in the database that contains the UNIX timestamp value). If you use a static INT, the update works fine. The command also works fine as is on a standard MySQL 5.7 server using InnoDB. so this must be specific to MariaDB or ColumnStore. |
| Comments |
| Comment by Gregory Dorman (Inactive) [ 2021-02-21 ] |
|
It is not just update. select as well.
Indeed, the function actually is there, just doesn't like columns.
|
| Comment by Daniel Lee (Inactive) [ 2021-08-23 ] |
|
Build verified: 6.2.1 (#2990, develop-6 branch) Reproduced the issue in release 6.1.1. |