반응형
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 |
Tags
- numpy
- PySpark
- Tkinter
- SQL
- Python
- Google Spreadsheet
- PostgreSQL
- Mac
- array
- Excel
- 파이썬
- dataframe
- c#
- string
- Apache
- django
- google apps script
- math
- PANDAS
- Java
- Google Excel
- matplotlib
- Kotlin
- GIT
- gas
- list
- Redshift
- hive
- Github
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