[MCOL-5537] Issue when using Month or Year paired with convert_tz of an attribute Created: 2023-07-13 Updated: 2023-07-20 |
|
| Status: | Confirmed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Khaled Hesham | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
I am running sql query fetching month and year of a created_at field in a table and i get wrong month and year result
--------------------
-------------------- |
| Comments |
| Comment by Alice Sherepa [ 2023-07-19 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I could not repeat it on a freshly installed 10.6.8:
Could you please provide more details or the way to repeat it - show create table,etc. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Khaled Hesham [ 2023-07-19 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
This is the complete version of maria db running: This is the table details I am using, it is using columnstore engine:
------------
------------ This is the column I am filtering:
This is a sample of a data in the table:
---------------------
--------------------- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Lee (Inactive) [ 2023-07-20 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Build tested: ColumnStore 6.4.6-1, 23.02.4 Confirmed it is an issue when ColumnStore engine is used. It worked fine with InnoDB.
The issue also exists in the latest release of ColumnStore, 23.02.4.
|