Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant use from_unixtime #1083

Closed
lifeinearth opened this issue Sep 9, 2016 · 1 comment
Closed

cant use from_unixtime #1083

lifeinearth opened this issue Sep 9, 2016 · 1 comment

Comments

@lifeinearth
Copy link

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 %

@xrmx
Copy link
Contributor

xrmx commented Sep 11, 2016

Looks like a dup of #274. Closing.

@xrmx xrmx closed this as completed Sep 11, 2016
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 17, 2021
* feat(plugin-chart-pivot-table): enable cross filtering

* Fix test

* Fix tests

* Replace `.toEqual` with `.toMatchObject` to fix test

* Use jest.fn() to mock setDataMask

* Code review changes

* Bring back setting ownState
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 24, 2021
* feat(plugin-chart-pivot-table): enable cross filtering

* Fix test

* Fix tests

* Replace `.toEqual` with `.toMatchObject` to fix test

* Use jest.fn() to mock setDataMask

* Code review changes

* Bring back setting ownState
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 25, 2021
* feat(plugin-chart-pivot-table): enable cross filtering

* Fix test

* Fix tests

* Replace `.toEqual` with `.toMatchObject` to fix test

* Use jest.fn() to mock setDataMask

* Code review changes

* Bring back setting ownState
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 26, 2021
* feat(plugin-chart-pivot-table): enable cross filtering

* Fix test

* Fix tests

* Replace `.toEqual` with `.toMatchObject` to fix test

* Use jest.fn() to mock setDataMask

* Code review changes

* Bring back setting ownState
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants