can't use mysql DATE_FORMAT function
See original GitHub issueMake 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 reproduced the issue with at least the latest released version of superset
- I have checked the issue tracker for the same issue and I haven’t found one similar
Superset version
master
Expected results
Actual results
Steps to reproduce
select DATE_FORMAT(now(), '%h%i%s');
other
It looks like confusion with python syntax
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
MySQL 8.0 Reference Manual :: 12.7 Date and Time Functions
Returns the current date and time as a value in ' YYYY-MM-DD hh:mm:ss ' or YYYYMMDDhhmmss format, depending on whether the function is...
Read more >date format - MYSQL DATE_FORMAT Function not working
1 Answer 1 ... If the month is not setted in gig_guide.date, the mysql can't make representation 00.month as a string. Try it...
Read more >MySQL DATE_FORMAT() function - w3resource
MySQL DATE_FORMAT() formats a date as specified in the argument. A list of format specifiers given bellow may be used to format a...
Read more >The Ultimate Guide To MySQL Date and Date Functions
In this tutorial, we will introduce you to the MySQL DATE data type and show you some useful date functions to handle the...
Read more >MySQL DATE_FORMAT() Function - W3Schools
Parameter Values ; %D · Day of the month as a numeric value, followed by suffix (1st, 2nd, 3rd, ...) ; %d, Day...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
how to fix if i query like is
and use Visualize , it will auto add double % in my query
double %, i usually do this. but u should only use one in datasource…