Skip to content

Commit

Permalink
More tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasRichard committed Apr 3, 2023
1 parent 4bdae69 commit 8a6a4f9
Showing 1 changed file with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,4 +193,34 @@
- sql: |
select count(1) from t having count(distinct id) > 5
- sql: |
select EXTRACT(YEAR FROM FROM_UNIXTIME(time)), COUNT(*) FROM a
- sql: |
select EXTRACT(QUARTER FROM FROM_UNIXTIME(time)), COUNT(*) FROM a GROUP BY EXTRACT(QUARTER FROM FROM_UNIXTIME(time))
- sql: |
select EXTRACT(MONTH FROM FROM_UNIXTIME(time)), COUNT(*) FROM a
- sql: |
select EXTRACT(WEEK FROM FROM_UNIXTIME(time)), COUNT(*) FROM a
- sql: |
select EXTRACT(DAY FROM FROM_UNIXTIME(time)), COUNT(*) FROM a
- sql: |
select EXTRACT(DAY_OF_WEEK FROM FROM_UNIXTIME(time)), COUNT(*) FROM a
- sql: |
select EXTRACT(DOW FROM FROM_UNIXTIME(time)), COUNT(*) FROM a
- sql: |
select EXTRACT(DAY_OF_YEAR FROM FROM_UNIXTIME(time)), COUNT(*) FROM a
- sql: |
select EXTRACT(DOY FROM FROM_UNIXTIME(time)), COUNT(*) FROM a
- sql: |
select EXTRACT(YEAR_OF_WEEK FROM FROM_UNIXTIME(time)), COUNT(*) FROM a
- sql: |
select EXTRACT(YOW FROM FROM_UNIXTIME(time)), COUNT(*) FROM a
- sql: |
select EXTRACT(HOUR FROM FROM_UNIXTIME(time)), COUNT(*) FROM a
- sql: |
select EXTRACT(MINUTE FROM FROM_UNIXTIME(time)), COUNT(*) FROM a
- sql: |
select EXTRACT(SECOND FROM FROM_UNIXTIME(time)), COUNT(*) FROM a
- sql: |
select EXTRACT(TIMEZONE_HOUR FROM FROM_UNIXTIME(time)), COUNT(*) FROM a
- sql: |
select EXTRACT(timezone_minute FROM FROM_UNIXTIME(time)), COUNT(*) FROM a

0 comments on commit 8a6a4f9

Please sign in to comment.