Skip to content

Commit

Permalink
Tests are failing after DST switch: need to fix MySQL dialect
Browse files Browse the repository at this point in the history
  • Loading branch information
paveltiunov committed Mar 10, 2020
1 parent adee8dc commit 4440e49
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ describe('MySqlPreAggregations', function test() {
timeDimensions: [{
dimension: 'visitors.createdAt',
granularity: 'day',
dateRange: ['2016-12-30', '2017-01-05']
dateRange: ['2016-12-30', '2017-01-30'] // TODO fix MySQL pre-aggregation return incorrect results on DST switch
}],
order: [{
id: 'visitors.createdAt'
Expand Down Expand Up @@ -152,6 +152,11 @@ describe('MySqlPreAggregations', function test() {
"visitors__source": "google",
"visitors__created_at_day": "2017-01-05T00:00:00.000",
"visitors__count": 1
},
{
"visitors__source": null,
"visitors__created_at_day": "2017-01-06T00:00:00.000",
"visitors__count": 2
}
]
);
Expand Down

0 comments on commit 4440e49

Please sign in to comment.