hive-coding avatar

HiveSQL: Time of posts / Uhrzeit der Posts

hive-coding

Published: 07 Sept 2025 › Updated: 07 Sept 2025HiveSQL: Time of posts / Uhrzeit der Posts

HiveSQL: Time of posts / Uhrzeit der Posts

EN (DE unten)

At what time are the posts created?

I was wondering at what time the posts are created on Hive. To find out, I look at the posts from the last 30 days (only posts, no comments).

SELECT 
   DATEPART(HOUR, created) AS Hour,
   COUNT(*) AS NumberOfPosts
FROM Comments
WHERE created >= DATEADD(DAY, -30, GETDATE())
 AND depth = 0
GROUP BY DATEPART(HOUR, created)
ORDER BY Hour;

Who would have thought? It's quite evenly distributed, which is certainly due to the fact that Hive is used internationally and not just locally.

DE

zu welcher Uhrzeit werden die Posts erstellt

Ich habe mich gefragt, zu welcher Uhrzeit werden die Posts auf Hive erstellt. Dafür schaue ich mir die Posts der letzten 30 Tage an (Nur Beiträge, keine Kommentare).

SELECT 
   DATEPART(HOUR, created) AS Stunde,
   COUNT(*) AS AnzahlPosts
FROM Comments
WHERE created >= DATEADD(DAY, -30, GETDATE())
 AND depth = 0
GROUP BY DATEPART(HOUR, created)
ORDER BY Stunde;

Wer hätte es gedacht? Es ist doch recht gleichmäßig verteilt, liegt sicherlich daran, das Hive ebne international genutzt wird und nicht nur örtlich begrenzt.

Leave HiveSQL: Time of posts / Uhrzeit der Posts to:

Written by

Read more #hive-169321 posts


Best Posts From hive-coding

We have not curated any of hive-coding's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From hive-coding