mockingbird icon indicating copy to clipboard operation
mockingbird copied to clipboard

Schema mismatch between Tinybird UI and Mockingbird examples

Open ghost opened this issue 1 year ago • 0 comments

Schema mismatch between Tinybird UI Events API example and Mockingbird Flight Bookings Schema example.

Within Tinybird, the example has the additional columns flight_class and seat_number.

Screenshot 2024-08-05 at 11 37 44

curl \ -X POST 'https://api.us-east.aws.tinybird.co/v0/events?name=events_example' \ -H "Authorization: Bearer p.ey..." \ -d $'{ "timestamp":"2022-10-27T11:43:02.099Z","transaction_id":"8d1e1533-6071-4b10-9cda-b8429c1c7a67","name":"Bobby Drake","email":"[email protected]","age":42,"passport_number":3847665,"flight_from":"Barcelona","flight_to":"London","extra_bags":1,"flight_class":"economy","priority_boarding":false,"meal_choice":"vegetarian","seat_number":"15D","airline":"Red Balloon"}'

Screenshot 2024-08-05 at 11 37 09

Tinybird Mockingbird
timestamp timestamp
transaction_id transaction_id
name name
email email
age age
passport_number passport_number
flight_from flight_from
flight_to flight_to
extra_bags extra_bags
flight_class MISSING
priority_boarding priority_boarding
meal_choice meal_choice
seat_number MISSING
airline airline

ghost avatar Aug 05 '24 15:08 ghost