[{"data":1,"prerenderedAt":1800},["ShallowReactive",2],{"tutorial-chess-duckdb/initialize-project":3,"content-query-Bhc93DPBD3":584,"content-query-q9sTnJ7t0D":1026},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"readingTime":11,"category":12,"tags":13,"difficulty":16,"module":5,"step":17,"subSteps":18,"learnMore":19,"author":26,"body":30,"_type":578,"_id":579,"_source":580,"_file":581,"_stem":582,"_extension":583},"/tutorials/chess-duckdb/initialize-project","chess-duckdb",false,"","Initialize & Configure","Scaffold a chess data project from a template and configure your DuckDB and Chess API connections.","2026-04-15",5,"Tutorial",[14,15],"Bruin CLI","DuckDB","Beginner",1,true,[20,23],{"label":21,"url":22},"Bruin project structure (docs)","https://getbruin.com/docs/bruin/core-concepts/project.html",{"label":24,"url":25},"DuckDB connection reference","https://getbruin.com/docs/bruin/platforms/duckdb.html",{"name":27,"role":28,"image":29},"Bruin Team","Bruin Data","/bruin-logo-2025.svg",{"type":31,"children":32,"toc":567},"root",[33,42,48,54,59,65,72,81,86,119,124,134,139,145,158,375,396,402,415,426,436,446,452,464,531,550,556,561],{"type":34,"tag":35,"props":36,"children":38},"element","h2",{"id":37},"what-youll-do",[39],{"type":40,"value":41},"text","What you'll do",{"type":34,"tag":43,"props":44,"children":45},"p",{},[46],{"type":40,"value":47},"Scaffold a new Bruin project using the built-in chess template, then configure the environment with DuckDB and Chess API connections.",{"type":34,"tag":35,"props":49,"children":51},{"id":50},"why-this-step-matters",[52],{"type":40,"value":53},"Why this step matters",{"type":34,"tag":43,"props":55,"children":56},{},[57],{"type":40,"value":58},"The chess template gives you a working pipeline out of the box - no API keys or database setup required. It's the fastest way to see Bruin in action and understand how projects, pipelines, and assets fit together.",{"type":34,"tag":35,"props":60,"children":62},{"id":61},"instructions",[63],{"type":40,"value":64},"Instructions",{"type":34,"tag":66,"props":67,"children":69},"h3",{"id":68},"_1-initialize-the-project",[70],{"type":40,"value":71},"1) Initialize the project",{"type":34,"tag":43,"props":73,"children":74},{},[75],{"type":34,"tag":76,"props":77,"children":80},"img",{"alt":78,"src":79},"bruin init command","/img/learn/tutorials/init.gif",[],{"type":34,"tag":43,"props":82,"children":83},{},[84],{"type":40,"value":85},"Run the following command to create a new project from the chess template:",{"type":34,"tag":87,"props":88,"children":92},"pre",{"className":89,"code":90,"language":91,"meta":7,"style":7},"language-bash shiki shiki-themes github-dark","bruin init chess\n","bash",[93],{"type":34,"tag":94,"props":95,"children":96},"code",{"__ignoreMap":7},[97],{"type":34,"tag":98,"props":99,"children":101},"span",{"class":100,"line":17},"line",[102,108,114],{"type":34,"tag":98,"props":103,"children":105},{"style":104},"--shiki-default:#B392F0",[106],{"type":40,"value":107},"bruin",{"type":34,"tag":98,"props":109,"children":111},{"style":110},"--shiki-default:#9ECBFF",[112],{"type":40,"value":113}," init",{"type":34,"tag":98,"props":115,"children":116},{"style":110},[117],{"type":40,"value":118}," chess\n",{"type":34,"tag":43,"props":120,"children":121},{},[122],{"type":40,"value":123},"This scaffolds a complete project with the following structure:",{"type":34,"tag":87,"props":125,"children":129},{"className":126,"code":128,"language":40},[127],"language-text","chess/\n├── assets/\n│   ├── chess_games.asset.yml\n│   ├── chess_profiles.asset.yml\n│   └── player_summary.sql\n├── .bruin.yml\n├── pipeline.yml\n├── .gitignore\n└── README.md\n",[130],{"type":34,"tag":94,"props":131,"children":132},{"__ignoreMap":7},[133],{"type":40,"value":128},{"type":34,"tag":43,"props":135,"children":136},{},[137],{"type":40,"value":138},"The template includes everything you need: ingestion assets for chess data, a SQL transformation, and configuration files.",{"type":34,"tag":66,"props":140,"children":142},{"id":141},"_2-configure-the-environment",[143],{"type":40,"value":144},"2) Configure the environment",{"type":34,"tag":43,"props":146,"children":147},{},[148,150,156],{"type":40,"value":149},"Open ",{"type":34,"tag":94,"props":151,"children":153},{"className":152},[],[154],{"type":40,"value":155},".bruin.yml",{"type":40,"value":157}," in your editor. This file defines your environments and connections. Configure it with DuckDB as your local warehouse and the Chess API as your data source:",{"type":34,"tag":87,"props":159,"children":163},{"className":160,"code":161,"language":162,"meta":7,"style":7},"language-yaml shiki shiki-themes github-dark","environments:\n  default:\n    connections:\n      duckdb:\n        - name: \"duckdb-default\"\n          path: \"chess.db\"\n      chess:\n        - name: \"chess-default\"\n          players:\n            - \"FabianoCaruana\"\n            - \"Hikaru\"\n            - \"MagnusCarlsen\"\n            - \"GarryKasparov\"\n            - \"Firouzja2003\"\n","yaml",[164],{"type":34,"tag":94,"props":165,"children":166},{"__ignoreMap":7},[167,182,195,208,221,244,262,275,296,309,323,336,349,362],{"type":34,"tag":98,"props":168,"children":169},{"class":100,"line":17},[170,176],{"type":34,"tag":98,"props":171,"children":173},{"style":172},"--shiki-default:#85E89D",[174],{"type":40,"value":175},"environments",{"type":34,"tag":98,"props":177,"children":179},{"style":178},"--shiki-default:#E1E4E8",[180],{"type":40,"value":181},":\n",{"type":34,"tag":98,"props":183,"children":185},{"class":100,"line":184},2,[186,191],{"type":34,"tag":98,"props":187,"children":188},{"style":172},[189],{"type":40,"value":190},"  default",{"type":34,"tag":98,"props":192,"children":193},{"style":178},[194],{"type":40,"value":181},{"type":34,"tag":98,"props":196,"children":198},{"class":100,"line":197},3,[199,204],{"type":34,"tag":98,"props":200,"children":201},{"style":172},[202],{"type":40,"value":203},"    connections",{"type":34,"tag":98,"props":205,"children":206},{"style":178},[207],{"type":40,"value":181},{"type":34,"tag":98,"props":209,"children":211},{"class":100,"line":210},4,[212,217],{"type":34,"tag":98,"props":213,"children":214},{"style":172},[215],{"type":40,"value":216},"      duckdb",{"type":34,"tag":98,"props":218,"children":219},{"style":178},[220],{"type":40,"value":181},{"type":34,"tag":98,"props":222,"children":223},{"class":100,"line":11},[224,229,234,239],{"type":34,"tag":98,"props":225,"children":226},{"style":178},[227],{"type":40,"value":228},"        - ",{"type":34,"tag":98,"props":230,"children":231},{"style":172},[232],{"type":40,"value":233},"name",{"type":34,"tag":98,"props":235,"children":236},{"style":178},[237],{"type":40,"value":238},": ",{"type":34,"tag":98,"props":240,"children":241},{"style":110},[242],{"type":40,"value":243},"\"duckdb-default\"\n",{"type":34,"tag":98,"props":245,"children":247},{"class":100,"line":246},6,[248,253,257],{"type":34,"tag":98,"props":249,"children":250},{"style":172},[251],{"type":40,"value":252},"          path",{"type":34,"tag":98,"props":254,"children":255},{"style":178},[256],{"type":40,"value":238},{"type":34,"tag":98,"props":258,"children":259},{"style":110},[260],{"type":40,"value":261},"\"chess.db\"\n",{"type":34,"tag":98,"props":263,"children":265},{"class":100,"line":264},7,[266,271],{"type":34,"tag":98,"props":267,"children":268},{"style":172},[269],{"type":40,"value":270},"      chess",{"type":34,"tag":98,"props":272,"children":273},{"style":178},[274],{"type":40,"value":181},{"type":34,"tag":98,"props":276,"children":278},{"class":100,"line":277},8,[279,283,287,291],{"type":34,"tag":98,"props":280,"children":281},{"style":178},[282],{"type":40,"value":228},{"type":34,"tag":98,"props":284,"children":285},{"style":172},[286],{"type":40,"value":233},{"type":34,"tag":98,"props":288,"children":289},{"style":178},[290],{"type":40,"value":238},{"type":34,"tag":98,"props":292,"children":293},{"style":110},[294],{"type":40,"value":295},"\"chess-default\"\n",{"type":34,"tag":98,"props":297,"children":299},{"class":100,"line":298},9,[300,305],{"type":34,"tag":98,"props":301,"children":302},{"style":172},[303],{"type":40,"value":304},"          players",{"type":34,"tag":98,"props":306,"children":307},{"style":178},[308],{"type":40,"value":181},{"type":34,"tag":98,"props":310,"children":312},{"class":100,"line":311},10,[313,318],{"type":34,"tag":98,"props":314,"children":315},{"style":178},[316],{"type":40,"value":317},"            - ",{"type":34,"tag":98,"props":319,"children":320},{"style":110},[321],{"type":40,"value":322},"\"FabianoCaruana\"\n",{"type":34,"tag":98,"props":324,"children":326},{"class":100,"line":325},11,[327,331],{"type":34,"tag":98,"props":328,"children":329},{"style":178},[330],{"type":40,"value":317},{"type":34,"tag":98,"props":332,"children":333},{"style":110},[334],{"type":40,"value":335},"\"Hikaru\"\n",{"type":34,"tag":98,"props":337,"children":339},{"class":100,"line":338},12,[340,344],{"type":34,"tag":98,"props":341,"children":342},{"style":178},[343],{"type":40,"value":317},{"type":34,"tag":98,"props":345,"children":346},{"style":110},[347],{"type":40,"value":348},"\"MagnusCarlsen\"\n",{"type":34,"tag":98,"props":350,"children":352},{"class":100,"line":351},13,[353,357],{"type":34,"tag":98,"props":354,"children":355},{"style":178},[356],{"type":40,"value":317},{"type":34,"tag":98,"props":358,"children":359},{"style":110},[360],{"type":40,"value":361},"\"GarryKasparov\"\n",{"type":34,"tag":98,"props":363,"children":365},{"class":100,"line":364},14,[366,370],{"type":34,"tag":98,"props":367,"children":368},{"style":178},[369],{"type":40,"value":317},{"type":34,"tag":98,"props":371,"children":372},{"style":110},[373],{"type":40,"value":374},"\"Firouzja2003\"\n",{"type":34,"tag":43,"props":376,"children":377},{},[378,380,386,388,394],{"type":40,"value":379},"The ",{"type":34,"tag":94,"props":381,"children":383},{"className":382},[],[384],{"type":40,"value":385},"duckdb-default",{"type":40,"value":387}," connection creates a local DuckDB file. The ",{"type":34,"tag":94,"props":389,"children":391},{"className":390},[],[392],{"type":40,"value":393},"chess-default",{"type":40,"value":395}," connection specifies which chess players to track - feel free to add or change the usernames.",{"type":34,"tag":66,"props":397,"children":399},{"id":398},"_3-review-the-assets",[400],{"type":40,"value":401},"3) Review the assets",{"type":34,"tag":43,"props":403,"children":404},{},[405,407,413],{"type":40,"value":406},"The template includes three pre-configured assets in the ",{"type":34,"tag":94,"props":408,"children":410},{"className":409},[],[411],{"type":40,"value":412},"assets/",{"type":40,"value":414}," folder:",{"type":34,"tag":43,"props":416,"children":417},{},[418,424],{"type":34,"tag":419,"props":420,"children":421},"strong",{},[422],{"type":40,"value":423},"chess_games.asset.yml",{"type":40,"value":425}," — An ingestr asset that fetches game history for each player from the Chess.com API.",{"type":34,"tag":43,"props":427,"children":428},{},[429,434],{"type":34,"tag":419,"props":430,"children":431},{},[432],{"type":40,"value":433},"chess_profiles.asset.yml",{"type":40,"value":435}," — An ingestr asset that fetches player profile information including ratings and account details.",{"type":34,"tag":43,"props":437,"children":438},{},[439,444],{"type":34,"tag":419,"props":440,"children":441},{},[442],{"type":40,"value":443},"player_summary.sql",{"type":40,"value":445}," — A SQL asset that joins games and profiles to produce a summary table. This asset depends on the two ingestr assets, so Bruin knows to run it after them.",{"type":34,"tag":66,"props":447,"children":449},{"id":448},"_4-examine-the-pipeline-config",[450],{"type":40,"value":451},"4) Examine the pipeline config",{"type":34,"tag":43,"props":453,"children":454},{},[455,456,462],{"type":40,"value":149},{"type":34,"tag":94,"props":457,"children":459},{"className":458},[],[460],{"type":40,"value":461},"pipeline.yml",{"type":40,"value":463}," to see how the pipeline is configured:",{"type":34,"tag":87,"props":465,"children":467},{"className":160,"code":466,"language":162,"meta":7,"style":7},"name: chess\ndefault_connections:\n  duckdb: \"duckdb-default\"\n  chess: \"chess-default\"\n",[468],{"type":34,"tag":94,"props":469,"children":470},{"__ignoreMap":7},[471,487,499,515],{"type":34,"tag":98,"props":472,"children":473},{"class":100,"line":17},[474,478,482],{"type":34,"tag":98,"props":475,"children":476},{"style":172},[477],{"type":40,"value":233},{"type":34,"tag":98,"props":479,"children":480},{"style":178},[481],{"type":40,"value":238},{"type":34,"tag":98,"props":483,"children":484},{"style":110},[485],{"type":40,"value":486},"chess\n",{"type":34,"tag":98,"props":488,"children":489},{"class":100,"line":184},[490,495],{"type":34,"tag":98,"props":491,"children":492},{"style":172},[493],{"type":40,"value":494},"default_connections",{"type":34,"tag":98,"props":496,"children":497},{"style":178},[498],{"type":40,"value":181},{"type":34,"tag":98,"props":500,"children":501},{"class":100,"line":197},[502,507,511],{"type":34,"tag":98,"props":503,"children":504},{"style":172},[505],{"type":40,"value":506},"  duckdb",{"type":34,"tag":98,"props":508,"children":509},{"style":178},[510],{"type":40,"value":238},{"type":34,"tag":98,"props":512,"children":513},{"style":110},[514],{"type":40,"value":243},{"type":34,"tag":98,"props":516,"children":517},{"class":100,"line":210},[518,523,527],{"type":34,"tag":98,"props":519,"children":520},{"style":172},[521],{"type":40,"value":522},"  chess",{"type":34,"tag":98,"props":524,"children":525},{"style":178},[526],{"type":40,"value":238},{"type":34,"tag":98,"props":528,"children":529},{"style":110},[530],{"type":40,"value":295},{"type":34,"tag":43,"props":532,"children":533},{},[534,536,541,543,548],{"type":40,"value":535},"This links the pipeline to the connections you defined in ",{"type":34,"tag":94,"props":537,"children":539},{"className":538},[],[540],{"type":40,"value":155},{"type":40,"value":542},". The ",{"type":34,"tag":94,"props":544,"children":546},{"className":545},[],[547],{"type":40,"value":494},{"type":40,"value":549}," tell Bruin which connection to use for each asset type.",{"type":34,"tag":35,"props":551,"children":553},{"id":552},"what-just-happened",[554],{"type":40,"value":555},"What just happened",{"type":34,"tag":43,"props":557,"children":558},{},[559],{"type":40,"value":560},"You now have a fully configured chess data project with DuckDB as the destination and the Chess.com API as the source. The pipeline is ready to run - next, you'll execute it and query the results.",{"type":34,"tag":562,"props":563,"children":564},"style",{},[565],{"type":40,"value":566},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":7,"searchDepth":184,"depth":184,"links":568},[569,570,571,577],{"id":37,"depth":184,"text":41},{"id":50,"depth":184,"text":53},{"id":61,"depth":184,"text":64,"children":572},[573,574,575,576],{"id":68,"depth":197,"text":71},{"id":141,"depth":197,"text":144},{"id":398,"depth":197,"text":401},{"id":448,"depth":197,"text":451},{"id":552,"depth":184,"text":555},"markdown","content:tutorials:chess-duckdb:initialize-project.md","content","tutorials/chess-duckdb/initialize-project.md","tutorials/chess-duckdb/initialize-project","md",{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"readingTime":11,"category":12,"tags":585,"difficulty":16,"module":5,"step":17,"subSteps":18,"learnMore":586,"author":589,"body":590,"_type":578,"_id":579,"_source":580,"_file":581,"_stem":582,"_extension":583},[14,15],[587,588],{"label":21,"url":22},{"label":24,"url":25},{"name":27,"role":28,"image":29},{"type":31,"children":591,"toc":1015},[592,596,600,604,608,612,616,622,626,647,651,659,663,667,677,857,873,877,887,895,903,911,915,925,987,1003,1007,1011],{"type":34,"tag":35,"props":593,"children":594},{"id":37},[595],{"type":40,"value":41},{"type":34,"tag":43,"props":597,"children":598},{},[599],{"type":40,"value":47},{"type":34,"tag":35,"props":601,"children":602},{"id":50},[603],{"type":40,"value":53},{"type":34,"tag":43,"props":605,"children":606},{},[607],{"type":40,"value":58},{"type":34,"tag":35,"props":609,"children":610},{"id":61},[611],{"type":40,"value":64},{"type":34,"tag":66,"props":613,"children":614},{"id":68},[615],{"type":40,"value":71},{"type":34,"tag":43,"props":617,"children":618},{},[619],{"type":34,"tag":76,"props":620,"children":621},{"alt":78,"src":79},[],{"type":34,"tag":43,"props":623,"children":624},{},[625],{"type":40,"value":85},{"type":34,"tag":87,"props":627,"children":628},{"className":89,"code":90,"language":91,"meta":7,"style":7},[629],{"type":34,"tag":94,"props":630,"children":631},{"__ignoreMap":7},[632],{"type":34,"tag":98,"props":633,"children":634},{"class":100,"line":17},[635,639,643],{"type":34,"tag":98,"props":636,"children":637},{"style":104},[638],{"type":40,"value":107},{"type":34,"tag":98,"props":640,"children":641},{"style":110},[642],{"type":40,"value":113},{"type":34,"tag":98,"props":644,"children":645},{"style":110},[646],{"type":40,"value":118},{"type":34,"tag":43,"props":648,"children":649},{},[650],{"type":40,"value":123},{"type":34,"tag":87,"props":652,"children":654},{"className":653,"code":128,"language":40},[127],[655],{"type":34,"tag":94,"props":656,"children":657},{"__ignoreMap":7},[658],{"type":40,"value":128},{"type":34,"tag":43,"props":660,"children":661},{},[662],{"type":40,"value":138},{"type":34,"tag":66,"props":664,"children":665},{"id":141},[666],{"type":40,"value":144},{"type":34,"tag":43,"props":668,"children":669},{},[670,671,676],{"type":40,"value":149},{"type":34,"tag":94,"props":672,"children":674},{"className":673},[],[675],{"type":40,"value":155},{"type":40,"value":157},{"type":34,"tag":87,"props":678,"children":679},{"className":160,"code":161,"language":162,"meta":7,"style":7},[680],{"type":34,"tag":94,"props":681,"children":682},{"__ignoreMap":7},[683,694,705,716,727,746,761,772,791,802,813,824,835,846],{"type":34,"tag":98,"props":684,"children":685},{"class":100,"line":17},[686,690],{"type":34,"tag":98,"props":687,"children":688},{"style":172},[689],{"type":40,"value":175},{"type":34,"tag":98,"props":691,"children":692},{"style":178},[693],{"type":40,"value":181},{"type":34,"tag":98,"props":695,"children":696},{"class":100,"line":184},[697,701],{"type":34,"tag":98,"props":698,"children":699},{"style":172},[700],{"type":40,"value":190},{"type":34,"tag":98,"props":702,"children":703},{"style":178},[704],{"type":40,"value":181},{"type":34,"tag":98,"props":706,"children":707},{"class":100,"line":197},[708,712],{"type":34,"tag":98,"props":709,"children":710},{"style":172},[711],{"type":40,"value":203},{"type":34,"tag":98,"props":713,"children":714},{"style":178},[715],{"type":40,"value":181},{"type":34,"tag":98,"props":717,"children":718},{"class":100,"line":210},[719,723],{"type":34,"tag":98,"props":720,"children":721},{"style":172},[722],{"type":40,"value":216},{"type":34,"tag":98,"props":724,"children":725},{"style":178},[726],{"type":40,"value":181},{"type":34,"tag":98,"props":728,"children":729},{"class":100,"line":11},[730,734,738,742],{"type":34,"tag":98,"props":731,"children":732},{"style":178},[733],{"type":40,"value":228},{"type":34,"tag":98,"props":735,"children":736},{"style":172},[737],{"type":40,"value":233},{"type":34,"tag":98,"props":739,"children":740},{"style":178},[741],{"type":40,"value":238},{"type":34,"tag":98,"props":743,"children":744},{"style":110},[745],{"type":40,"value":243},{"type":34,"tag":98,"props":747,"children":748},{"class":100,"line":246},[749,753,757],{"type":34,"tag":98,"props":750,"children":751},{"style":172},[752],{"type":40,"value":252},{"type":34,"tag":98,"props":754,"children":755},{"style":178},[756],{"type":40,"value":238},{"type":34,"tag":98,"props":758,"children":759},{"style":110},[760],{"type":40,"value":261},{"type":34,"tag":98,"props":762,"children":763},{"class":100,"line":264},[764,768],{"type":34,"tag":98,"props":765,"children":766},{"style":172},[767],{"type":40,"value":270},{"type":34,"tag":98,"props":769,"children":770},{"style":178},[771],{"type":40,"value":181},{"type":34,"tag":98,"props":773,"children":774},{"class":100,"line":277},[775,779,783,787],{"type":34,"tag":98,"props":776,"children":777},{"style":178},[778],{"type":40,"value":228},{"type":34,"tag":98,"props":780,"children":781},{"style":172},[782],{"type":40,"value":233},{"type":34,"tag":98,"props":784,"children":785},{"style":178},[786],{"type":40,"value":238},{"type":34,"tag":98,"props":788,"children":789},{"style":110},[790],{"type":40,"value":295},{"type":34,"tag":98,"props":792,"children":793},{"class":100,"line":298},[794,798],{"type":34,"tag":98,"props":795,"children":796},{"style":172},[797],{"type":40,"value":304},{"type":34,"tag":98,"props":799,"children":800},{"style":178},[801],{"type":40,"value":181},{"type":34,"tag":98,"props":803,"children":804},{"class":100,"line":311},[805,809],{"type":34,"tag":98,"props":806,"children":807},{"style":178},[808],{"type":40,"value":317},{"type":34,"tag":98,"props":810,"children":811},{"style":110},[812],{"type":40,"value":322},{"type":34,"tag":98,"props":814,"children":815},{"class":100,"line":325},[816,820],{"type":34,"tag":98,"props":817,"children":818},{"style":178},[819],{"type":40,"value":317},{"type":34,"tag":98,"props":821,"children":822},{"style":110},[823],{"type":40,"value":335},{"type":34,"tag":98,"props":825,"children":826},{"class":100,"line":338},[827,831],{"type":34,"tag":98,"props":828,"children":829},{"style":178},[830],{"type":40,"value":317},{"type":34,"tag":98,"props":832,"children":833},{"style":110},[834],{"type":40,"value":348},{"type":34,"tag":98,"props":836,"children":837},{"class":100,"line":351},[838,842],{"type":34,"tag":98,"props":839,"children":840},{"style":178},[841],{"type":40,"value":317},{"type":34,"tag":98,"props":843,"children":844},{"style":110},[845],{"type":40,"value":361},{"type":34,"tag":98,"props":847,"children":848},{"class":100,"line":364},[849,853],{"type":34,"tag":98,"props":850,"children":851},{"style":178},[852],{"type":40,"value":317},{"type":34,"tag":98,"props":854,"children":855},{"style":110},[856],{"type":40,"value":374},{"type":34,"tag":43,"props":858,"children":859},{},[860,861,866,867,872],{"type":40,"value":379},{"type":34,"tag":94,"props":862,"children":864},{"className":863},[],[865],{"type":40,"value":385},{"type":40,"value":387},{"type":34,"tag":94,"props":868,"children":870},{"className":869},[],[871],{"type":40,"value":393},{"type":40,"value":395},{"type":34,"tag":66,"props":874,"children":875},{"id":398},[876],{"type":40,"value":401},{"type":34,"tag":43,"props":878,"children":879},{},[880,881,886],{"type":40,"value":406},{"type":34,"tag":94,"props":882,"children":884},{"className":883},[],[885],{"type":40,"value":412},{"type":40,"value":414},{"type":34,"tag":43,"props":888,"children":889},{},[890,894],{"type":34,"tag":419,"props":891,"children":892},{},[893],{"type":40,"value":423},{"type":40,"value":425},{"type":34,"tag":43,"props":896,"children":897},{},[898,902],{"type":34,"tag":419,"props":899,"children":900},{},[901],{"type":40,"value":433},{"type":40,"value":435},{"type":34,"tag":43,"props":904,"children":905},{},[906,910],{"type":34,"tag":419,"props":907,"children":908},{},[909],{"type":40,"value":443},{"type":40,"value":445},{"type":34,"tag":66,"props":912,"children":913},{"id":448},[914],{"type":40,"value":451},{"type":34,"tag":43,"props":916,"children":917},{},[918,919,924],{"type":40,"value":149},{"type":34,"tag":94,"props":920,"children":922},{"className":921},[],[923],{"type":40,"value":461},{"type":40,"value":463},{"type":34,"tag":87,"props":926,"children":927},{"className":160,"code":466,"language":162,"meta":7,"style":7},[928],{"type":34,"tag":94,"props":929,"children":930},{"__ignoreMap":7},[931,946,957,972],{"type":34,"tag":98,"props":932,"children":933},{"class":100,"line":17},[934,938,942],{"type":34,"tag":98,"props":935,"children":936},{"style":172},[937],{"type":40,"value":233},{"type":34,"tag":98,"props":939,"children":940},{"style":178},[941],{"type":40,"value":238},{"type":34,"tag":98,"props":943,"children":944},{"style":110},[945],{"type":40,"value":486},{"type":34,"tag":98,"props":947,"children":948},{"class":100,"line":184},[949,953],{"type":34,"tag":98,"props":950,"children":951},{"style":172},[952],{"type":40,"value":494},{"type":34,"tag":98,"props":954,"children":955},{"style":178},[956],{"type":40,"value":181},{"type":34,"tag":98,"props":958,"children":959},{"class":100,"line":197},[960,964,968],{"type":34,"tag":98,"props":961,"children":962},{"style":172},[963],{"type":40,"value":506},{"type":34,"tag":98,"props":965,"children":966},{"style":178},[967],{"type":40,"value":238},{"type":34,"tag":98,"props":969,"children":970},{"style":110},[971],{"type":40,"value":243},{"type":34,"tag":98,"props":973,"children":974},{"class":100,"line":210},[975,979,983],{"type":34,"tag":98,"props":976,"children":977},{"style":172},[978],{"type":40,"value":522},{"type":34,"tag":98,"props":980,"children":981},{"style":178},[982],{"type":40,"value":238},{"type":34,"tag":98,"props":984,"children":985},{"style":110},[986],{"type":40,"value":295},{"type":34,"tag":43,"props":988,"children":989},{},[990,991,996,997,1002],{"type":40,"value":535},{"type":34,"tag":94,"props":992,"children":994},{"className":993},[],[995],{"type":40,"value":155},{"type":40,"value":542},{"type":34,"tag":94,"props":998,"children":1000},{"className":999},[],[1001],{"type":40,"value":494},{"type":40,"value":549},{"type":34,"tag":35,"props":1004,"children":1005},{"id":552},[1006],{"type":40,"value":555},{"type":34,"tag":43,"props":1008,"children":1009},{},[1010],{"type":40,"value":560},{"type":34,"tag":562,"props":1012,"children":1013},{},[1014],{"type":40,"value":566},{"title":7,"searchDepth":184,"depth":184,"links":1016},[1017,1018,1019,1025],{"id":37,"depth":184,"text":41},{"id":50,"depth":184,"text":53},{"id":61,"depth":184,"text":64,"children":1020},[1021,1022,1023,1024],{"id":68,"depth":197,"text":71},{"id":141,"depth":197,"text":144},{"id":398,"depth":197,"text":401},{"id":448,"depth":197,"text":451},{"id":552,"depth":184,"text":555},[1027,1469],{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"readingTime":11,"category":12,"tags":1028,"difficulty":16,"module":5,"step":17,"subSteps":18,"learnMore":1029,"author":1032,"body":1033,"_type":578,"_id":579,"_source":580,"_file":581,"_stem":582,"_extension":583},[14,15],[1030,1031],{"label":21,"url":22},{"label":24,"url":25},{"name":27,"role":28,"image":29},{"type":31,"children":1034,"toc":1458},[1035,1039,1043,1047,1051,1055,1059,1065,1069,1090,1094,1102,1106,1110,1120,1300,1316,1320,1330,1338,1346,1354,1358,1368,1430,1446,1450,1454],{"type":34,"tag":35,"props":1036,"children":1037},{"id":37},[1038],{"type":40,"value":41},{"type":34,"tag":43,"props":1040,"children":1041},{},[1042],{"type":40,"value":47},{"type":34,"tag":35,"props":1044,"children":1045},{"id":50},[1046],{"type":40,"value":53},{"type":34,"tag":43,"props":1048,"children":1049},{},[1050],{"type":40,"value":58},{"type":34,"tag":35,"props":1052,"children":1053},{"id":61},[1054],{"type":40,"value":64},{"type":34,"tag":66,"props":1056,"children":1057},{"id":68},[1058],{"type":40,"value":71},{"type":34,"tag":43,"props":1060,"children":1061},{},[1062],{"type":34,"tag":76,"props":1063,"children":1064},{"alt":78,"src":79},[],{"type":34,"tag":43,"props":1066,"children":1067},{},[1068],{"type":40,"value":85},{"type":34,"tag":87,"props":1070,"children":1071},{"className":89,"code":90,"language":91,"meta":7,"style":7},[1072],{"type":34,"tag":94,"props":1073,"children":1074},{"__ignoreMap":7},[1075],{"type":34,"tag":98,"props":1076,"children":1077},{"class":100,"line":17},[1078,1082,1086],{"type":34,"tag":98,"props":1079,"children":1080},{"style":104},[1081],{"type":40,"value":107},{"type":34,"tag":98,"props":1083,"children":1084},{"style":110},[1085],{"type":40,"value":113},{"type":34,"tag":98,"props":1087,"children":1088},{"style":110},[1089],{"type":40,"value":118},{"type":34,"tag":43,"props":1091,"children":1092},{},[1093],{"type":40,"value":123},{"type":34,"tag":87,"props":1095,"children":1097},{"className":1096,"code":128,"language":40},[127],[1098],{"type":34,"tag":94,"props":1099,"children":1100},{"__ignoreMap":7},[1101],{"type":40,"value":128},{"type":34,"tag":43,"props":1103,"children":1104},{},[1105],{"type":40,"value":138},{"type":34,"tag":66,"props":1107,"children":1108},{"id":141},[1109],{"type":40,"value":144},{"type":34,"tag":43,"props":1111,"children":1112},{},[1113,1114,1119],{"type":40,"value":149},{"type":34,"tag":94,"props":1115,"children":1117},{"className":1116},[],[1118],{"type":40,"value":155},{"type":40,"value":157},{"type":34,"tag":87,"props":1121,"children":1122},{"className":160,"code":161,"language":162,"meta":7,"style":7},[1123],{"type":34,"tag":94,"props":1124,"children":1125},{"__ignoreMap":7},[1126,1137,1148,1159,1170,1189,1204,1215,1234,1245,1256,1267,1278,1289],{"type":34,"tag":98,"props":1127,"children":1128},{"class":100,"line":17},[1129,1133],{"type":34,"tag":98,"props":1130,"children":1131},{"style":172},[1132],{"type":40,"value":175},{"type":34,"tag":98,"props":1134,"children":1135},{"style":178},[1136],{"type":40,"value":181},{"type":34,"tag":98,"props":1138,"children":1139},{"class":100,"line":184},[1140,1144],{"type":34,"tag":98,"props":1141,"children":1142},{"style":172},[1143],{"type":40,"value":190},{"type":34,"tag":98,"props":1145,"children":1146},{"style":178},[1147],{"type":40,"value":181},{"type":34,"tag":98,"props":1149,"children":1150},{"class":100,"line":197},[1151,1155],{"type":34,"tag":98,"props":1152,"children":1153},{"style":172},[1154],{"type":40,"value":203},{"type":34,"tag":98,"props":1156,"children":1157},{"style":178},[1158],{"type":40,"value":181},{"type":34,"tag":98,"props":1160,"children":1161},{"class":100,"line":210},[1162,1166],{"type":34,"tag":98,"props":1163,"children":1164},{"style":172},[1165],{"type":40,"value":216},{"type":34,"tag":98,"props":1167,"children":1168},{"style":178},[1169],{"type":40,"value":181},{"type":34,"tag":98,"props":1171,"children":1172},{"class":100,"line":11},[1173,1177,1181,1185],{"type":34,"tag":98,"props":1174,"children":1175},{"style":178},[1176],{"type":40,"value":228},{"type":34,"tag":98,"props":1178,"children":1179},{"style":172},[1180],{"type":40,"value":233},{"type":34,"tag":98,"props":1182,"children":1183},{"style":178},[1184],{"type":40,"value":238},{"type":34,"tag":98,"props":1186,"children":1187},{"style":110},[1188],{"type":40,"value":243},{"type":34,"tag":98,"props":1190,"children":1191},{"class":100,"line":246},[1192,1196,1200],{"type":34,"tag":98,"props":1193,"children":1194},{"style":172},[1195],{"type":40,"value":252},{"type":34,"tag":98,"props":1197,"children":1198},{"style":178},[1199],{"type":40,"value":238},{"type":34,"tag":98,"props":1201,"children":1202},{"style":110},[1203],{"type":40,"value":261},{"type":34,"tag":98,"props":1205,"children":1206},{"class":100,"line":264},[1207,1211],{"type":34,"tag":98,"props":1208,"children":1209},{"style":172},[1210],{"type":40,"value":270},{"type":34,"tag":98,"props":1212,"children":1213},{"style":178},[1214],{"type":40,"value":181},{"type":34,"tag":98,"props":1216,"children":1217},{"class":100,"line":277},[1218,1222,1226,1230],{"type":34,"tag":98,"props":1219,"children":1220},{"style":178},[1221],{"type":40,"value":228},{"type":34,"tag":98,"props":1223,"children":1224},{"style":172},[1225],{"type":40,"value":233},{"type":34,"tag":98,"props":1227,"children":1228},{"style":178},[1229],{"type":40,"value":238},{"type":34,"tag":98,"props":1231,"children":1232},{"style":110},[1233],{"type":40,"value":295},{"type":34,"tag":98,"props":1235,"children":1236},{"class":100,"line":298},[1237,1241],{"type":34,"tag":98,"props":1238,"children":1239},{"style":172},[1240],{"type":40,"value":304},{"type":34,"tag":98,"props":1242,"children":1243},{"style":178},[1244],{"type":40,"value":181},{"type":34,"tag":98,"props":1246,"children":1247},{"class":100,"line":311},[1248,1252],{"type":34,"tag":98,"props":1249,"children":1250},{"style":178},[1251],{"type":40,"value":317},{"type":34,"tag":98,"props":1253,"children":1254},{"style":110},[1255],{"type":40,"value":322},{"type":34,"tag":98,"props":1257,"children":1258},{"class":100,"line":325},[1259,1263],{"type":34,"tag":98,"props":1260,"children":1261},{"style":178},[1262],{"type":40,"value":317},{"type":34,"tag":98,"props":1264,"children":1265},{"style":110},[1266],{"type":40,"value":335},{"type":34,"tag":98,"props":1268,"children":1269},{"class":100,"line":338},[1270,1274],{"type":34,"tag":98,"props":1271,"children":1272},{"style":178},[1273],{"type":40,"value":317},{"type":34,"tag":98,"props":1275,"children":1276},{"style":110},[1277],{"type":40,"value":348},{"type":34,"tag":98,"props":1279,"children":1280},{"class":100,"line":351},[1281,1285],{"type":34,"tag":98,"props":1282,"children":1283},{"style":178},[1284],{"type":40,"value":317},{"type":34,"tag":98,"props":1286,"children":1287},{"style":110},[1288],{"type":40,"value":361},{"type":34,"tag":98,"props":1290,"children":1291},{"class":100,"line":364},[1292,1296],{"type":34,"tag":98,"props":1293,"children":1294},{"style":178},[1295],{"type":40,"value":317},{"type":34,"tag":98,"props":1297,"children":1298},{"style":110},[1299],{"type":40,"value":374},{"type":34,"tag":43,"props":1301,"children":1302},{},[1303,1304,1309,1310,1315],{"type":40,"value":379},{"type":34,"tag":94,"props":1305,"children":1307},{"className":1306},[],[1308],{"type":40,"value":385},{"type":40,"value":387},{"type":34,"tag":94,"props":1311,"children":1313},{"className":1312},[],[1314],{"type":40,"value":393},{"type":40,"value":395},{"type":34,"tag":66,"props":1317,"children":1318},{"id":398},[1319],{"type":40,"value":401},{"type":34,"tag":43,"props":1321,"children":1322},{},[1323,1324,1329],{"type":40,"value":406},{"type":34,"tag":94,"props":1325,"children":1327},{"className":1326},[],[1328],{"type":40,"value":412},{"type":40,"value":414},{"type":34,"tag":43,"props":1331,"children":1332},{},[1333,1337],{"type":34,"tag":419,"props":1334,"children":1335},{},[1336],{"type":40,"value":423},{"type":40,"value":425},{"type":34,"tag":43,"props":1339,"children":1340},{},[1341,1345],{"type":34,"tag":419,"props":1342,"children":1343},{},[1344],{"type":40,"value":433},{"type":40,"value":435},{"type":34,"tag":43,"props":1347,"children":1348},{},[1349,1353],{"type":34,"tag":419,"props":1350,"children":1351},{},[1352],{"type":40,"value":443},{"type":40,"value":445},{"type":34,"tag":66,"props":1355,"children":1356},{"id":448},[1357],{"type":40,"value":451},{"type":34,"tag":43,"props":1359,"children":1360},{},[1361,1362,1367],{"type":40,"value":149},{"type":34,"tag":94,"props":1363,"children":1365},{"className":1364},[],[1366],{"type":40,"value":461},{"type":40,"value":463},{"type":34,"tag":87,"props":1369,"children":1370},{"className":160,"code":466,"language":162,"meta":7,"style":7},[1371],{"type":34,"tag":94,"props":1372,"children":1373},{"__ignoreMap":7},[1374,1389,1400,1415],{"type":34,"tag":98,"props":1375,"children":1376},{"class":100,"line":17},[1377,1381,1385],{"type":34,"tag":98,"props":1378,"children":1379},{"style":172},[1380],{"type":40,"value":233},{"type":34,"tag":98,"props":1382,"children":1383},{"style":178},[1384],{"type":40,"value":238},{"type":34,"tag":98,"props":1386,"children":1387},{"style":110},[1388],{"type":40,"value":486},{"type":34,"tag":98,"props":1390,"children":1391},{"class":100,"line":184},[1392,1396],{"type":34,"tag":98,"props":1393,"children":1394},{"style":172},[1395],{"type":40,"value":494},{"type":34,"tag":98,"props":1397,"children":1398},{"style":178},[1399],{"type":40,"value":181},{"type":34,"tag":98,"props":1401,"children":1402},{"class":100,"line":197},[1403,1407,1411],{"type":34,"tag":98,"props":1404,"children":1405},{"style":172},[1406],{"type":40,"value":506},{"type":34,"tag":98,"props":1408,"children":1409},{"style":178},[1410],{"type":40,"value":238},{"type":34,"tag":98,"props":1412,"children":1413},{"style":110},[1414],{"type":40,"value":243},{"type":34,"tag":98,"props":1416,"children":1417},{"class":100,"line":210},[1418,1422,1426],{"type":34,"tag":98,"props":1419,"children":1420},{"style":172},[1421],{"type":40,"value":522},{"type":34,"tag":98,"props":1423,"children":1424},{"style":178},[1425],{"type":40,"value":238},{"type":34,"tag":98,"props":1427,"children":1428},{"style":110},[1429],{"type":40,"value":295},{"type":34,"tag":43,"props":1431,"children":1432},{},[1433,1434,1439,1440,1445],{"type":40,"value":535},{"type":34,"tag":94,"props":1435,"children":1437},{"className":1436},[],[1438],{"type":40,"value":155},{"type":40,"value":542},{"type":34,"tag":94,"props":1441,"children":1443},{"className":1442},[],[1444],{"type":40,"value":494},{"type":40,"value":549},{"type":34,"tag":35,"props":1447,"children":1448},{"id":552},[1449],{"type":40,"value":555},{"type":34,"tag":43,"props":1451,"children":1452},{},[1453],{"type":40,"value":560},{"type":34,"tag":562,"props":1455,"children":1456},{},[1457],{"type":40,"value":566},{"title":7,"searchDepth":184,"depth":184,"links":1459},[1460,1461,1462,1468],{"id":37,"depth":184,"text":41},{"id":50,"depth":184,"text":53},{"id":61,"depth":184,"text":64,"children":1463},[1464,1465,1466,1467],{"id":68,"depth":197,"text":71},{"id":141,"depth":197,"text":144},{"id":398,"depth":197,"text":401},{"id":448,"depth":197,"text":451},{"id":552,"depth":184,"text":555},{"_path":1470,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":1471,"description":1472,"date":10,"readingTime":197,"category":12,"tags":1473,"difficulty":16,"module":5,"step":184,"subSteps":18,"learnMore":1474,"stepGif":1481,"author":1482,"body":1483,"_type":578,"_id":1797,"_source":580,"_file":1798,"_stem":1799,"_extension":583},"/tutorials/chess-duckdb/run-pipeline","Run & Query","Execute the chess pipeline and query the results in DuckDB to verify your data.",[14,15],[1475,1478],{"label":1476,"url":1477},"Bruin run command","https://getbruin.com/docs/bruin/commands/run.html",{"label":1479,"url":1480},"Bruin query command","https://getbruin.com/docs/bruin/commands/query.html","/img/learn/tutorials/chesspipeline.gif",{"name":27,"role":28,"image":29},{"type":31,"children":1484,"toc":1787},[1485,1489,1494,1498,1503,1507,1513,1518,1542,1547,1574,1579,1587,1593,1598,1638,1688,1694,1699,1734,1739,1774,1778,1783],{"type":34,"tag":35,"props":1486,"children":1487},{"id":37},[1488],{"type":40,"value":41},{"type":34,"tag":43,"props":1490,"children":1491},{},[1492],{"type":40,"value":1493},"Run the pipeline to ingest chess data, then query DuckDB to verify the results.",{"type":34,"tag":35,"props":1495,"children":1496},{"id":50},[1497],{"type":40,"value":53},{"type":34,"tag":43,"props":1499,"children":1500},{},[1501],{"type":40,"value":1502},"Running the pipeline is where everything comes together. Bruin resolves dependencies between assets, executes ingestors first, then runs the SQL transformation. Querying the output confirms your pipeline works end-to-end.",{"type":34,"tag":35,"props":1504,"children":1505},{"id":61},[1506],{"type":40,"value":64},{"type":34,"tag":66,"props":1508,"children":1510},{"id":1509},"_1-run-the-pipeline",[1511],{"type":40,"value":1512},"1) Run the pipeline",{"type":34,"tag":43,"props":1514,"children":1515},{},[1516],{"type":40,"value":1517},"Execute the entire pipeline with a single command:",{"type":34,"tag":87,"props":1519,"children":1521},{"className":89,"code":1520,"language":91,"meta":7,"style":7},"bruin run ./chess/pipeline.yml\n",[1522],{"type":34,"tag":94,"props":1523,"children":1524},{"__ignoreMap":7},[1525],{"type":34,"tag":98,"props":1526,"children":1527},{"class":100,"line":17},[1528,1532,1537],{"type":34,"tag":98,"props":1529,"children":1530},{"style":104},[1531],{"type":40,"value":107},{"type":34,"tag":98,"props":1533,"children":1534},{"style":110},[1535],{"type":40,"value":1536}," run",{"type":34,"tag":98,"props":1538,"children":1539},{"style":110},[1540],{"type":40,"value":1541}," ./chess/pipeline.yml\n",{"type":34,"tag":43,"props":1543,"children":1544},{},[1545],{"type":40,"value":1546},"Bruin will:",{"type":34,"tag":1548,"props":1549,"children":1550},"ol",{},[1551,1557,1562],{"type":34,"tag":1552,"props":1553,"children":1554},"li",{},[1555],{"type":40,"value":1556},"Fetch chess games for each player from the Chess.com API",{"type":34,"tag":1552,"props":1558,"children":1559},{},[1560],{"type":40,"value":1561},"Fetch player profiles",{"type":34,"tag":1552,"props":1563,"children":1564},{},[1565,1567,1572],{"type":40,"value":1566},"Run the ",{"type":34,"tag":94,"props":1568,"children":1570},{"className":1569},[],[1571],{"type":40,"value":443},{"type":40,"value":1573}," transformation to create the summary table",{"type":34,"tag":43,"props":1575,"children":1576},{},[1577],{"type":40,"value":1578},"You'll see progress output as each asset completes. You can also view the pipeline lineage to see how assets connect:",{"type":34,"tag":43,"props":1580,"children":1581},{},[1582],{"type":34,"tag":76,"props":1583,"children":1586},{"alt":1584,"src":1585},"Pipeline lineage in the CLI","/img/learn/tutorials/lineage-cli.gif",[],{"type":34,"tag":66,"props":1588,"children":1590},{"id":1589},"_2-query-the-results",[1591],{"type":40,"value":1592},"2) Query the results",{"type":34,"tag":43,"props":1594,"children":1595},{},[1596],{"type":40,"value":1597},"Once the pipeline finishes, verify the data by querying DuckDB:",{"type":34,"tag":87,"props":1599,"children":1601},{"className":89,"code":1600,"language":91,"meta":7,"style":7},"bruin query --c duckdb-default --q \"SELECT * FROM chess_playground.player_summary LIMIT 10;\"\n",[1602],{"type":34,"tag":94,"props":1603,"children":1604},{"__ignoreMap":7},[1605],{"type":34,"tag":98,"props":1606,"children":1607},{"class":100,"line":17},[1608,1612,1617,1623,1628,1633],{"type":34,"tag":98,"props":1609,"children":1610},{"style":104},[1611],{"type":40,"value":107},{"type":34,"tag":98,"props":1613,"children":1614},{"style":110},[1615],{"type":40,"value":1616}," query",{"type":34,"tag":98,"props":1618,"children":1620},{"style":1619},"--shiki-default:#79B8FF",[1621],{"type":40,"value":1622}," --c",{"type":34,"tag":98,"props":1624,"children":1625},{"style":110},[1626],{"type":40,"value":1627}," duckdb-default",{"type":34,"tag":98,"props":1629,"children":1630},{"style":1619},[1631],{"type":40,"value":1632}," --q",{"type":34,"tag":98,"props":1634,"children":1635},{"style":110},[1636],{"type":40,"value":1637}," \"SELECT * FROM chess_playground.player_summary LIMIT 10;\"\n",{"type":34,"tag":43,"props":1639,"children":1640},{},[1641,1643,1649,1651,1657,1658,1664,1665,1671,1672,1678,1680,1686],{"type":40,"value":1642},"You should see a table with columns like ",{"type":34,"tag":94,"props":1644,"children":1646},{"className":1645},[],[1647],{"type":40,"value":1648},"username",{"type":40,"value":1650},", ",{"type":34,"tag":94,"props":1652,"children":1654},{"className":1653},[],[1655],{"type":40,"value":1656},"total_games",{"type":40,"value":1650},{"type":34,"tag":94,"props":1659,"children":1661},{"className":1660},[],[1662],{"type":40,"value":1663},"wins",{"type":40,"value":1650},{"type":34,"tag":94,"props":1666,"children":1668},{"className":1667},[],[1669],{"type":40,"value":1670},"losses",{"type":40,"value":1650},{"type":34,"tag":94,"props":1673,"children":1675},{"className":1674},[],[1676],{"type":40,"value":1677},"draws",{"type":40,"value":1679},", and ",{"type":34,"tag":94,"props":1681,"children":1683},{"className":1682},[],[1684],{"type":40,"value":1685},"win_rate",{"type":40,"value":1687},". Each row represents one of the chess players you configured.",{"type":34,"tag":66,"props":1689,"children":1691},{"id":1690},"_3-explore-the-data",[1692],{"type":40,"value":1693},"3) Explore the data",{"type":34,"tag":43,"props":1695,"children":1696},{},[1697],{"type":40,"value":1698},"Try running additional queries to explore the ingested data:",{"type":34,"tag":87,"props":1700,"children":1702},{"className":89,"code":1701,"language":91,"meta":7,"style":7},"bruin query --c duckdb-default --q \"SELECT username, total_games, win_rate FROM chess_playground.player_summary ORDER BY win_rate DESC;\"\n",[1703],{"type":34,"tag":94,"props":1704,"children":1705},{"__ignoreMap":7},[1706],{"type":34,"tag":98,"props":1707,"children":1708},{"class":100,"line":17},[1709,1713,1717,1721,1725,1729],{"type":34,"tag":98,"props":1710,"children":1711},{"style":104},[1712],{"type":40,"value":107},{"type":34,"tag":98,"props":1714,"children":1715},{"style":110},[1716],{"type":40,"value":1616},{"type":34,"tag":98,"props":1718,"children":1719},{"style":1619},[1720],{"type":40,"value":1622},{"type":34,"tag":98,"props":1722,"children":1723},{"style":110},[1724],{"type":40,"value":1627},{"type":34,"tag":98,"props":1726,"children":1727},{"style":1619},[1728],{"type":40,"value":1632},{"type":34,"tag":98,"props":1730,"children":1731},{"style":110},[1732],{"type":40,"value":1733}," \"SELECT username, total_games, win_rate FROM chess_playground.player_summary ORDER BY win_rate DESC;\"\n",{"type":34,"tag":43,"props":1735,"children":1736},{},[1737],{"type":40,"value":1738},"You can also query the raw ingested tables directly:",{"type":34,"tag":87,"props":1740,"children":1742},{"className":89,"code":1741,"language":91,"meta":7,"style":7},"bruin query --c duckdb-default --q \"SELECT * FROM chess_playground.chess_games LIMIT 5;\"\n",[1743],{"type":34,"tag":94,"props":1744,"children":1745},{"__ignoreMap":7},[1746],{"type":34,"tag":98,"props":1747,"children":1748},{"class":100,"line":17},[1749,1753,1757,1761,1765,1769],{"type":34,"tag":98,"props":1750,"children":1751},{"style":104},[1752],{"type":40,"value":107},{"type":34,"tag":98,"props":1754,"children":1755},{"style":110},[1756],{"type":40,"value":1616},{"type":34,"tag":98,"props":1758,"children":1759},{"style":1619},[1760],{"type":40,"value":1622},{"type":34,"tag":98,"props":1762,"children":1763},{"style":110},[1764],{"type":40,"value":1627},{"type":34,"tag":98,"props":1766,"children":1767},{"style":1619},[1768],{"type":40,"value":1632},{"type":34,"tag":98,"props":1770,"children":1771},{"style":110},[1772],{"type":40,"value":1773}," \"SELECT * FROM chess_playground.chess_games LIMIT 5;\"\n",{"type":34,"tag":35,"props":1775,"children":1776},{"id":552},[1777],{"type":40,"value":555},{"type":34,"tag":43,"props":1779,"children":1780},{},[1781],{"type":40,"value":1782},"You built and ran your first Bruin pipeline. Chess data was fetched from a public API, loaded into DuckDB, and transformed into a summary table - all with a single command. From here, you can add more players, create additional SQL transformations, or try connecting to a different data warehouse.",{"type":34,"tag":562,"props":1784,"children":1785},{},[1786],{"type":40,"value":566},{"title":7,"searchDepth":184,"depth":184,"links":1788},[1789,1790,1791,1796],{"id":37,"depth":184,"text":41},{"id":50,"depth":184,"text":53},{"id":61,"depth":184,"text":64,"children":1792},[1793,1794,1795],{"id":1509,"depth":197,"text":1512},{"id":1589,"depth":197,"text":1592},{"id":1690,"depth":197,"text":1693},{"id":552,"depth":184,"text":555},"content:tutorials:chess-duckdb:run-pipeline.md","tutorials/chess-duckdb/run-pipeline.md","tutorials/chess-duckdb/run-pipeline",1776427878513]