Queries to find users whose latest Session.Start event indicates macOS earlier than version 12.
Table: second-casing-278016.arcade.events
Main query returning user_id, email, and os_name for users on macOS < 12.
bq query --use_legacy_sql=false --format=csv --max_rows=10000 < query_users_macos_pre12.sql > "results/$(date +%Y%m%d_%H%M%S)_users_macos_pre12.csv"Returns user_id and os_name only (for CSV export).
bq query --use_legacy_sql=false --format=csv --max_rows=10000 < query_user_ids_only.sql > results/user_ids.csvSummary breakdown: count of users per OS version.
bq query --use_legacy_sql=false --format=prettyjson < query_users_by_os_version_summary.sqlReturns total count of users on macOS < 12.
bq query --use_legacy_sql=false --format=prettyjson < query_total_user_count.sqlExploration query: all distinct OS.Name values (limited to last 1 day).
bq query --use_legacy_sql=false --format=prettyjson < query_distinct_os_names.sqlExploration query: available JSON keys in properties column (limited to last 1 day).
bq query --use_legacy_sql=false --format=prettyjson < query_property_keys.sql- Date window: Edit
INTERVAL 90 DAYin queries to adjust the lookback period - Excluded IDs: Empty string, "0", and "00000000-0000-0000-0000-000000000000"
| Version Pattern | macOS Name |
|---|---|
| 10.9.x | Mavericks |
| 10.10.x | Yosemite |
| 10.11.x | El Capitan |
| 10.12.x | Sierra |
| 10.13.x | High Sierra |
| 10.14.x | Mojave |
| 10.15.x | Catalina |
| 10.16 | Big Sur (compat) |
| 11.x | Big Sur |
| 12.x+ | Monterey and later (excluded) |