Skip to content

Instantly share code, notes, and snippets.

@rmitula
Last active July 28, 2023 07:20
Show Gist options
  • Save rmitula/0b6133fdd8db7f3656c001c3b90a347f to your computer and use it in GitHub Desktop.
Save rmitula/0b6133fdd8db7f3656c001c3b90a347f to your computer and use it in GitHub Desktop.
Listing 1. Sample products records are stored in the Raw Data Zone under /day=01 partition
{
"product_id": "29e17633-8d1e-4d63-8291-7a34fd79a4e5",
"name": "Product A",
"category": "Electronics",
"variants": [
{
"color": "black",
"size": "M",
"stock": 100
},
{
"color": "white",
"size": "L",
"stock": 75
}
],
"specifications": {
"weight": "1kg",
"dimensions": "10x5x2cm"
},
"ratings": {
"average": 4.5,
"reviews": 300
},
"price": {
"retail": 100,
"discounted": 90
}
}
(...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment