Hi.
I'm using presto as backend.
when I use visualization like 'bar chart' then time setting is not working.
superset log is shown below.
----------------------------------------------------------------------
SELECT *
FROM test
WHERE "target_date" >= '1917-04-12 03:38:18' AND "target_date" <= '2017-04-12 03:38:18'
{'errorType': 'USER_ERROR',
'message': "line 8:21: '>=' cannot be applied to date, varchar(19)",
'errorName': 'SYNTAX_ERROR',
'errorLocation': {'lineNumber': 8, 'columnNumber': 21},
'errorCode': 1,
'failureInfo': {'suppressed': [], 'message': "line 8:21: '>=' cannot be applied to date, varchar(19)",
'type': 'com.facebook.presto.sql.analyzer.SemanticException', 'stack':
----------------------------------------------------------------------
I think query is wrong in presto backend.
How can I set up presto database to run following query in visualization?
----------------------------------------------------------------------
SELECT *
FROM test
WHERE "target_date" >= timestamp '1917-04-12 03:38:18' AND "target_date" <= timestamp '2017-04-12 03:38:18'
----------------------------------------------------------------------
Thanks.