반응형
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
- string
- Excel
- SQL
- Python
- Kotlin
- Mac
- Apache
- Google Spreadsheet
- gas
- 파이썬
- GIT
- google apps script
- Java
- numpy
- Tkinter
- math
- PostgreSQL
- hive
- Google Excel
- django
- array
- c#
- Redshift
- PANDAS
- PySpark
- Github
- list
- matplotlib
- dataframe
Archives
- Today
- Total
목록dayofweek (1)
달나라 노트
Hive : dayofmonth, dayofweek, weekofyear (일 추출, 요일 추출, 주차 번호 추출, weeknumber, day, weekday)
Syntax dayofmonth(date_string/timestamp_string) -> 주어진 일자에 대해 일을 return합니다. dayofweek(date_string/timestamp_string) -> 주어진 일자에 대해 요일 번호를 return합니다. weekofyear(date_string/timestamp_string) -> 주어진 일자에 대해 weeknumber를 return합니다. select dayofmonth('2020-11-10') --> 10 , dayofmonth('2020-11-10 12:34:56') --> 10 ; - dayofmonth('2020-11-10') 2020-11-10에서 일(day)을 추출합니다. 따라서 10이 return됩니다. - dayofmonth('..
SQL/Apache Hive
2023. 10. 10. 22:22