Average number of questions per day, over a week - about Apache Beam + Stack Overflow

0

Please login or register to vote for this query.

(click on this box to dismiss)

Japanese Language

Q&A for students, teachers, and linguists wanting to discuss the finer points of the Japanese language

SELECT --TOP 20
   --DATEPART(week, Posts.CreationDate)
   --CONVERT(date, Posts.CreationDate),
   MIN(Posts.CreationDate) as period,
   SUM(CASE WHEN Posts.PostTypeId=1 THEN 1 ELSE 0 END) as 'questions per month'
FROM Posts
    
WHERE 
    Posts.PostTypeId = 1 AND (Posts.Tags LIKE '%apache-beam%' OR Posts.Tags LIKE '%google-cloud-dataflow%')
  GROUP BY DATEPART(month, Posts.CreationDate), DATEPART(year, Posts.CreationDate)
  ORDER BY period;

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results