New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As seen on Google BigQuery, language doesn't seem to be populated #156

Closed
abeburnett opened this Issue Dec 16, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@abeburnett

abeburnett commented Dec 16, 2016

Running the following BigQuery query reveals that from January 1, 2015 until April 30, 2015 every single record had language = null. Is this a source data issue, or a BigQuery issue?

SELECT year, language, name_count
FROM(
  SELECT LEFT(STRING(created_at), 4) as year, json_extract(payload, "$['forkee.language']") AS language, count(DISTINCT repo.name) AS name_count
  FROM (TABLE_DATE_RANGE([githubarchive:day.], 
      TIMESTAMP('2015-01-01'), 
      TIMESTAMP('2015-04-31')
    ))
    GROUP BY year, language
    )
ORDER BY year, name_count DESC
@igrigorik

This comment has been minimized.

Show comment
Hide comment
@igrigorik

igrigorik Dec 17, 2016

Owner

Source data issue.. unfortunately. Also, starting Jan 2016 we switched to the new events endpoint which, unfortunately, doesn't provide language data.

Owner

igrigorik commented Dec 17, 2016

Source data issue.. unfortunately. Also, starting Jan 2016 we switched to the new events endpoint which, unfortunately, doesn't provide language data.

@igrigorik igrigorik closed this Dec 17, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment