hive获取当前日期
作者:高景洋 日期:2021-09-09 13:14:00 浏览次数:1322
通过 SELECT CURRENT_DATE; 即可在hive中获取到当前日期
--------------------------------------
hive> SELECT CURRENT_DATE;
OK
2021-09-08
Time taken: 1.199 seconds, Fetched: 1 row(s)
--------------------------------------
hive> SELECT CURRENT_DATE;
OK
2021-09-08
Time taken: 1.199 seconds, Fetched: 1 row(s)
本文永久性链接:
<a href="http://r4.com.cn/art199.aspx">hive获取当前日期</a>
<a href="http://r4.com.cn/art199.aspx">hive获取当前日期</a>
当前header:Host: r4.com.cn
X-Host1: r4.com.cn
X-Host2: r4.com.cn
X-Host3: 127.0.0.1:8080
X-Forwarded-For: 18.116.20.14
X-Real-Ip: 18.116.20.14
X-Domain: r4.com.cn
X-Request: GET /art199.aspx HTTP/1.1
X-Request-Uri: /art199.aspx
Connection: close
Accept: */*
User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Cookie: aoji_session_uuid=9777498a06c442adb8f4fff351cefdb1_20241222; aoji_uuid=0f7d52bf18fd410286f9a2b821a954ad_20241222
Accept-Encoding: gzip, br, zstd, deflate