dkhwangbo opened a new issue #4057: Inappropriate timestamp calculation: 'now' URL: https://github.com/apache/incubator-superset/issues/4057 Make sure these boxes are checked before submitting your issue - thank you! - [ ] I have checked the superset logs for python stacktraces and included it here as text if any : I have checked but no log related this issue was written. - [x] I have reproduced the issue with at least the latest released version of superset - [x] I have checked the issue tracker for the same issue and I haven't found one similar ### Superset version 0.22.1 ### Expected results Appripriately calculaged 'intervals' in query view ``` { "dataSource": "<datasource>", "intervals": "2017-12-12T15:00:00+09:00/2017-12-13T23:15:39+09:00", "aggregations": [ { "type": "longSum", "fieldName": "count", "name": "sum__count" } ], "granularity": "all", "queryType": "timeseries", "postAggregations": [] } ``` ### Actual results Current time is 23:15:39 in KST(UTC+09), but right value of "intervals" has the time 9 hours before. ``` { "dataSource": "<datasource>", "intervals": "2017-12-12T15:00:00+09:00/2017-12-13T14:15:39+09:00", "aggregations": [ { "type": "longSum", "fieldName": "count", "name": "sum__count" } ], "granularity": "all", "queryType": "timeseries", "postAggregations": [] } ``` ### Steps to reproduce 1. Set DRUID_TZ=tz.gettz('Asia/Seoul') 2. Set 'until' to 'now' 3. Run query
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
