These queries match the results in my GA account, I welcome any feedback for a better approach!
Standard SQL:
SELECT
date,
hits.page.pagePath AS pagePath,
COUNT(*) AS pageviews
FROM
`ga_sessions_*`, --update
UNNEST(hits) AS hits
WHERE
_TABLE_SUFFIX BETWEEN '20170101' --start date
AND '20170101' --end date
AND hits.type = 'PAGE'
GROUP BY
date,
pagePath
ORDER BY
date ASC,
pageviews DESC
Legacy SQL:
SELECT
date,
hits.page.pagePath AS pagePath,
COUNT(*) AS pageviews
FROM
TABLE_DATE_RANGE([ga_sessions_], -- update
TIMESTAMP('2017-01-01'), -- start date
TIMESTAMP('2017-01-01') -- end date
)
WHERE
hits.type = 'PAGE'
GROUP BY
date,
pagePath
ORDER BY
date ASC,
pageviews DESC