superset icon indicating copy to clipboard operation
superset copied to clipboard

cant use from_unixtime

Open lifeinearth opened this issue 10 years ago • 1 comments

Edit Sqla Table> Expression > i add from_unixtime(mtime, '%Y-%m-%d %H:%i:%S'), when Query the table, the sql change the next:

SELECT COUNT(*) AS count FROM tp_pagesou WHERE from_unixtime(mtime, '%%Y-%%m-%%d %%H:%%i:%%S') >= '2016-09-02 10:30:09.000000' AND from_unixtime(mtime, '%%Y-%%m-%%d %%H:%%i:%%S') <= '2016-09-09 10:30:09.000000' LIMIT 50000

how to delete the %

lifeinearth avatar Sep 09 '16 02:09 lifeinearth

Looks like a dup of #274. Closing.

xrmx avatar Sep 11 '16 06:09 xrmx