File size: 4,042 Bytes
22d395a
0f076d8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22d395a
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
```
playlists/ (6.6M rows, 2 files)
┌─────────────────────┬────────┬─────────────────────────────┐
│ Column              │ Type   │ Sample                      │
├─────────────────────┼────────┼─────────────────────────────┤
│ rowid               │ int64  │ 1                           │
│ id                  │ string │ "37i9dQZF1DXcBWIGoYBM5M"   │
│ snapshot_id         │ string │ "MTczODcwNTA4MCww..."       │
│ fetched_at          │ int64  │ 1703456789000               │
│ name                │ string │ "Today's Top Hits"          │
│ description         │ string │ "The hottest tracks..."     │
│ collaborative       │ int64  │ 0                           │
│ public              │ int64  │ 1                           │
│ primary_color       │ string │ "#6bb6da"                   │
│ owner_id            │ string │ "spotify"                   │
│ owner_display_name  │ string │ "Spotify"                   │
│ followers_total     │ int64  │ 35248475                    │
│ tracks_total        │ int64  │ 50                          │
└─────────────────────┴────────┴─────────────────────────────┘

playlist_tracks/ (1.7B rows, 340 files)
┌───────────────────────────┬────────┬──────────────────┐
│ Column                    │ Type   │ Sample           │
├───────────────────────────┼────────┼──────────────────┤
│ playlist_rowid            │ int64  │ 1                │
│ position                  │ int64  │ 0                │
│ is_episode                │ int64  │ 0                │
│ track_rowid               │ int64  │ 705              │
│ id_if_not_in_tracks_table │ string │ null             │
│ added_at                  │ int64  │ 1738705080       │
│ added_by_id               │ string │ null             │
│ primary_color             │ string │ null             │
│ video_thumbnail_url       │ string │ null             │
│ is_local                  │ int64  │ 0                │
└───────────────────────────┴────────┴──────────────────┘

Key columns for training:
- playlist_rowid → group tracks by playlist
- track_rowid → the track ID (FK to main tracks table)
- position → order in playlist

playlist_images/ (11M rows, 3 files)
┌──────────────────┬────────┬─────────────────────────────────┐
│ Column           │ Type   │ Sample                          │
├──────────────────┼────────┼─────────────────────────────────┤
│ playlist_rowid   │ int64  │ 1                               │
│ width            │ int64  │ 640                             │
│ height           │ int64  │ 640                             │
│ url              │ string │ "https://i.scdn.co/image/ab67…" │
└──────────────────┴────────┴─────────────────────────────────┘

Total: ~11GB compressed Parquet
```