[MCOL-3869] Use the server time_zone system variable for functions that it affects in ColumnStore. Created: 2020-03-04 Updated: 2023-11-21 Resolved: 2023-10-25 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | PrimProc |
| Affects Version/s: | 1.4.0, 1.5.3 |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Minor |
| Reporter: | Gagan Goel (Inactive) | Assignee: | Gagan Goel (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Epic Link: | Time, Timestamp and Timezone | ||||||||||||||||||||||||||||||||
| Sprint: | 2020-6 | ||||||||||||||||||||||||||||||||
| Description |
|
ColumnStore currently does not use the time_zone system variable in MariaDB server in evaluating functions that are affected by time zone. Functions and data types that are affected by time zone are listed here: https://mariadb.com/kb/en/time-zones/#time-zone-effects In addition, from_unixtime() also is dependent on the time zone setting. The goal of this ticket is to add support for time zone for all affected functions in ColumnStore so that these functions behave consistent to the server. |
| Comments |
| Comment by David Hall (Inactive) [ 2020-03-04 ] | ||||||||||
|
After fixing this, revert the tests to pre working_tpch1/qa_fe_cnxFunctions/from_unixtime.sql | ||||||||||
| Comment by David Hall (Inactive) [ 2020-04-15 ] | ||||||||||
|
Some study should be done about coming up with a consistent or perhaps singular way to get various Server settings to the disparate parts of Columnstore. | ||||||||||
| Comment by Kirill Perov [ 2023-11-20 ] | ||||||||||
|
set time_zone='+6:00';
-----------------
----------------- create table t1(c1 datetime); select * from t1;
---------------------
--------------------- select * from t2;
---------------------
--------------------- Both MDB and MCS tables got value with time zone applied. |