반응형
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Excel
- Python
- matplotlib
- SQL
- GIT
- Tkinter
- django
- dataframe
- PySpark
- 파이썬
- PANDAS
- PostgreSQL
- Redshift
- array
- math
- string
- Presto
- Java
- gas
- Kotlin
- google apps script
- Github
- Apache
- numpy
- Google Excel
- Google Spreadsheet
- list
- hive
- c#
Archives
- Today
- Total
목록week_of_year (1)
달나라 노트
Presto : year, quarter, month, week, week_of_year, day, day_of_month (날짜 성분 추출하기, 년도, 분기, 월, 주, 일)
Presto에서 사용할 수 있는 다양한 날짜 성분 추출 함수를 알아봅시다. 종류가 많으니 표로 정리하겠습니다.Function nameDescriptionyear(datetime)주어진 datetime의 년도를 추출합니다.quarter(datetime)주어진 datetime의 분기를 추출합니다.month(datetime)주어진 datetime의 월을 추출합니다.week(datetime)주어진 datetime의 주차를 추출합니다.(1~53까지의 번호가 return될 수 있습니다.)week_of_year(datetime)주어진 datetime의 1년중 주차를 추출합니다.(week 함수와 동일합니다.)day(datetime)주어진 datetime의 일을 추출합니다.day_of_month(datetime)주어진 ..
SQL/Presto
2025. 10. 18. 11:42