[{"data":1,"prerenderedAt":3531},["ShallowReactive",2],{"tutorial-oracle-duckdb/initialize-configure":3,"content-query-ozgLwEozck":562,"content-query-rKSNKbqzOY":988},{"_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":556,"_id":557,"_source":558,"_file":559,"_stem":560,"_extension":561},"/tutorials/oracle-duckdb/initialize-configure","oracle-duckdb",false,"","Initialize & Configure","Scaffold the oracle-duckdb template project and configure Oracle and DuckDB connections.","2026-04-15",4,"Tutorial",[14,15],"Bruin CLI","DuckDB","Intermediate",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},"Oracle connection reference","https://getbruin.com/docs/bruin/connections/oracle.html",{"name":27,"role":28,"image":29},"Bruin Team","Bruin Data","/bruin-logo-2025.svg",{"type":31,"children":32,"toc":546},"root",[33,42,48,54,59,65,72,81,94,145,150,160,166,179,406,431,437,445,457,524,529,535,540],{"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 project from the oracle-duckdb template and configure connections for both Oracle and DuckDB.",{"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 template gives you a pre-built pipeline with ingestr assets for Oracle-to-DuckDB ingestion and a downstream SQL transformation. Configuring the connections correctly is critical - the asset names in the template expect specific connection names to work automatically.",{"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,86,92],{"type":40,"value":85},"Create a new project from the ",{"type":34,"tag":87,"props":88,"children":90},"code",{"className":89},[],[91],{"type":40,"value":5},{"type":40,"value":93}," template:",{"type":34,"tag":95,"props":96,"children":100},"pre",{"className":97,"code":98,"language":99,"meta":7,"style":7},"language-bash shiki shiki-themes github-dark","bruin init oracle-duckdb oracle-demo\ncd oracle-demo\n","bash",[101],{"type":34,"tag":87,"props":102,"children":103},{"__ignoreMap":7},[104,131],{"type":34,"tag":105,"props":106,"children":108},"span",{"class":107,"line":17},"line",[109,115,121,126],{"type":34,"tag":105,"props":110,"children":112},{"style":111},"--shiki-default:#B392F0",[113],{"type":40,"value":114},"bruin",{"type":34,"tag":105,"props":116,"children":118},{"style":117},"--shiki-default:#9ECBFF",[119],{"type":40,"value":120}," init",{"type":34,"tag":105,"props":122,"children":123},{"style":117},[124],{"type":40,"value":125}," oracle-duckdb",{"type":34,"tag":105,"props":127,"children":128},{"style":117},[129],{"type":40,"value":130}," oracle-demo\n",{"type":34,"tag":105,"props":132,"children":134},{"class":107,"line":133},2,[135,141],{"type":34,"tag":105,"props":136,"children":138},{"style":137},"--shiki-default:#79B8FF",[139],{"type":40,"value":140},"cd",{"type":34,"tag":105,"props":142,"children":143},{"style":117},[144],{"type":40,"value":130},{"type":34,"tag":43,"props":146,"children":147},{},[148],{"type":40,"value":149},"This creates a project with:",{"type":34,"tag":95,"props":151,"children":155},{"className":152,"code":154,"language":40},[153],"language-text","oracle-demo/\n├── assets/\n│   ├── customers.asset.yml       # ingestr: Oracle → DuckDB\n│   ├── orders.asset.yml          # ingestr: Oracle → DuckDB\n│   ├── order_items.asset.yml     # ingestr: Oracle → DuckDB\n│   └── sales_per_customer.sql    # SQL transformation in DuckDB\n├── .bruin.yml\n└── pipeline.yml\n",[156],{"type":34,"tag":87,"props":157,"children":158},{"__ignoreMap":7},[159],{"type":40,"value":154},{"type":34,"tag":66,"props":161,"children":163},{"id":162},"_2-configure-connections",[164],{"type":40,"value":165},"2) Configure connections",{"type":34,"tag":43,"props":167,"children":168},{},[169,171,177],{"type":40,"value":170},"Open ",{"type":34,"tag":87,"props":172,"children":174},{"className":173},[],[175],{"type":40,"value":176},".bruin.yml",{"type":40,"value":178}," and set the Oracle and DuckDB connection details:",{"type":34,"tag":95,"props":180,"children":184},{"className":181,"code":182,"language":183,"meta":7,"style":7},"language-yaml shiki shiki-themes github-dark","environments:\n  default:\n    connections:\n      oracle:\n        - name: \"oracle-default\"\n          host: \"127.0.0.1\"\n          port: 1521\n          user: \"BRUIN_TMPL\"\n          password: \"BruinRocks123\"\n          service_name: \"XEPDB1\"\n      duckdb:\n        - name: \"duckdb-default\"\n          path: \"./oracle_duckdb.db\"\n","yaml",[185],{"type":34,"tag":87,"props":186,"children":187},{"__ignoreMap":7},[188,203,215,228,240,264,282,300,318,336,354,367,388],{"type":34,"tag":105,"props":189,"children":190},{"class":107,"line":17},[191,197],{"type":34,"tag":105,"props":192,"children":194},{"style":193},"--shiki-default:#85E89D",[195],{"type":40,"value":196},"environments",{"type":34,"tag":105,"props":198,"children":200},{"style":199},"--shiki-default:#E1E4E8",[201],{"type":40,"value":202},":\n",{"type":34,"tag":105,"props":204,"children":205},{"class":107,"line":133},[206,211],{"type":34,"tag":105,"props":207,"children":208},{"style":193},[209],{"type":40,"value":210},"  default",{"type":34,"tag":105,"props":212,"children":213},{"style":199},[214],{"type":40,"value":202},{"type":34,"tag":105,"props":216,"children":218},{"class":107,"line":217},3,[219,224],{"type":34,"tag":105,"props":220,"children":221},{"style":193},[222],{"type":40,"value":223},"    connections",{"type":34,"tag":105,"props":225,"children":226},{"style":199},[227],{"type":40,"value":202},{"type":34,"tag":105,"props":229,"children":230},{"class":107,"line":11},[231,236],{"type":34,"tag":105,"props":232,"children":233},{"style":193},[234],{"type":40,"value":235},"      oracle",{"type":34,"tag":105,"props":237,"children":238},{"style":199},[239],{"type":40,"value":202},{"type":34,"tag":105,"props":241,"children":243},{"class":107,"line":242},5,[244,249,254,259],{"type":34,"tag":105,"props":245,"children":246},{"style":199},[247],{"type":40,"value":248},"        - ",{"type":34,"tag":105,"props":250,"children":251},{"style":193},[252],{"type":40,"value":253},"name",{"type":34,"tag":105,"props":255,"children":256},{"style":199},[257],{"type":40,"value":258},": ",{"type":34,"tag":105,"props":260,"children":261},{"style":117},[262],{"type":40,"value":263},"\"oracle-default\"\n",{"type":34,"tag":105,"props":265,"children":267},{"class":107,"line":266},6,[268,273,277],{"type":34,"tag":105,"props":269,"children":270},{"style":193},[271],{"type":40,"value":272},"          host",{"type":34,"tag":105,"props":274,"children":275},{"style":199},[276],{"type":40,"value":258},{"type":34,"tag":105,"props":278,"children":279},{"style":117},[280],{"type":40,"value":281},"\"127.0.0.1\"\n",{"type":34,"tag":105,"props":283,"children":285},{"class":107,"line":284},7,[286,291,295],{"type":34,"tag":105,"props":287,"children":288},{"style":193},[289],{"type":40,"value":290},"          port",{"type":34,"tag":105,"props":292,"children":293},{"style":199},[294],{"type":40,"value":258},{"type":34,"tag":105,"props":296,"children":297},{"style":137},[298],{"type":40,"value":299},"1521\n",{"type":34,"tag":105,"props":301,"children":303},{"class":107,"line":302},8,[304,309,313],{"type":34,"tag":105,"props":305,"children":306},{"style":193},[307],{"type":40,"value":308},"          user",{"type":34,"tag":105,"props":310,"children":311},{"style":199},[312],{"type":40,"value":258},{"type":34,"tag":105,"props":314,"children":315},{"style":117},[316],{"type":40,"value":317},"\"BRUIN_TMPL\"\n",{"type":34,"tag":105,"props":319,"children":321},{"class":107,"line":320},9,[322,327,331],{"type":34,"tag":105,"props":323,"children":324},{"style":193},[325],{"type":40,"value":326},"          password",{"type":34,"tag":105,"props":328,"children":329},{"style":199},[330],{"type":40,"value":258},{"type":34,"tag":105,"props":332,"children":333},{"style":117},[334],{"type":40,"value":335},"\"BruinRocks123\"\n",{"type":34,"tag":105,"props":337,"children":339},{"class":107,"line":338},10,[340,345,349],{"type":34,"tag":105,"props":341,"children":342},{"style":193},[343],{"type":40,"value":344},"          service_name",{"type":34,"tag":105,"props":346,"children":347},{"style":199},[348],{"type":40,"value":258},{"type":34,"tag":105,"props":350,"children":351},{"style":117},[352],{"type":40,"value":353},"\"XEPDB1\"\n",{"type":34,"tag":105,"props":355,"children":357},{"class":107,"line":356},11,[358,363],{"type":34,"tag":105,"props":359,"children":360},{"style":193},[361],{"type":40,"value":362},"      duckdb",{"type":34,"tag":105,"props":364,"children":365},{"style":199},[366],{"type":40,"value":202},{"type":34,"tag":105,"props":368,"children":370},{"class":107,"line":369},12,[371,375,379,383],{"type":34,"tag":105,"props":372,"children":373},{"style":199},[374],{"type":40,"value":248},{"type":34,"tag":105,"props":376,"children":377},{"style":193},[378],{"type":40,"value":253},{"type":34,"tag":105,"props":380,"children":381},{"style":199},[382],{"type":40,"value":258},{"type":34,"tag":105,"props":384,"children":385},{"style":117},[386],{"type":40,"value":387},"\"duckdb-default\"\n",{"type":34,"tag":105,"props":389,"children":391},{"class":107,"line":390},13,[392,397,401],{"type":34,"tag":105,"props":393,"children":394},{"style":193},[395],{"type":40,"value":396},"          path",{"type":34,"tag":105,"props":398,"children":399},{"style":199},[400],{"type":40,"value":258},{"type":34,"tag":105,"props":402,"children":403},{"style":117},[404],{"type":40,"value":405},"\"./oracle_duckdb.db\"\n",{"type":34,"tag":407,"props":408,"children":409},"note",{},[410],{"type":34,"tag":43,"props":411,"children":412},{},[413,415,421,423,429],{"type":40,"value":414},"Keep the connection names as ",{"type":34,"tag":87,"props":416,"children":418},{"className":417},[],[419],{"type":40,"value":420},"oracle-default",{"type":40,"value":422}," and ",{"type":34,"tag":87,"props":424,"children":426},{"className":425},[],[427],{"type":40,"value":428},"duckdb-default",{"type":40,"value":430}," - the template assets reference these names. Changing them would require updating every asset file.",{"type":34,"tag":66,"props":432,"children":434},{"id":433},"_3-review-the-pipeline-config",[435],{"type":40,"value":436},"3) Review the pipeline config",{"type":34,"tag":43,"props":438,"children":439},{},[440],{"type":34,"tag":76,"props":441,"children":444},{"alt":442,"src":443},"Oracle pipeline lineage","/img/learn/tutorials/oracle-lineage.png",[],{"type":34,"tag":43,"props":446,"children":447},{},[448,449,455],{"type":40,"value":170},{"type":34,"tag":87,"props":450,"children":452},{"className":451},[],[453],{"type":40,"value":454},"pipeline.yml",{"type":40,"value":456}," to see the pipeline setup:",{"type":34,"tag":95,"props":458,"children":460},{"className":181,"code":459,"language":183,"meta":7,"style":7},"name: oracle-duckdb\ndefault_connections:\n  oracle: \"oracle-default\"\n  duckdb: \"duckdb-default\"\n",[461],{"type":34,"tag":87,"props":462,"children":463},{"__ignoreMap":7},[464,480,492,508],{"type":34,"tag":105,"props":465,"children":466},{"class":107,"line":17},[467,471,475],{"type":34,"tag":105,"props":468,"children":469},{"style":193},[470],{"type":40,"value":253},{"type":34,"tag":105,"props":472,"children":473},{"style":199},[474],{"type":40,"value":258},{"type":34,"tag":105,"props":476,"children":477},{"style":117},[478],{"type":40,"value":479},"oracle-duckdb\n",{"type":34,"tag":105,"props":481,"children":482},{"class":107,"line":133},[483,488],{"type":34,"tag":105,"props":484,"children":485},{"style":193},[486],{"type":40,"value":487},"default_connections",{"type":34,"tag":105,"props":489,"children":490},{"style":199},[491],{"type":40,"value":202},{"type":34,"tag":105,"props":493,"children":494},{"class":107,"line":217},[495,500,504],{"type":34,"tag":105,"props":496,"children":497},{"style":193},[498],{"type":40,"value":499},"  oracle",{"type":34,"tag":105,"props":501,"children":502},{"style":199},[503],{"type":40,"value":258},{"type":34,"tag":105,"props":505,"children":506},{"style":117},[507],{"type":40,"value":263},{"type":34,"tag":105,"props":509,"children":510},{"class":107,"line":11},[511,516,520],{"type":34,"tag":105,"props":512,"children":513},{"style":193},[514],{"type":40,"value":515},"  duckdb",{"type":34,"tag":105,"props":517,"children":518},{"style":199},[519],{"type":40,"value":258},{"type":34,"tag":105,"props":521,"children":522},{"style":117},[523],{"type":40,"value":387},{"type":34,"tag":43,"props":525,"children":526},{},[527],{"type":40,"value":528},"The pipeline links to both connections. The three ingestr assets will use the Oracle connection as source and DuckDB as destination. The SQL asset runs against DuckDB.",{"type":34,"tag":35,"props":530,"children":532},{"id":531},"what-just-happened",[533],{"type":40,"value":534},"What just happened",{"type":34,"tag":43,"props":536,"children":537},{},[538],{"type":40,"value":539},"You have a configured Bruin project ready to move data from Oracle to DuckDB. The template includes three ingestr assets (one per table) and a SQL transformation. Next, you'll set up a local Oracle instance to serve as the data source.",{"type":34,"tag":541,"props":542,"children":543},"style",{},[544],{"type":40,"value":545},"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":133,"depth":133,"links":547},[548,549,550,555],{"id":37,"depth":133,"text":41},{"id":50,"depth":133,"text":53},{"id":61,"depth":133,"text":64,"children":551},[552,553,554],{"id":68,"depth":217,"text":71},{"id":162,"depth":217,"text":165},{"id":433,"depth":217,"text":436},{"id":531,"depth":133,"text":534},"markdown","content:tutorials:oracle-duckdb:initialize-configure.md","content","tutorials/oracle-duckdb/initialize-configure.md","tutorials/oracle-duckdb/initialize-configure","md",{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"readingTime":11,"category":12,"tags":563,"difficulty":16,"module":5,"step":17,"subSteps":18,"learnMore":564,"author":567,"body":568,"_type":556,"_id":557,"_source":558,"_file":559,"_stem":560,"_extension":561},[14,15],[565,566],{"label":21,"url":22},{"label":24,"url":25},{"name":27,"role":28,"image":29},{"type":31,"children":569,"toc":978},[570,574,578,582,586,590,594,600,610,646,650,658,662,672,861,880,884,890,900,962,966,970,974],{"type":34,"tag":35,"props":571,"children":572},{"id":37},[573],{"type":40,"value":41},{"type":34,"tag":43,"props":575,"children":576},{},[577],{"type":40,"value":47},{"type":34,"tag":35,"props":579,"children":580},{"id":50},[581],{"type":40,"value":53},{"type":34,"tag":43,"props":583,"children":584},{},[585],{"type":40,"value":58},{"type":34,"tag":35,"props":587,"children":588},{"id":61},[589],{"type":40,"value":64},{"type":34,"tag":66,"props":591,"children":592},{"id":68},[593],{"type":40,"value":71},{"type":34,"tag":43,"props":595,"children":596},{},[597],{"type":34,"tag":76,"props":598,"children":599},{"alt":78,"src":79},[],{"type":34,"tag":43,"props":601,"children":602},{},[603,604,609],{"type":40,"value":85},{"type":34,"tag":87,"props":605,"children":607},{"className":606},[],[608],{"type":40,"value":5},{"type":40,"value":93},{"type":34,"tag":95,"props":611,"children":612},{"className":97,"code":98,"language":99,"meta":7,"style":7},[613],{"type":34,"tag":87,"props":614,"children":615},{"__ignoreMap":7},[616,635],{"type":34,"tag":105,"props":617,"children":618},{"class":107,"line":17},[619,623,627,631],{"type":34,"tag":105,"props":620,"children":621},{"style":111},[622],{"type":40,"value":114},{"type":34,"tag":105,"props":624,"children":625},{"style":117},[626],{"type":40,"value":120},{"type":34,"tag":105,"props":628,"children":629},{"style":117},[630],{"type":40,"value":125},{"type":34,"tag":105,"props":632,"children":633},{"style":117},[634],{"type":40,"value":130},{"type":34,"tag":105,"props":636,"children":637},{"class":107,"line":133},[638,642],{"type":34,"tag":105,"props":639,"children":640},{"style":137},[641],{"type":40,"value":140},{"type":34,"tag":105,"props":643,"children":644},{"style":117},[645],{"type":40,"value":130},{"type":34,"tag":43,"props":647,"children":648},{},[649],{"type":40,"value":149},{"type":34,"tag":95,"props":651,"children":653},{"className":652,"code":154,"language":40},[153],[654],{"type":34,"tag":87,"props":655,"children":656},{"__ignoreMap":7},[657],{"type":40,"value":154},{"type":34,"tag":66,"props":659,"children":660},{"id":162},[661],{"type":40,"value":165},{"type":34,"tag":43,"props":663,"children":664},{},[665,666,671],{"type":40,"value":170},{"type":34,"tag":87,"props":667,"children":669},{"className":668},[],[670],{"type":40,"value":176},{"type":40,"value":178},{"type":34,"tag":95,"props":673,"children":674},{"className":181,"code":182,"language":183,"meta":7,"style":7},[675],{"type":34,"tag":87,"props":676,"children":677},{"__ignoreMap":7},[678,689,700,711,722,741,756,771,786,801,816,827,846],{"type":34,"tag":105,"props":679,"children":680},{"class":107,"line":17},[681,685],{"type":34,"tag":105,"props":682,"children":683},{"style":193},[684],{"type":40,"value":196},{"type":34,"tag":105,"props":686,"children":687},{"style":199},[688],{"type":40,"value":202},{"type":34,"tag":105,"props":690,"children":691},{"class":107,"line":133},[692,696],{"type":34,"tag":105,"props":693,"children":694},{"style":193},[695],{"type":40,"value":210},{"type":34,"tag":105,"props":697,"children":698},{"style":199},[699],{"type":40,"value":202},{"type":34,"tag":105,"props":701,"children":702},{"class":107,"line":217},[703,707],{"type":34,"tag":105,"props":704,"children":705},{"style":193},[706],{"type":40,"value":223},{"type":34,"tag":105,"props":708,"children":709},{"style":199},[710],{"type":40,"value":202},{"type":34,"tag":105,"props":712,"children":713},{"class":107,"line":11},[714,718],{"type":34,"tag":105,"props":715,"children":716},{"style":193},[717],{"type":40,"value":235},{"type":34,"tag":105,"props":719,"children":720},{"style":199},[721],{"type":40,"value":202},{"type":34,"tag":105,"props":723,"children":724},{"class":107,"line":242},[725,729,733,737],{"type":34,"tag":105,"props":726,"children":727},{"style":199},[728],{"type":40,"value":248},{"type":34,"tag":105,"props":730,"children":731},{"style":193},[732],{"type":40,"value":253},{"type":34,"tag":105,"props":734,"children":735},{"style":199},[736],{"type":40,"value":258},{"type":34,"tag":105,"props":738,"children":739},{"style":117},[740],{"type":40,"value":263},{"type":34,"tag":105,"props":742,"children":743},{"class":107,"line":266},[744,748,752],{"type":34,"tag":105,"props":745,"children":746},{"style":193},[747],{"type":40,"value":272},{"type":34,"tag":105,"props":749,"children":750},{"style":199},[751],{"type":40,"value":258},{"type":34,"tag":105,"props":753,"children":754},{"style":117},[755],{"type":40,"value":281},{"type":34,"tag":105,"props":757,"children":758},{"class":107,"line":284},[759,763,767],{"type":34,"tag":105,"props":760,"children":761},{"style":193},[762],{"type":40,"value":290},{"type":34,"tag":105,"props":764,"children":765},{"style":199},[766],{"type":40,"value":258},{"type":34,"tag":105,"props":768,"children":769},{"style":137},[770],{"type":40,"value":299},{"type":34,"tag":105,"props":772,"children":773},{"class":107,"line":302},[774,778,782],{"type":34,"tag":105,"props":775,"children":776},{"style":193},[777],{"type":40,"value":308},{"type":34,"tag":105,"props":779,"children":780},{"style":199},[781],{"type":40,"value":258},{"type":34,"tag":105,"props":783,"children":784},{"style":117},[785],{"type":40,"value":317},{"type":34,"tag":105,"props":787,"children":788},{"class":107,"line":320},[789,793,797],{"type":34,"tag":105,"props":790,"children":791},{"style":193},[792],{"type":40,"value":326},{"type":34,"tag":105,"props":794,"children":795},{"style":199},[796],{"type":40,"value":258},{"type":34,"tag":105,"props":798,"children":799},{"style":117},[800],{"type":40,"value":335},{"type":34,"tag":105,"props":802,"children":803},{"class":107,"line":338},[804,808,812],{"type":34,"tag":105,"props":805,"children":806},{"style":193},[807],{"type":40,"value":344},{"type":34,"tag":105,"props":809,"children":810},{"style":199},[811],{"type":40,"value":258},{"type":34,"tag":105,"props":813,"children":814},{"style":117},[815],{"type":40,"value":353},{"type":34,"tag":105,"props":817,"children":818},{"class":107,"line":356},[819,823],{"type":34,"tag":105,"props":820,"children":821},{"style":193},[822],{"type":40,"value":362},{"type":34,"tag":105,"props":824,"children":825},{"style":199},[826],{"type":40,"value":202},{"type":34,"tag":105,"props":828,"children":829},{"class":107,"line":369},[830,834,838,842],{"type":34,"tag":105,"props":831,"children":832},{"style":199},[833],{"type":40,"value":248},{"type":34,"tag":105,"props":835,"children":836},{"style":193},[837],{"type":40,"value":253},{"type":34,"tag":105,"props":839,"children":840},{"style":199},[841],{"type":40,"value":258},{"type":34,"tag":105,"props":843,"children":844},{"style":117},[845],{"type":40,"value":387},{"type":34,"tag":105,"props":847,"children":848},{"class":107,"line":390},[849,853,857],{"type":34,"tag":105,"props":850,"children":851},{"style":193},[852],{"type":40,"value":396},{"type":34,"tag":105,"props":854,"children":855},{"style":199},[856],{"type":40,"value":258},{"type":34,"tag":105,"props":858,"children":859},{"style":117},[860],{"type":40,"value":405},{"type":34,"tag":407,"props":862,"children":863},{},[864],{"type":34,"tag":43,"props":865,"children":866},{},[867,868,873,874,879],{"type":40,"value":414},{"type":34,"tag":87,"props":869,"children":871},{"className":870},[],[872],{"type":40,"value":420},{"type":40,"value":422},{"type":34,"tag":87,"props":875,"children":877},{"className":876},[],[878],{"type":40,"value":428},{"type":40,"value":430},{"type":34,"tag":66,"props":881,"children":882},{"id":433},[883],{"type":40,"value":436},{"type":34,"tag":43,"props":885,"children":886},{},[887],{"type":34,"tag":76,"props":888,"children":889},{"alt":442,"src":443},[],{"type":34,"tag":43,"props":891,"children":892},{},[893,894,899],{"type":40,"value":170},{"type":34,"tag":87,"props":895,"children":897},{"className":896},[],[898],{"type":40,"value":454},{"type":40,"value":456},{"type":34,"tag":95,"props":901,"children":902},{"className":181,"code":459,"language":183,"meta":7,"style":7},[903],{"type":34,"tag":87,"props":904,"children":905},{"__ignoreMap":7},[906,921,932,947],{"type":34,"tag":105,"props":907,"children":908},{"class":107,"line":17},[909,913,917],{"type":34,"tag":105,"props":910,"children":911},{"style":193},[912],{"type":40,"value":253},{"type":34,"tag":105,"props":914,"children":915},{"style":199},[916],{"type":40,"value":258},{"type":34,"tag":105,"props":918,"children":919},{"style":117},[920],{"type":40,"value":479},{"type":34,"tag":105,"props":922,"children":923},{"class":107,"line":133},[924,928],{"type":34,"tag":105,"props":925,"children":926},{"style":193},[927],{"type":40,"value":487},{"type":34,"tag":105,"props":929,"children":930},{"style":199},[931],{"type":40,"value":202},{"type":34,"tag":105,"props":933,"children":934},{"class":107,"line":217},[935,939,943],{"type":34,"tag":105,"props":936,"children":937},{"style":193},[938],{"type":40,"value":499},{"type":34,"tag":105,"props":940,"children":941},{"style":199},[942],{"type":40,"value":258},{"type":34,"tag":105,"props":944,"children":945},{"style":117},[946],{"type":40,"value":263},{"type":34,"tag":105,"props":948,"children":949},{"class":107,"line":11},[950,954,958],{"type":34,"tag":105,"props":951,"children":952},{"style":193},[953],{"type":40,"value":515},{"type":34,"tag":105,"props":955,"children":956},{"style":199},[957],{"type":40,"value":258},{"type":34,"tag":105,"props":959,"children":960},{"style":117},[961],{"type":40,"value":387},{"type":34,"tag":43,"props":963,"children":964},{},[965],{"type":40,"value":528},{"type":34,"tag":35,"props":967,"children":968},{"id":531},[969],{"type":40,"value":534},{"type":34,"tag":43,"props":971,"children":972},{},[973],{"type":40,"value":539},{"type":34,"tag":541,"props":975,"children":976},{},[977],{"type":40,"value":545},{"title":7,"searchDepth":133,"depth":133,"links":979},[980,981,982,987],{"id":37,"depth":133,"text":41},{"id":50,"depth":133,"text":53},{"id":61,"depth":133,"text":64,"children":983},[984,985,986],{"id":68,"depth":217,"text":71},{"id":162,"depth":217,"text":165},{"id":433,"depth":217,"text":436},{"id":531,"depth":133,"text":534},[989,1415,3231],{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"readingTime":11,"category":12,"tags":990,"difficulty":16,"module":5,"step":17,"subSteps":18,"learnMore":991,"author":994,"body":995,"_type":556,"_id":557,"_source":558,"_file":559,"_stem":560,"_extension":561},[14,15],[992,993],{"label":21,"url":22},{"label":24,"url":25},{"name":27,"role":28,"image":29},{"type":31,"children":996,"toc":1405},[997,1001,1005,1009,1013,1017,1021,1027,1037,1073,1077,1085,1089,1099,1288,1307,1311,1317,1327,1389,1393,1397,1401],{"type":34,"tag":35,"props":998,"children":999},{"id":37},[1000],{"type":40,"value":41},{"type":34,"tag":43,"props":1002,"children":1003},{},[1004],{"type":40,"value":47},{"type":34,"tag":35,"props":1006,"children":1007},{"id":50},[1008],{"type":40,"value":53},{"type":34,"tag":43,"props":1010,"children":1011},{},[1012],{"type":40,"value":58},{"type":34,"tag":35,"props":1014,"children":1015},{"id":61},[1016],{"type":40,"value":64},{"type":34,"tag":66,"props":1018,"children":1019},{"id":68},[1020],{"type":40,"value":71},{"type":34,"tag":43,"props":1022,"children":1023},{},[1024],{"type":34,"tag":76,"props":1025,"children":1026},{"alt":78,"src":79},[],{"type":34,"tag":43,"props":1028,"children":1029},{},[1030,1031,1036],{"type":40,"value":85},{"type":34,"tag":87,"props":1032,"children":1034},{"className":1033},[],[1035],{"type":40,"value":5},{"type":40,"value":93},{"type":34,"tag":95,"props":1038,"children":1039},{"className":97,"code":98,"language":99,"meta":7,"style":7},[1040],{"type":34,"tag":87,"props":1041,"children":1042},{"__ignoreMap":7},[1043,1062],{"type":34,"tag":105,"props":1044,"children":1045},{"class":107,"line":17},[1046,1050,1054,1058],{"type":34,"tag":105,"props":1047,"children":1048},{"style":111},[1049],{"type":40,"value":114},{"type":34,"tag":105,"props":1051,"children":1052},{"style":117},[1053],{"type":40,"value":120},{"type":34,"tag":105,"props":1055,"children":1056},{"style":117},[1057],{"type":40,"value":125},{"type":34,"tag":105,"props":1059,"children":1060},{"style":117},[1061],{"type":40,"value":130},{"type":34,"tag":105,"props":1063,"children":1064},{"class":107,"line":133},[1065,1069],{"type":34,"tag":105,"props":1066,"children":1067},{"style":137},[1068],{"type":40,"value":140},{"type":34,"tag":105,"props":1070,"children":1071},{"style":117},[1072],{"type":40,"value":130},{"type":34,"tag":43,"props":1074,"children":1075},{},[1076],{"type":40,"value":149},{"type":34,"tag":95,"props":1078,"children":1080},{"className":1079,"code":154,"language":40},[153],[1081],{"type":34,"tag":87,"props":1082,"children":1083},{"__ignoreMap":7},[1084],{"type":40,"value":154},{"type":34,"tag":66,"props":1086,"children":1087},{"id":162},[1088],{"type":40,"value":165},{"type":34,"tag":43,"props":1090,"children":1091},{},[1092,1093,1098],{"type":40,"value":170},{"type":34,"tag":87,"props":1094,"children":1096},{"className":1095},[],[1097],{"type":40,"value":176},{"type":40,"value":178},{"type":34,"tag":95,"props":1100,"children":1101},{"className":181,"code":182,"language":183,"meta":7,"style":7},[1102],{"type":34,"tag":87,"props":1103,"children":1104},{"__ignoreMap":7},[1105,1116,1127,1138,1149,1168,1183,1198,1213,1228,1243,1254,1273],{"type":34,"tag":105,"props":1106,"children":1107},{"class":107,"line":17},[1108,1112],{"type":34,"tag":105,"props":1109,"children":1110},{"style":193},[1111],{"type":40,"value":196},{"type":34,"tag":105,"props":1113,"children":1114},{"style":199},[1115],{"type":40,"value":202},{"type":34,"tag":105,"props":1117,"children":1118},{"class":107,"line":133},[1119,1123],{"type":34,"tag":105,"props":1120,"children":1121},{"style":193},[1122],{"type":40,"value":210},{"type":34,"tag":105,"props":1124,"children":1125},{"style":199},[1126],{"type":40,"value":202},{"type":34,"tag":105,"props":1128,"children":1129},{"class":107,"line":217},[1130,1134],{"type":34,"tag":105,"props":1131,"children":1132},{"style":193},[1133],{"type":40,"value":223},{"type":34,"tag":105,"props":1135,"children":1136},{"style":199},[1137],{"type":40,"value":202},{"type":34,"tag":105,"props":1139,"children":1140},{"class":107,"line":11},[1141,1145],{"type":34,"tag":105,"props":1142,"children":1143},{"style":193},[1144],{"type":40,"value":235},{"type":34,"tag":105,"props":1146,"children":1147},{"style":199},[1148],{"type":40,"value":202},{"type":34,"tag":105,"props":1150,"children":1151},{"class":107,"line":242},[1152,1156,1160,1164],{"type":34,"tag":105,"props":1153,"children":1154},{"style":199},[1155],{"type":40,"value":248},{"type":34,"tag":105,"props":1157,"children":1158},{"style":193},[1159],{"type":40,"value":253},{"type":34,"tag":105,"props":1161,"children":1162},{"style":199},[1163],{"type":40,"value":258},{"type":34,"tag":105,"props":1165,"children":1166},{"style":117},[1167],{"type":40,"value":263},{"type":34,"tag":105,"props":1169,"children":1170},{"class":107,"line":266},[1171,1175,1179],{"type":34,"tag":105,"props":1172,"children":1173},{"style":193},[1174],{"type":40,"value":272},{"type":34,"tag":105,"props":1176,"children":1177},{"style":199},[1178],{"type":40,"value":258},{"type":34,"tag":105,"props":1180,"children":1181},{"style":117},[1182],{"type":40,"value":281},{"type":34,"tag":105,"props":1184,"children":1185},{"class":107,"line":284},[1186,1190,1194],{"type":34,"tag":105,"props":1187,"children":1188},{"style":193},[1189],{"type":40,"value":290},{"type":34,"tag":105,"props":1191,"children":1192},{"style":199},[1193],{"type":40,"value":258},{"type":34,"tag":105,"props":1195,"children":1196},{"style":137},[1197],{"type":40,"value":299},{"type":34,"tag":105,"props":1199,"children":1200},{"class":107,"line":302},[1201,1205,1209],{"type":34,"tag":105,"props":1202,"children":1203},{"style":193},[1204],{"type":40,"value":308},{"type":34,"tag":105,"props":1206,"children":1207},{"style":199},[1208],{"type":40,"value":258},{"type":34,"tag":105,"props":1210,"children":1211},{"style":117},[1212],{"type":40,"value":317},{"type":34,"tag":105,"props":1214,"children":1215},{"class":107,"line":320},[1216,1220,1224],{"type":34,"tag":105,"props":1217,"children":1218},{"style":193},[1219],{"type":40,"value":326},{"type":34,"tag":105,"props":1221,"children":1222},{"style":199},[1223],{"type":40,"value":258},{"type":34,"tag":105,"props":1225,"children":1226},{"style":117},[1227],{"type":40,"value":335},{"type":34,"tag":105,"props":1229,"children":1230},{"class":107,"line":338},[1231,1235,1239],{"type":34,"tag":105,"props":1232,"children":1233},{"style":193},[1234],{"type":40,"value":344},{"type":34,"tag":105,"props":1236,"children":1237},{"style":199},[1238],{"type":40,"value":258},{"type":34,"tag":105,"props":1240,"children":1241},{"style":117},[1242],{"type":40,"value":353},{"type":34,"tag":105,"props":1244,"children":1245},{"class":107,"line":356},[1246,1250],{"type":34,"tag":105,"props":1247,"children":1248},{"style":193},[1249],{"type":40,"value":362},{"type":34,"tag":105,"props":1251,"children":1252},{"style":199},[1253],{"type":40,"value":202},{"type":34,"tag":105,"props":1255,"children":1256},{"class":107,"line":369},[1257,1261,1265,1269],{"type":34,"tag":105,"props":1258,"children":1259},{"style":199},[1260],{"type":40,"value":248},{"type":34,"tag":105,"props":1262,"children":1263},{"style":193},[1264],{"type":40,"value":253},{"type":34,"tag":105,"props":1266,"children":1267},{"style":199},[1268],{"type":40,"value":258},{"type":34,"tag":105,"props":1270,"children":1271},{"style":117},[1272],{"type":40,"value":387},{"type":34,"tag":105,"props":1274,"children":1275},{"class":107,"line":390},[1276,1280,1284],{"type":34,"tag":105,"props":1277,"children":1278},{"style":193},[1279],{"type":40,"value":396},{"type":34,"tag":105,"props":1281,"children":1282},{"style":199},[1283],{"type":40,"value":258},{"type":34,"tag":105,"props":1285,"children":1286},{"style":117},[1287],{"type":40,"value":405},{"type":34,"tag":407,"props":1289,"children":1290},{},[1291],{"type":34,"tag":43,"props":1292,"children":1293},{},[1294,1295,1300,1301,1306],{"type":40,"value":414},{"type":34,"tag":87,"props":1296,"children":1298},{"className":1297},[],[1299],{"type":40,"value":420},{"type":40,"value":422},{"type":34,"tag":87,"props":1302,"children":1304},{"className":1303},[],[1305],{"type":40,"value":428},{"type":40,"value":430},{"type":34,"tag":66,"props":1308,"children":1309},{"id":433},[1310],{"type":40,"value":436},{"type":34,"tag":43,"props":1312,"children":1313},{},[1314],{"type":34,"tag":76,"props":1315,"children":1316},{"alt":442,"src":443},[],{"type":34,"tag":43,"props":1318,"children":1319},{},[1320,1321,1326],{"type":40,"value":170},{"type":34,"tag":87,"props":1322,"children":1324},{"className":1323},[],[1325],{"type":40,"value":454},{"type":40,"value":456},{"type":34,"tag":95,"props":1328,"children":1329},{"className":181,"code":459,"language":183,"meta":7,"style":7},[1330],{"type":34,"tag":87,"props":1331,"children":1332},{"__ignoreMap":7},[1333,1348,1359,1374],{"type":34,"tag":105,"props":1334,"children":1335},{"class":107,"line":17},[1336,1340,1344],{"type":34,"tag":105,"props":1337,"children":1338},{"style":193},[1339],{"type":40,"value":253},{"type":34,"tag":105,"props":1341,"children":1342},{"style":199},[1343],{"type":40,"value":258},{"type":34,"tag":105,"props":1345,"children":1346},{"style":117},[1347],{"type":40,"value":479},{"type":34,"tag":105,"props":1349,"children":1350},{"class":107,"line":133},[1351,1355],{"type":34,"tag":105,"props":1352,"children":1353},{"style":193},[1354],{"type":40,"value":487},{"type":34,"tag":105,"props":1356,"children":1357},{"style":199},[1358],{"type":40,"value":202},{"type":34,"tag":105,"props":1360,"children":1361},{"class":107,"line":217},[1362,1366,1370],{"type":34,"tag":105,"props":1363,"children":1364},{"style":193},[1365],{"type":40,"value":499},{"type":34,"tag":105,"props":1367,"children":1368},{"style":199},[1369],{"type":40,"value":258},{"type":34,"tag":105,"props":1371,"children":1372},{"style":117},[1373],{"type":40,"value":263},{"type":34,"tag":105,"props":1375,"children":1376},{"class":107,"line":11},[1377,1381,1385],{"type":34,"tag":105,"props":1378,"children":1379},{"style":193},[1380],{"type":40,"value":515},{"type":34,"tag":105,"props":1382,"children":1383},{"style":199},[1384],{"type":40,"value":258},{"type":34,"tag":105,"props":1386,"children":1387},{"style":117},[1388],{"type":40,"value":387},{"type":34,"tag":43,"props":1390,"children":1391},{},[1392],{"type":40,"value":528},{"type":34,"tag":35,"props":1394,"children":1395},{"id":531},[1396],{"type":40,"value":534},{"type":34,"tag":43,"props":1398,"children":1399},{},[1400],{"type":40,"value":539},{"type":34,"tag":541,"props":1402,"children":1403},{},[1404],{"type":40,"value":545},{"title":7,"searchDepth":133,"depth":133,"links":1406},[1407,1408,1409,1414],{"id":37,"depth":133,"text":41},{"id":50,"depth":133,"text":53},{"id":61,"depth":133,"text":64,"children":1410},[1411,1412,1413],{"id":68,"depth":217,"text":71},{"id":162,"depth":217,"text":165},{"id":433,"depth":217,"text":436},{"id":531,"depth":133,"text":534},{"_path":1416,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":1417,"description":1418,"date":10,"readingTime":302,"category":12,"tags":1419,"difficulty":16,"module":5,"step":133,"subSteps":18,"learnMore":1420,"author":1427,"body":1428,"_type":556,"_id":3228,"_source":558,"_file":3229,"_stem":3230,"_extension":561},"/tutorials/oracle-duckdb/setup-oracle","Set Up Oracle with Docker","Launch Oracle XE in a Docker container, create a database user, and seed sample data.",[14,15],[1421,1424],{"label":1422,"url":1423},"Oracle container registry","https://container-registry.oracle.com/",{"label":1425,"url":1426},"Oracle XE documentation","https://www.oracle.com/database/technologies/xe-downloads.html",{"name":27,"role":28,"image":29},{"type":31,"children":1429,"toc":3217},[1430,1434,1439,1443,1448,1452,1458,1463,1545,1550,1579,1592,1598,1611,1659,1664,1767,1779,1785,1790,1825,2290,2296,2301,3199,3204,3208,3213],{"type":34,"tag":35,"props":1431,"children":1432},{"id":37},[1433],{"type":40,"value":41},{"type":34,"tag":43,"props":1435,"children":1436},{},[1437],{"type":40,"value":1438},"Launch an Oracle XE instance using Docker, create a database user, and seed three tables with sample data.",{"type":34,"tag":35,"props":1440,"children":1441},{"id":50},[1442],{"type":40,"value":53},{"type":34,"tag":43,"props":1444,"children":1445},{},[1446],{"type":40,"value":1447},"The pipeline needs a source database with data to ingest. Oracle XE is a free, lightweight version of Oracle Database that runs locally in a container. Seeding it with customers, orders, and order items gives you realistic relational data to work with.",{"type":34,"tag":35,"props":1449,"children":1450},{"id":61},[1451],{"type":40,"value":64},{"type":34,"tag":66,"props":1453,"children":1455},{"id":1454},"_1-launch-oracle-xe",[1456],{"type":40,"value":1457},"1) Launch Oracle XE",{"type":34,"tag":43,"props":1459,"children":1460},{},[1461],{"type":40,"value":1462},"Start the Oracle XE container:",{"type":34,"tag":95,"props":1464,"children":1466},{"className":97,"code":1465,"language":99,"meta":7,"style":7},"docker run -d --name oracle-xe \\\n  -p 1521:1521 \\\n  -e ORACLE_PASSWORD=SystemPass123 \\\n  container-registry.oracle.com/database/express:latest\n",[1467],{"type":34,"tag":87,"props":1468,"children":1469},{"__ignoreMap":7},[1470,1503,1520,1537],{"type":34,"tag":105,"props":1471,"children":1472},{"class":107,"line":17},[1473,1478,1483,1488,1493,1498],{"type":34,"tag":105,"props":1474,"children":1475},{"style":111},[1476],{"type":40,"value":1477},"docker",{"type":34,"tag":105,"props":1479,"children":1480},{"style":117},[1481],{"type":40,"value":1482}," run",{"type":34,"tag":105,"props":1484,"children":1485},{"style":137},[1486],{"type":40,"value":1487}," -d",{"type":34,"tag":105,"props":1489,"children":1490},{"style":137},[1491],{"type":40,"value":1492}," --name",{"type":34,"tag":105,"props":1494,"children":1495},{"style":117},[1496],{"type":40,"value":1497}," oracle-xe",{"type":34,"tag":105,"props":1499,"children":1500},{"style":137},[1501],{"type":40,"value":1502}," \\\n",{"type":34,"tag":105,"props":1504,"children":1505},{"class":107,"line":133},[1506,1511,1516],{"type":34,"tag":105,"props":1507,"children":1508},{"style":137},[1509],{"type":40,"value":1510},"  -p",{"type":34,"tag":105,"props":1512,"children":1513},{"style":117},[1514],{"type":40,"value":1515}," 1521:1521",{"type":34,"tag":105,"props":1517,"children":1518},{"style":137},[1519],{"type":40,"value":1502},{"type":34,"tag":105,"props":1521,"children":1522},{"class":107,"line":217},[1523,1528,1533],{"type":34,"tag":105,"props":1524,"children":1525},{"style":137},[1526],{"type":40,"value":1527},"  -e",{"type":34,"tag":105,"props":1529,"children":1530},{"style":117},[1531],{"type":40,"value":1532}," ORACLE_PASSWORD=SystemPass123",{"type":34,"tag":105,"props":1534,"children":1535},{"style":137},[1536],{"type":40,"value":1502},{"type":34,"tag":105,"props":1538,"children":1539},{"class":107,"line":11},[1540],{"type":34,"tag":105,"props":1541,"children":1542},{"style":117},[1543],{"type":40,"value":1544},"  container-registry.oracle.com/database/express:latest\n",{"type":34,"tag":43,"props":1546,"children":1547},{},[1548],{"type":40,"value":1549},"The first run downloads the image (~4 GB) and initializes the database, which can take a few minutes. Check the logs to monitor progress:",{"type":34,"tag":95,"props":1551,"children":1553},{"className":97,"code":1552,"language":99,"meta":7,"style":7},"docker logs -f oracle-xe\n",[1554],{"type":34,"tag":87,"props":1555,"children":1556},{"__ignoreMap":7},[1557],{"type":34,"tag":105,"props":1558,"children":1559},{"class":107,"line":17},[1560,1564,1569,1574],{"type":34,"tag":105,"props":1561,"children":1562},{"style":111},[1563],{"type":40,"value":1477},{"type":34,"tag":105,"props":1565,"children":1566},{"style":117},[1567],{"type":40,"value":1568}," logs",{"type":34,"tag":105,"props":1570,"children":1571},{"style":137},[1572],{"type":40,"value":1573}," -f",{"type":34,"tag":105,"props":1575,"children":1576},{"style":117},[1577],{"type":40,"value":1578}," oracle-xe\n",{"type":34,"tag":43,"props":1580,"children":1581},{},[1582,1584,1590],{"type":40,"value":1583},"Wait until you see ",{"type":34,"tag":87,"props":1585,"children":1587},{"className":1586},[],[1588],{"type":40,"value":1589},"DATABASE IS READY TO USE!",{"type":40,"value":1591}," before proceeding.",{"type":34,"tag":66,"props":1593,"children":1595},{"id":1594},"_2-create-the-database-user",[1596],{"type":40,"value":1597},"2) Create the database user",{"type":34,"tag":43,"props":1599,"children":1600},{},[1601,1603,1609],{"type":40,"value":1602},"Connect to the container as the system administrator and create the ",{"type":34,"tag":87,"props":1604,"children":1606},{"className":1605},[],[1607],{"type":40,"value":1608},"BRUIN_TMPL",{"type":40,"value":1610}," user:",{"type":34,"tag":95,"props":1612,"children":1614},{"className":97,"code":1613,"language":99,"meta":7,"style":7},"docker exec -it oracle-xe sqlplus sys/SystemPass123@XEPDB1 as sysdba\n",[1615],{"type":34,"tag":87,"props":1616,"children":1617},{"__ignoreMap":7},[1618],{"type":34,"tag":105,"props":1619,"children":1620},{"class":107,"line":17},[1621,1625,1630,1635,1639,1644,1649,1654],{"type":34,"tag":105,"props":1622,"children":1623},{"style":111},[1624],{"type":40,"value":1477},{"type":34,"tag":105,"props":1626,"children":1627},{"style":117},[1628],{"type":40,"value":1629}," exec",{"type":34,"tag":105,"props":1631,"children":1632},{"style":137},[1633],{"type":40,"value":1634}," -it",{"type":34,"tag":105,"props":1636,"children":1637},{"style":117},[1638],{"type":40,"value":1497},{"type":34,"tag":105,"props":1640,"children":1641},{"style":117},[1642],{"type":40,"value":1643}," sqlplus",{"type":34,"tag":105,"props":1645,"children":1646},{"style":117},[1647],{"type":40,"value":1648}," sys/SystemPass123@XEPDB1",{"type":34,"tag":105,"props":1650,"children":1651},{"style":117},[1652],{"type":40,"value":1653}," as",{"type":34,"tag":105,"props":1655,"children":1656},{"style":117},[1657],{"type":40,"value":1658}," sysdba\n",{"type":34,"tag":43,"props":1660,"children":1661},{},[1662],{"type":40,"value":1663},"Run these SQL commands:",{"type":34,"tag":95,"props":1665,"children":1669},{"className":1666,"code":1667,"language":1668,"meta":7,"style":7},"language-sql shiki shiki-themes github-dark","CREATE USER BRUIN_TMPL IDENTIFIED BY \"BruinRocks123\";\nGRANT CONNECT, RESOURCE, UNLIMITED TABLESPACE TO BRUIN_TMPL;\nEXIT;\n","sql",[1670],{"type":34,"tag":87,"props":1671,"children":1672},{"__ignoreMap":7},[1673,1712,1759],{"type":34,"tag":105,"props":1674,"children":1675},{"class":107,"line":17},[1676,1682,1687,1692,1697,1702,1707],{"type":34,"tag":105,"props":1677,"children":1679},{"style":1678},"--shiki-default:#F97583",[1680],{"type":40,"value":1681},"CREATE",{"type":34,"tag":105,"props":1683,"children":1684},{"style":1678},[1685],{"type":40,"value":1686}," USER",{"type":34,"tag":105,"props":1688,"children":1689},{"style":111},[1690],{"type":40,"value":1691}," BRUIN_TMPL",{"type":34,"tag":105,"props":1693,"children":1694},{"style":199},[1695],{"type":40,"value":1696}," IDENTIFIED ",{"type":34,"tag":105,"props":1698,"children":1699},{"style":1678},[1700],{"type":40,"value":1701},"BY",{"type":34,"tag":105,"props":1703,"children":1704},{"style":117},[1705],{"type":40,"value":1706}," \"BruinRocks123\"",{"type":34,"tag":105,"props":1708,"children":1709},{"style":199},[1710],{"type":40,"value":1711},";\n",{"type":34,"tag":105,"props":1713,"children":1714},{"class":107,"line":133},[1715,1720,1725,1730,1735,1739,1744,1749,1754],{"type":34,"tag":105,"props":1716,"children":1717},{"style":1678},[1718],{"type":40,"value":1719},"GRANT",{"type":34,"tag":105,"props":1721,"children":1722},{"style":1678},[1723],{"type":40,"value":1724}," CONNECT",{"type":34,"tag":105,"props":1726,"children":1727},{"style":199},[1728],{"type":40,"value":1729},", ",{"type":34,"tag":105,"props":1731,"children":1732},{"style":1678},[1733],{"type":40,"value":1734},"RESOURCE",{"type":34,"tag":105,"props":1736,"children":1737},{"style":199},[1738],{"type":40,"value":1729},{"type":34,"tag":105,"props":1740,"children":1741},{"style":1678},[1742],{"type":40,"value":1743},"UNLIMITED",{"type":34,"tag":105,"props":1745,"children":1746},{"style":199},[1747],{"type":40,"value":1748}," TABLESPACE ",{"type":34,"tag":105,"props":1750,"children":1751},{"style":1678},[1752],{"type":40,"value":1753},"TO",{"type":34,"tag":105,"props":1755,"children":1756},{"style":199},[1757],{"type":40,"value":1758}," BRUIN_TMPL;\n",{"type":34,"tag":105,"props":1760,"children":1761},{"class":107,"line":217},[1762],{"type":34,"tag":105,"props":1763,"children":1764},{"style":199},[1765],{"type":40,"value":1766},"EXIT;\n",{"type":34,"tag":43,"props":1768,"children":1769},{},[1770,1772,1777],{"type":40,"value":1771},"This creates a user with the same credentials you configured in ",{"type":34,"tag":87,"props":1773,"children":1775},{"className":1774},[],[1776],{"type":40,"value":176},{"type":40,"value":1778},".",{"type":34,"tag":66,"props":1780,"children":1782},{"id":1781},"_3-create-the-source-tables",[1783],{"type":40,"value":1784},"3) Create the source tables",{"type":34,"tag":43,"props":1786,"children":1787},{},[1788],{"type":40,"value":1789},"Connect as the new user and create the three source tables:",{"type":34,"tag":95,"props":1791,"children":1793},{"className":97,"code":1792,"language":99,"meta":7,"style":7},"docker exec -it oracle-xe sqlplus BRUIN_TMPL/BruinRocks123@XEPDB1\n",[1794],{"type":34,"tag":87,"props":1795,"children":1796},{"__ignoreMap":7},[1797],{"type":34,"tag":105,"props":1798,"children":1799},{"class":107,"line":17},[1800,1804,1808,1812,1816,1820],{"type":34,"tag":105,"props":1801,"children":1802},{"style":111},[1803],{"type":40,"value":1477},{"type":34,"tag":105,"props":1805,"children":1806},{"style":117},[1807],{"type":40,"value":1629},{"type":34,"tag":105,"props":1809,"children":1810},{"style":137},[1811],{"type":40,"value":1634},{"type":34,"tag":105,"props":1813,"children":1814},{"style":117},[1815],{"type":40,"value":1497},{"type":34,"tag":105,"props":1817,"children":1818},{"style":117},[1819],{"type":40,"value":1643},{"type":34,"tag":105,"props":1821,"children":1822},{"style":117},[1823],{"type":40,"value":1824}," BRUIN_TMPL/BruinRocks123@XEPDB1\n",{"type":34,"tag":95,"props":1826,"children":1828},{"className":1666,"code":1827,"language":1668,"meta":7,"style":7},"CREATE TABLE customers (\n  customer_id NUMBER PRIMARY KEY,\n  full_name   VARCHAR2(100),\n  segment     VARCHAR2(50),\n  email       VARCHAR2(150),\n  updated_at  TIMESTAMP DEFAULT SYSTIMESTAMP\n);\n\nCREATE TABLE orders (\n  order_id     NUMBER PRIMARY KEY,\n  customer_id  NUMBER,\n  order_status VARCHAR2(30),\n  order_total  NUMBER(10,2),\n  ordered_at   TIMESTAMP DEFAULT SYSTIMESTAMP\n);\n\nCREATE TABLE order_items (\n  order_item_id NUMBER PRIMARY KEY,\n  order_id      NUMBER,\n  product_sku   VARCHAR2(50),\n  quantity      NUMBER,\n  unit_price    NUMBER(10,2)\n);\n",[1829],{"type":34,"tag":87,"props":1830,"children":1831},{"__ignoreMap":7},[1832,1854,1877,1905,1930,1955,1978,1986,1994,2014,2034,2050,2075,2110,2131,2139,2147,2168,2189,2206,2231,2248,2282],{"type":34,"tag":105,"props":1833,"children":1834},{"class":107,"line":17},[1835,1839,1844,1849],{"type":34,"tag":105,"props":1836,"children":1837},{"style":1678},[1838],{"type":40,"value":1681},{"type":34,"tag":105,"props":1840,"children":1841},{"style":1678},[1842],{"type":40,"value":1843}," TABLE",{"type":34,"tag":105,"props":1845,"children":1846},{"style":111},[1847],{"type":40,"value":1848}," customers",{"type":34,"tag":105,"props":1850,"children":1851},{"style":199},[1852],{"type":40,"value":1853}," (\n",{"type":34,"tag":105,"props":1855,"children":1856},{"class":107,"line":133},[1857,1862,1867,1872],{"type":34,"tag":105,"props":1858,"children":1859},{"style":199},[1860],{"type":40,"value":1861},"  customer_id ",{"type":34,"tag":105,"props":1863,"children":1864},{"style":1678},[1865],{"type":40,"value":1866},"NUMBER",{"type":34,"tag":105,"props":1868,"children":1869},{"style":1678},[1870],{"type":40,"value":1871}," PRIMARY KEY",{"type":34,"tag":105,"props":1873,"children":1874},{"style":199},[1875],{"type":40,"value":1876},",\n",{"type":34,"tag":105,"props":1878,"children":1879},{"class":107,"line":217},[1880,1885,1890,1895,1900],{"type":34,"tag":105,"props":1881,"children":1882},{"style":199},[1883],{"type":40,"value":1884},"  full_name   ",{"type":34,"tag":105,"props":1886,"children":1887},{"style":1678},[1888],{"type":40,"value":1889},"VARCHAR2",{"type":34,"tag":105,"props":1891,"children":1892},{"style":199},[1893],{"type":40,"value":1894},"(",{"type":34,"tag":105,"props":1896,"children":1897},{"style":137},[1898],{"type":40,"value":1899},"100",{"type":34,"tag":105,"props":1901,"children":1902},{"style":199},[1903],{"type":40,"value":1904},"),\n",{"type":34,"tag":105,"props":1906,"children":1907},{"class":107,"line":11},[1908,1913,1917,1921,1926],{"type":34,"tag":105,"props":1909,"children":1910},{"style":199},[1911],{"type":40,"value":1912},"  segment     ",{"type":34,"tag":105,"props":1914,"children":1915},{"style":1678},[1916],{"type":40,"value":1889},{"type":34,"tag":105,"props":1918,"children":1919},{"style":199},[1920],{"type":40,"value":1894},{"type":34,"tag":105,"props":1922,"children":1923},{"style":137},[1924],{"type":40,"value":1925},"50",{"type":34,"tag":105,"props":1927,"children":1928},{"style":199},[1929],{"type":40,"value":1904},{"type":34,"tag":105,"props":1931,"children":1932},{"class":107,"line":242},[1933,1938,1942,1946,1951],{"type":34,"tag":105,"props":1934,"children":1935},{"style":199},[1936],{"type":40,"value":1937},"  email       ",{"type":34,"tag":105,"props":1939,"children":1940},{"style":1678},[1941],{"type":40,"value":1889},{"type":34,"tag":105,"props":1943,"children":1944},{"style":199},[1945],{"type":40,"value":1894},{"type":34,"tag":105,"props":1947,"children":1948},{"style":137},[1949],{"type":40,"value":1950},"150",{"type":34,"tag":105,"props":1952,"children":1953},{"style":199},[1954],{"type":40,"value":1904},{"type":34,"tag":105,"props":1956,"children":1957},{"class":107,"line":266},[1958,1963,1968,1973],{"type":34,"tag":105,"props":1959,"children":1960},{"style":199},[1961],{"type":40,"value":1962},"  updated_at  ",{"type":34,"tag":105,"props":1964,"children":1965},{"style":1678},[1966],{"type":40,"value":1967},"TIMESTAMP",{"type":34,"tag":105,"props":1969,"children":1970},{"style":1678},[1971],{"type":40,"value":1972}," DEFAULT",{"type":34,"tag":105,"props":1974,"children":1975},{"style":199},[1976],{"type":40,"value":1977}," SYSTIMESTAMP\n",{"type":34,"tag":105,"props":1979,"children":1980},{"class":107,"line":284},[1981],{"type":34,"tag":105,"props":1982,"children":1983},{"style":199},[1984],{"type":40,"value":1985},");\n",{"type":34,"tag":105,"props":1987,"children":1988},{"class":107,"line":302},[1989],{"type":34,"tag":105,"props":1990,"children":1991},{"emptyLinePlaceholder":18},[1992],{"type":40,"value":1993},"\n",{"type":34,"tag":105,"props":1995,"children":1996},{"class":107,"line":320},[1997,2001,2005,2010],{"type":34,"tag":105,"props":1998,"children":1999},{"style":1678},[2000],{"type":40,"value":1681},{"type":34,"tag":105,"props":2002,"children":2003},{"style":1678},[2004],{"type":40,"value":1843},{"type":34,"tag":105,"props":2006,"children":2007},{"style":111},[2008],{"type":40,"value":2009}," orders",{"type":34,"tag":105,"props":2011,"children":2012},{"style":199},[2013],{"type":40,"value":1853},{"type":34,"tag":105,"props":2015,"children":2016},{"class":107,"line":338},[2017,2022,2026,2030],{"type":34,"tag":105,"props":2018,"children":2019},{"style":199},[2020],{"type":40,"value":2021},"  order_id     ",{"type":34,"tag":105,"props":2023,"children":2024},{"style":1678},[2025],{"type":40,"value":1866},{"type":34,"tag":105,"props":2027,"children":2028},{"style":1678},[2029],{"type":40,"value":1871},{"type":34,"tag":105,"props":2031,"children":2032},{"style":199},[2033],{"type":40,"value":1876},{"type":34,"tag":105,"props":2035,"children":2036},{"class":107,"line":356},[2037,2042,2046],{"type":34,"tag":105,"props":2038,"children":2039},{"style":199},[2040],{"type":40,"value":2041},"  customer_id  ",{"type":34,"tag":105,"props":2043,"children":2044},{"style":1678},[2045],{"type":40,"value":1866},{"type":34,"tag":105,"props":2047,"children":2048},{"style":199},[2049],{"type":40,"value":1876},{"type":34,"tag":105,"props":2051,"children":2052},{"class":107,"line":369},[2053,2058,2062,2066,2071],{"type":34,"tag":105,"props":2054,"children":2055},{"style":199},[2056],{"type":40,"value":2057},"  order_status ",{"type":34,"tag":105,"props":2059,"children":2060},{"style":1678},[2061],{"type":40,"value":1889},{"type":34,"tag":105,"props":2063,"children":2064},{"style":199},[2065],{"type":40,"value":1894},{"type":34,"tag":105,"props":2067,"children":2068},{"style":137},[2069],{"type":40,"value":2070},"30",{"type":34,"tag":105,"props":2072,"children":2073},{"style":199},[2074],{"type":40,"value":1904},{"type":34,"tag":105,"props":2076,"children":2077},{"class":107,"line":390},[2078,2083,2087,2091,2096,2101,2106],{"type":34,"tag":105,"props":2079,"children":2080},{"style":199},[2081],{"type":40,"value":2082},"  order_total  ",{"type":34,"tag":105,"props":2084,"children":2085},{"style":1678},[2086],{"type":40,"value":1866},{"type":34,"tag":105,"props":2088,"children":2089},{"style":199},[2090],{"type":40,"value":1894},{"type":34,"tag":105,"props":2092,"children":2093},{"style":137},[2094],{"type":40,"value":2095},"10",{"type":34,"tag":105,"props":2097,"children":2098},{"style":199},[2099],{"type":40,"value":2100},",",{"type":34,"tag":105,"props":2102,"children":2103},{"style":137},[2104],{"type":40,"value":2105},"2",{"type":34,"tag":105,"props":2107,"children":2108},{"style":199},[2109],{"type":40,"value":1904},{"type":34,"tag":105,"props":2111,"children":2113},{"class":107,"line":2112},14,[2114,2119,2123,2127],{"type":34,"tag":105,"props":2115,"children":2116},{"style":199},[2117],{"type":40,"value":2118},"  ordered_at   ",{"type":34,"tag":105,"props":2120,"children":2121},{"style":1678},[2122],{"type":40,"value":1967},{"type":34,"tag":105,"props":2124,"children":2125},{"style":1678},[2126],{"type":40,"value":1972},{"type":34,"tag":105,"props":2128,"children":2129},{"style":199},[2130],{"type":40,"value":1977},{"type":34,"tag":105,"props":2132,"children":2134},{"class":107,"line":2133},15,[2135],{"type":34,"tag":105,"props":2136,"children":2137},{"style":199},[2138],{"type":40,"value":1985},{"type":34,"tag":105,"props":2140,"children":2142},{"class":107,"line":2141},16,[2143],{"type":34,"tag":105,"props":2144,"children":2145},{"emptyLinePlaceholder":18},[2146],{"type":40,"value":1993},{"type":34,"tag":105,"props":2148,"children":2150},{"class":107,"line":2149},17,[2151,2155,2159,2164],{"type":34,"tag":105,"props":2152,"children":2153},{"style":1678},[2154],{"type":40,"value":1681},{"type":34,"tag":105,"props":2156,"children":2157},{"style":1678},[2158],{"type":40,"value":1843},{"type":34,"tag":105,"props":2160,"children":2161},{"style":111},[2162],{"type":40,"value":2163}," order_items",{"type":34,"tag":105,"props":2165,"children":2166},{"style":199},[2167],{"type":40,"value":1853},{"type":34,"tag":105,"props":2169,"children":2171},{"class":107,"line":2170},18,[2172,2177,2181,2185],{"type":34,"tag":105,"props":2173,"children":2174},{"style":199},[2175],{"type":40,"value":2176},"  order_item_id ",{"type":34,"tag":105,"props":2178,"children":2179},{"style":1678},[2180],{"type":40,"value":1866},{"type":34,"tag":105,"props":2182,"children":2183},{"style":1678},[2184],{"type":40,"value":1871},{"type":34,"tag":105,"props":2186,"children":2187},{"style":199},[2188],{"type":40,"value":1876},{"type":34,"tag":105,"props":2190,"children":2192},{"class":107,"line":2191},19,[2193,2198,2202],{"type":34,"tag":105,"props":2194,"children":2195},{"style":199},[2196],{"type":40,"value":2197},"  order_id      ",{"type":34,"tag":105,"props":2199,"children":2200},{"style":1678},[2201],{"type":40,"value":1866},{"type":34,"tag":105,"props":2203,"children":2204},{"style":199},[2205],{"type":40,"value":1876},{"type":34,"tag":105,"props":2207,"children":2209},{"class":107,"line":2208},20,[2210,2215,2219,2223,2227],{"type":34,"tag":105,"props":2211,"children":2212},{"style":199},[2213],{"type":40,"value":2214},"  product_sku   ",{"type":34,"tag":105,"props":2216,"children":2217},{"style":1678},[2218],{"type":40,"value":1889},{"type":34,"tag":105,"props":2220,"children":2221},{"style":199},[2222],{"type":40,"value":1894},{"type":34,"tag":105,"props":2224,"children":2225},{"style":137},[2226],{"type":40,"value":1925},{"type":34,"tag":105,"props":2228,"children":2229},{"style":199},[2230],{"type":40,"value":1904},{"type":34,"tag":105,"props":2232,"children":2234},{"class":107,"line":2233},21,[2235,2240,2244],{"type":34,"tag":105,"props":2236,"children":2237},{"style":199},[2238],{"type":40,"value":2239},"  quantity      ",{"type":34,"tag":105,"props":2241,"children":2242},{"style":1678},[2243],{"type":40,"value":1866},{"type":34,"tag":105,"props":2245,"children":2246},{"style":199},[2247],{"type":40,"value":1876},{"type":34,"tag":105,"props":2249,"children":2251},{"class":107,"line":2250},22,[2252,2257,2261,2265,2269,2273,2277],{"type":34,"tag":105,"props":2253,"children":2254},{"style":199},[2255],{"type":40,"value":2256},"  unit_price    ",{"type":34,"tag":105,"props":2258,"children":2259},{"style":1678},[2260],{"type":40,"value":1866},{"type":34,"tag":105,"props":2262,"children":2263},{"style":199},[2264],{"type":40,"value":1894},{"type":34,"tag":105,"props":2266,"children":2267},{"style":137},[2268],{"type":40,"value":2095},{"type":34,"tag":105,"props":2270,"children":2271},{"style":199},[2272],{"type":40,"value":2100},{"type":34,"tag":105,"props":2274,"children":2275},{"style":137},[2276],{"type":40,"value":2105},{"type":34,"tag":105,"props":2278,"children":2279},{"style":199},[2280],{"type":40,"value":2281},")\n",{"type":34,"tag":105,"props":2283,"children":2285},{"class":107,"line":2284},23,[2286],{"type":34,"tag":105,"props":2287,"children":2288},{"style":199},[2289],{"type":40,"value":1985},{"type":34,"tag":66,"props":2291,"children":2293},{"id":2292},"_4-seed-sample-data",[2294],{"type":40,"value":2295},"4) Seed sample data",{"type":34,"tag":43,"props":2297,"children":2298},{},[2299],{"type":40,"value":2300},"Insert sample records into all three tables:",{"type":34,"tag":95,"props":2302,"children":2304},{"className":1666,"code":2303,"language":1668,"meta":7,"style":7},"-- Customers\nINSERT INTO customers VALUES (1, 'Alice Müller', 'Enterprise', 'alice@example.com', SYSTIMESTAMP);\nINSERT INTO customers VALUES (2, 'Bob Santos', 'SMB', 'bob@example.com', SYSTIMESTAMP);\nINSERT INTO customers VALUES (3, 'Charlie Kim', 'Enterprise', 'charlie@example.com', SYSTIMESTAMP);\n\n-- Orders\nINSERT INTO orders VALUES (101, 1, 'shipped', 250.00, SYSTIMESTAMP);\nINSERT INTO orders VALUES (102, 1, 'delivered', 125.50, SYSTIMESTAMP);\nINSERT INTO orders VALUES (103, 2, 'pending', 89.99, SYSTIMESTAMP);\nINSERT INTO orders VALUES (104, 3, 'shipped', 430.00, SYSTIMESTAMP);\n\n-- Order Items\nINSERT INTO order_items VALUES (1001, 101, 'SKU-A1', 2, 75.00);\nINSERT INTO order_items VALUES (1002, 101, 'SKU-B2', 1, 100.00);\nINSERT INTO order_items VALUES (1003, 102, 'SKU-A1', 1, 75.00);\nINSERT INTO order_items VALUES (1004, 102, 'SKU-C3', 1, 50.50);\nINSERT INTO order_items VALUES (1005, 103, 'SKU-B2', 1, 89.99);\nINSERT INTO order_items VALUES (1006, 104, 'SKU-D4', 2, 215.00);\nCOMMIT;\nEXIT;\n",[2305],{"type":34,"tag":87,"props":2306,"children":2307},{"__ignoreMap":7},[2308,2317,2377,2431,2485,2492,2500,2564,2626,2689,2750,2757,2765,2836,2905,2973,3042,3110,3180,3192],{"type":34,"tag":105,"props":2309,"children":2310},{"class":107,"line":17},[2311],{"type":34,"tag":105,"props":2312,"children":2314},{"style":2313},"--shiki-default:#6A737D",[2315],{"type":40,"value":2316},"-- Customers\n",{"type":34,"tag":105,"props":2318,"children":2319},{"class":107,"line":133},[2320,2325,2330,2335,2340,2345,2349,2354,2358,2363,2367,2372],{"type":34,"tag":105,"props":2321,"children":2322},{"style":1678},[2323],{"type":40,"value":2324},"INSERT INTO",{"type":34,"tag":105,"props":2326,"children":2327},{"style":199},[2328],{"type":40,"value":2329}," customers ",{"type":34,"tag":105,"props":2331,"children":2332},{"style":1678},[2333],{"type":40,"value":2334},"VALUES",{"type":34,"tag":105,"props":2336,"children":2337},{"style":199},[2338],{"type":40,"value":2339}," (",{"type":34,"tag":105,"props":2341,"children":2342},{"style":137},[2343],{"type":40,"value":2344},"1",{"type":34,"tag":105,"props":2346,"children":2347},{"style":199},[2348],{"type":40,"value":1729},{"type":34,"tag":105,"props":2350,"children":2351},{"style":117},[2352],{"type":40,"value":2353},"'Alice Müller'",{"type":34,"tag":105,"props":2355,"children":2356},{"style":199},[2357],{"type":40,"value":1729},{"type":34,"tag":105,"props":2359,"children":2360},{"style":117},[2361],{"type":40,"value":2362},"'Enterprise'",{"type":34,"tag":105,"props":2364,"children":2365},{"style":199},[2366],{"type":40,"value":1729},{"type":34,"tag":105,"props":2368,"children":2369},{"style":117},[2370],{"type":40,"value":2371},"'alice@example.com'",{"type":34,"tag":105,"props":2373,"children":2374},{"style":199},[2375],{"type":40,"value":2376},", SYSTIMESTAMP);\n",{"type":34,"tag":105,"props":2378,"children":2379},{"class":107,"line":217},[2380,2384,2388,2392,2396,2400,2404,2409,2413,2418,2422,2427],{"type":34,"tag":105,"props":2381,"children":2382},{"style":1678},[2383],{"type":40,"value":2324},{"type":34,"tag":105,"props":2385,"children":2386},{"style":199},[2387],{"type":40,"value":2329},{"type":34,"tag":105,"props":2389,"children":2390},{"style":1678},[2391],{"type":40,"value":2334},{"type":34,"tag":105,"props":2393,"children":2394},{"style":199},[2395],{"type":40,"value":2339},{"type":34,"tag":105,"props":2397,"children":2398},{"style":137},[2399],{"type":40,"value":2105},{"type":34,"tag":105,"props":2401,"children":2402},{"style":199},[2403],{"type":40,"value":1729},{"type":34,"tag":105,"props":2405,"children":2406},{"style":117},[2407],{"type":40,"value":2408},"'Bob Santos'",{"type":34,"tag":105,"props":2410,"children":2411},{"style":199},[2412],{"type":40,"value":1729},{"type":34,"tag":105,"props":2414,"children":2415},{"style":117},[2416],{"type":40,"value":2417},"'SMB'",{"type":34,"tag":105,"props":2419,"children":2420},{"style":199},[2421],{"type":40,"value":1729},{"type":34,"tag":105,"props":2423,"children":2424},{"style":117},[2425],{"type":40,"value":2426},"'bob@example.com'",{"type":34,"tag":105,"props":2428,"children":2429},{"style":199},[2430],{"type":40,"value":2376},{"type":34,"tag":105,"props":2432,"children":2433},{"class":107,"line":11},[2434,2438,2442,2446,2450,2455,2459,2464,2468,2472,2476,2481],{"type":34,"tag":105,"props":2435,"children":2436},{"style":1678},[2437],{"type":40,"value":2324},{"type":34,"tag":105,"props":2439,"children":2440},{"style":199},[2441],{"type":40,"value":2329},{"type":34,"tag":105,"props":2443,"children":2444},{"style":1678},[2445],{"type":40,"value":2334},{"type":34,"tag":105,"props":2447,"children":2448},{"style":199},[2449],{"type":40,"value":2339},{"type":34,"tag":105,"props":2451,"children":2452},{"style":137},[2453],{"type":40,"value":2454},"3",{"type":34,"tag":105,"props":2456,"children":2457},{"style":199},[2458],{"type":40,"value":1729},{"type":34,"tag":105,"props":2460,"children":2461},{"style":117},[2462],{"type":40,"value":2463},"'Charlie Kim'",{"type":34,"tag":105,"props":2465,"children":2466},{"style":199},[2467],{"type":40,"value":1729},{"type":34,"tag":105,"props":2469,"children":2470},{"style":117},[2471],{"type":40,"value":2362},{"type":34,"tag":105,"props":2473,"children":2474},{"style":199},[2475],{"type":40,"value":1729},{"type":34,"tag":105,"props":2477,"children":2478},{"style":117},[2479],{"type":40,"value":2480},"'charlie@example.com'",{"type":34,"tag":105,"props":2482,"children":2483},{"style":199},[2484],{"type":40,"value":2376},{"type":34,"tag":105,"props":2486,"children":2487},{"class":107,"line":242},[2488],{"type":34,"tag":105,"props":2489,"children":2490},{"emptyLinePlaceholder":18},[2491],{"type":40,"value":1993},{"type":34,"tag":105,"props":2493,"children":2494},{"class":107,"line":266},[2495],{"type":34,"tag":105,"props":2496,"children":2497},{"style":2313},[2498],{"type":40,"value":2499},"-- Orders\n",{"type":34,"tag":105,"props":2501,"children":2502},{"class":107,"line":284},[2503,2507,2512,2516,2520,2525,2529,2533,2537,2542,2546,2551,2555,2560],{"type":34,"tag":105,"props":2504,"children":2505},{"style":1678},[2506],{"type":40,"value":2324},{"type":34,"tag":105,"props":2508,"children":2509},{"style":199},[2510],{"type":40,"value":2511}," orders ",{"type":34,"tag":105,"props":2513,"children":2514},{"style":1678},[2515],{"type":40,"value":2334},{"type":34,"tag":105,"props":2517,"children":2518},{"style":199},[2519],{"type":40,"value":2339},{"type":34,"tag":105,"props":2521,"children":2522},{"style":137},[2523],{"type":40,"value":2524},"101",{"type":34,"tag":105,"props":2526,"children":2527},{"style":199},[2528],{"type":40,"value":1729},{"type":34,"tag":105,"props":2530,"children":2531},{"style":137},[2532],{"type":40,"value":2344},{"type":34,"tag":105,"props":2534,"children":2535},{"style":199},[2536],{"type":40,"value":1729},{"type":34,"tag":105,"props":2538,"children":2539},{"style":117},[2540],{"type":40,"value":2541},"'shipped'",{"type":34,"tag":105,"props":2543,"children":2544},{"style":199},[2545],{"type":40,"value":1729},{"type":34,"tag":105,"props":2547,"children":2548},{"style":137},[2549],{"type":40,"value":2550},"250",{"type":34,"tag":105,"props":2552,"children":2553},{"style":199},[2554],{"type":40,"value":1778},{"type":34,"tag":105,"props":2556,"children":2557},{"style":137},[2558],{"type":40,"value":2559},"00",{"type":34,"tag":105,"props":2561,"children":2562},{"style":199},[2563],{"type":40,"value":2376},{"type":34,"tag":105,"props":2565,"children":2566},{"class":107,"line":302},[2567,2571,2575,2579,2583,2588,2592,2596,2600,2605,2609,2614,2618,2622],{"type":34,"tag":105,"props":2568,"children":2569},{"style":1678},[2570],{"type":40,"value":2324},{"type":34,"tag":105,"props":2572,"children":2573},{"style":199},[2574],{"type":40,"value":2511},{"type":34,"tag":105,"props":2576,"children":2577},{"style":1678},[2578],{"type":40,"value":2334},{"type":34,"tag":105,"props":2580,"children":2581},{"style":199},[2582],{"type":40,"value":2339},{"type":34,"tag":105,"props":2584,"children":2585},{"style":137},[2586],{"type":40,"value":2587},"102",{"type":34,"tag":105,"props":2589,"children":2590},{"style":199},[2591],{"type":40,"value":1729},{"type":34,"tag":105,"props":2593,"children":2594},{"style":137},[2595],{"type":40,"value":2344},{"type":34,"tag":105,"props":2597,"children":2598},{"style":199},[2599],{"type":40,"value":1729},{"type":34,"tag":105,"props":2601,"children":2602},{"style":117},[2603],{"type":40,"value":2604},"'delivered'",{"type":34,"tag":105,"props":2606,"children":2607},{"style":199},[2608],{"type":40,"value":1729},{"type":34,"tag":105,"props":2610,"children":2611},{"style":137},[2612],{"type":40,"value":2613},"125",{"type":34,"tag":105,"props":2615,"children":2616},{"style":199},[2617],{"type":40,"value":1778},{"type":34,"tag":105,"props":2619,"children":2620},{"style":137},[2621],{"type":40,"value":1925},{"type":34,"tag":105,"props":2623,"children":2624},{"style":199},[2625],{"type":40,"value":2376},{"type":34,"tag":105,"props":2627,"children":2628},{"class":107,"line":320},[2629,2633,2637,2641,2645,2650,2654,2658,2662,2667,2671,2676,2680,2685],{"type":34,"tag":105,"props":2630,"children":2631},{"style":1678},[2632],{"type":40,"value":2324},{"type":34,"tag":105,"props":2634,"children":2635},{"style":199},[2636],{"type":40,"value":2511},{"type":34,"tag":105,"props":2638,"children":2639},{"style":1678},[2640],{"type":40,"value":2334},{"type":34,"tag":105,"props":2642,"children":2643},{"style":199},[2644],{"type":40,"value":2339},{"type":34,"tag":105,"props":2646,"children":2647},{"style":137},[2648],{"type":40,"value":2649},"103",{"type":34,"tag":105,"props":2651,"children":2652},{"style":199},[2653],{"type":40,"value":1729},{"type":34,"tag":105,"props":2655,"children":2656},{"style":137},[2657],{"type":40,"value":2105},{"type":34,"tag":105,"props":2659,"children":2660},{"style":199},[2661],{"type":40,"value":1729},{"type":34,"tag":105,"props":2663,"children":2664},{"style":117},[2665],{"type":40,"value":2666},"'pending'",{"type":34,"tag":105,"props":2668,"children":2669},{"style":199},[2670],{"type":40,"value":1729},{"type":34,"tag":105,"props":2672,"children":2673},{"style":137},[2674],{"type":40,"value":2675},"89",{"type":34,"tag":105,"props":2677,"children":2678},{"style":199},[2679],{"type":40,"value":1778},{"type":34,"tag":105,"props":2681,"children":2682},{"style":137},[2683],{"type":40,"value":2684},"99",{"type":34,"tag":105,"props":2686,"children":2687},{"style":199},[2688],{"type":40,"value":2376},{"type":34,"tag":105,"props":2690,"children":2691},{"class":107,"line":338},[2692,2696,2700,2704,2708,2713,2717,2721,2725,2729,2733,2738,2742,2746],{"type":34,"tag":105,"props":2693,"children":2694},{"style":1678},[2695],{"type":40,"value":2324},{"type":34,"tag":105,"props":2697,"children":2698},{"style":199},[2699],{"type":40,"value":2511},{"type":34,"tag":105,"props":2701,"children":2702},{"style":1678},[2703],{"type":40,"value":2334},{"type":34,"tag":105,"props":2705,"children":2706},{"style":199},[2707],{"type":40,"value":2339},{"type":34,"tag":105,"props":2709,"children":2710},{"style":137},[2711],{"type":40,"value":2712},"104",{"type":34,"tag":105,"props":2714,"children":2715},{"style":199},[2716],{"type":40,"value":1729},{"type":34,"tag":105,"props":2718,"children":2719},{"style":137},[2720],{"type":40,"value":2454},{"type":34,"tag":105,"props":2722,"children":2723},{"style":199},[2724],{"type":40,"value":1729},{"type":34,"tag":105,"props":2726,"children":2727},{"style":117},[2728],{"type":40,"value":2541},{"type":34,"tag":105,"props":2730,"children":2731},{"style":199},[2732],{"type":40,"value":1729},{"type":34,"tag":105,"props":2734,"children":2735},{"style":137},[2736],{"type":40,"value":2737},"430",{"type":34,"tag":105,"props":2739,"children":2740},{"style":199},[2741],{"type":40,"value":1778},{"type":34,"tag":105,"props":2743,"children":2744},{"style":137},[2745],{"type":40,"value":2559},{"type":34,"tag":105,"props":2747,"children":2748},{"style":199},[2749],{"type":40,"value":2376},{"type":34,"tag":105,"props":2751,"children":2752},{"class":107,"line":356},[2753],{"type":34,"tag":105,"props":2754,"children":2755},{"emptyLinePlaceholder":18},[2756],{"type":40,"value":1993},{"type":34,"tag":105,"props":2758,"children":2759},{"class":107,"line":369},[2760],{"type":34,"tag":105,"props":2761,"children":2762},{"style":2313},[2763],{"type":40,"value":2764},"-- Order Items\n",{"type":34,"tag":105,"props":2766,"children":2767},{"class":107,"line":390},[2768,2772,2777,2781,2785,2790,2794,2798,2802,2807,2811,2815,2819,2824,2828,2832],{"type":34,"tag":105,"props":2769,"children":2770},{"style":1678},[2771],{"type":40,"value":2324},{"type":34,"tag":105,"props":2773,"children":2774},{"style":199},[2775],{"type":40,"value":2776}," order_items ",{"type":34,"tag":105,"props":2778,"children":2779},{"style":1678},[2780],{"type":40,"value":2334},{"type":34,"tag":105,"props":2782,"children":2783},{"style":199},[2784],{"type":40,"value":2339},{"type":34,"tag":105,"props":2786,"children":2787},{"style":137},[2788],{"type":40,"value":2789},"1001",{"type":34,"tag":105,"props":2791,"children":2792},{"style":199},[2793],{"type":40,"value":1729},{"type":34,"tag":105,"props":2795,"children":2796},{"style":137},[2797],{"type":40,"value":2524},{"type":34,"tag":105,"props":2799,"children":2800},{"style":199},[2801],{"type":40,"value":1729},{"type":34,"tag":105,"props":2803,"children":2804},{"style":117},[2805],{"type":40,"value":2806},"'SKU-A1'",{"type":34,"tag":105,"props":2808,"children":2809},{"style":199},[2810],{"type":40,"value":1729},{"type":34,"tag":105,"props":2812,"children":2813},{"style":137},[2814],{"type":40,"value":2105},{"type":34,"tag":105,"props":2816,"children":2817},{"style":199},[2818],{"type":40,"value":1729},{"type":34,"tag":105,"props":2820,"children":2821},{"style":137},[2822],{"type":40,"value":2823},"75",{"type":34,"tag":105,"props":2825,"children":2826},{"style":199},[2827],{"type":40,"value":1778},{"type":34,"tag":105,"props":2829,"children":2830},{"style":137},[2831],{"type":40,"value":2559},{"type":34,"tag":105,"props":2833,"children":2834},{"style":199},[2835],{"type":40,"value":1985},{"type":34,"tag":105,"props":2837,"children":2838},{"class":107,"line":2112},[2839,2843,2847,2851,2855,2860,2864,2868,2872,2877,2881,2885,2889,2893,2897,2901],{"type":34,"tag":105,"props":2840,"children":2841},{"style":1678},[2842],{"type":40,"value":2324},{"type":34,"tag":105,"props":2844,"children":2845},{"style":199},[2846],{"type":40,"value":2776},{"type":34,"tag":105,"props":2848,"children":2849},{"style":1678},[2850],{"type":40,"value":2334},{"type":34,"tag":105,"props":2852,"children":2853},{"style":199},[2854],{"type":40,"value":2339},{"type":34,"tag":105,"props":2856,"children":2857},{"style":137},[2858],{"type":40,"value":2859},"1002",{"type":34,"tag":105,"props":2861,"children":2862},{"style":199},[2863],{"type":40,"value":1729},{"type":34,"tag":105,"props":2865,"children":2866},{"style":137},[2867],{"type":40,"value":2524},{"type":34,"tag":105,"props":2869,"children":2870},{"style":199},[2871],{"type":40,"value":1729},{"type":34,"tag":105,"props":2873,"children":2874},{"style":117},[2875],{"type":40,"value":2876},"'SKU-B2'",{"type":34,"tag":105,"props":2878,"children":2879},{"style":199},[2880],{"type":40,"value":1729},{"type":34,"tag":105,"props":2882,"children":2883},{"style":137},[2884],{"type":40,"value":2344},{"type":34,"tag":105,"props":2886,"children":2887},{"style":199},[2888],{"type":40,"value":1729},{"type":34,"tag":105,"props":2890,"children":2891},{"style":137},[2892],{"type":40,"value":1899},{"type":34,"tag":105,"props":2894,"children":2895},{"style":199},[2896],{"type":40,"value":1778},{"type":34,"tag":105,"props":2898,"children":2899},{"style":137},[2900],{"type":40,"value":2559},{"type":34,"tag":105,"props":2902,"children":2903},{"style":199},[2904],{"type":40,"value":1985},{"type":34,"tag":105,"props":2906,"children":2907},{"class":107,"line":2133},[2908,2912,2916,2920,2924,2929,2933,2937,2941,2945,2949,2953,2957,2961,2965,2969],{"type":34,"tag":105,"props":2909,"children":2910},{"style":1678},[2911],{"type":40,"value":2324},{"type":34,"tag":105,"props":2913,"children":2914},{"style":199},[2915],{"type":40,"value":2776},{"type":34,"tag":105,"props":2917,"children":2918},{"style":1678},[2919],{"type":40,"value":2334},{"type":34,"tag":105,"props":2921,"children":2922},{"style":199},[2923],{"type":40,"value":2339},{"type":34,"tag":105,"props":2925,"children":2926},{"style":137},[2927],{"type":40,"value":2928},"1003",{"type":34,"tag":105,"props":2930,"children":2931},{"style":199},[2932],{"type":40,"value":1729},{"type":34,"tag":105,"props":2934,"children":2935},{"style":137},[2936],{"type":40,"value":2587},{"type":34,"tag":105,"props":2938,"children":2939},{"style":199},[2940],{"type":40,"value":1729},{"type":34,"tag":105,"props":2942,"children":2943},{"style":117},[2944],{"type":40,"value":2806},{"type":34,"tag":105,"props":2946,"children":2947},{"style":199},[2948],{"type":40,"value":1729},{"type":34,"tag":105,"props":2950,"children":2951},{"style":137},[2952],{"type":40,"value":2344},{"type":34,"tag":105,"props":2954,"children":2955},{"style":199},[2956],{"type":40,"value":1729},{"type":34,"tag":105,"props":2958,"children":2959},{"style":137},[2960],{"type":40,"value":2823},{"type":34,"tag":105,"props":2962,"children":2963},{"style":199},[2964],{"type":40,"value":1778},{"type":34,"tag":105,"props":2966,"children":2967},{"style":137},[2968],{"type":40,"value":2559},{"type":34,"tag":105,"props":2970,"children":2971},{"style":199},[2972],{"type":40,"value":1985},{"type":34,"tag":105,"props":2974,"children":2975},{"class":107,"line":2141},[2976,2980,2984,2988,2992,2997,3001,3005,3009,3014,3018,3022,3026,3030,3034,3038],{"type":34,"tag":105,"props":2977,"children":2978},{"style":1678},[2979],{"type":40,"value":2324},{"type":34,"tag":105,"props":2981,"children":2982},{"style":199},[2983],{"type":40,"value":2776},{"type":34,"tag":105,"props":2985,"children":2986},{"style":1678},[2987],{"type":40,"value":2334},{"type":34,"tag":105,"props":2989,"children":2990},{"style":199},[2991],{"type":40,"value":2339},{"type":34,"tag":105,"props":2993,"children":2994},{"style":137},[2995],{"type":40,"value":2996},"1004",{"type":34,"tag":105,"props":2998,"children":2999},{"style":199},[3000],{"type":40,"value":1729},{"type":34,"tag":105,"props":3002,"children":3003},{"style":137},[3004],{"type":40,"value":2587},{"type":34,"tag":105,"props":3006,"children":3007},{"style":199},[3008],{"type":40,"value":1729},{"type":34,"tag":105,"props":3010,"children":3011},{"style":117},[3012],{"type":40,"value":3013},"'SKU-C3'",{"type":34,"tag":105,"props":3015,"children":3016},{"style":199},[3017],{"type":40,"value":1729},{"type":34,"tag":105,"props":3019,"children":3020},{"style":137},[3021],{"type":40,"value":2344},{"type":34,"tag":105,"props":3023,"children":3024},{"style":199},[3025],{"type":40,"value":1729},{"type":34,"tag":105,"props":3027,"children":3028},{"style":137},[3029],{"type":40,"value":1925},{"type":34,"tag":105,"props":3031,"children":3032},{"style":199},[3033],{"type":40,"value":1778},{"type":34,"tag":105,"props":3035,"children":3036},{"style":137},[3037],{"type":40,"value":1925},{"type":34,"tag":105,"props":3039,"children":3040},{"style":199},[3041],{"type":40,"value":1985},{"type":34,"tag":105,"props":3043,"children":3044},{"class":107,"line":2149},[3045,3049,3053,3057,3061,3066,3070,3074,3078,3082,3086,3090,3094,3098,3102,3106],{"type":34,"tag":105,"props":3046,"children":3047},{"style":1678},[3048],{"type":40,"value":2324},{"type":34,"tag":105,"props":3050,"children":3051},{"style":199},[3052],{"type":40,"value":2776},{"type":34,"tag":105,"props":3054,"children":3055},{"style":1678},[3056],{"type":40,"value":2334},{"type":34,"tag":105,"props":3058,"children":3059},{"style":199},[3060],{"type":40,"value":2339},{"type":34,"tag":105,"props":3062,"children":3063},{"style":137},[3064],{"type":40,"value":3065},"1005",{"type":34,"tag":105,"props":3067,"children":3068},{"style":199},[3069],{"type":40,"value":1729},{"type":34,"tag":105,"props":3071,"children":3072},{"style":137},[3073],{"type":40,"value":2649},{"type":34,"tag":105,"props":3075,"children":3076},{"style":199},[3077],{"type":40,"value":1729},{"type":34,"tag":105,"props":3079,"children":3080},{"style":117},[3081],{"type":40,"value":2876},{"type":34,"tag":105,"props":3083,"children":3084},{"style":199},[3085],{"type":40,"value":1729},{"type":34,"tag":105,"props":3087,"children":3088},{"style":137},[3089],{"type":40,"value":2344},{"type":34,"tag":105,"props":3091,"children":3092},{"style":199},[3093],{"type":40,"value":1729},{"type":34,"tag":105,"props":3095,"children":3096},{"style":137},[3097],{"type":40,"value":2675},{"type":34,"tag":105,"props":3099,"children":3100},{"style":199},[3101],{"type":40,"value":1778},{"type":34,"tag":105,"props":3103,"children":3104},{"style":137},[3105],{"type":40,"value":2684},{"type":34,"tag":105,"props":3107,"children":3108},{"style":199},[3109],{"type":40,"value":1985},{"type":34,"tag":105,"props":3111,"children":3112},{"class":107,"line":2170},[3113,3117,3121,3125,3129,3134,3138,3142,3146,3151,3155,3159,3163,3168,3172,3176],{"type":34,"tag":105,"props":3114,"children":3115},{"style":1678},[3116],{"type":40,"value":2324},{"type":34,"tag":105,"props":3118,"children":3119},{"style":199},[3120],{"type":40,"value":2776},{"type":34,"tag":105,"props":3122,"children":3123},{"style":1678},[3124],{"type":40,"value":2334},{"type":34,"tag":105,"props":3126,"children":3127},{"style":199},[3128],{"type":40,"value":2339},{"type":34,"tag":105,"props":3130,"children":3131},{"style":137},[3132],{"type":40,"value":3133},"1006",{"type":34,"tag":105,"props":3135,"children":3136},{"style":199},[3137],{"type":40,"value":1729},{"type":34,"tag":105,"props":3139,"children":3140},{"style":137},[3141],{"type":40,"value":2712},{"type":34,"tag":105,"props":3143,"children":3144},{"style":199},[3145],{"type":40,"value":1729},{"type":34,"tag":105,"props":3147,"children":3148},{"style":117},[3149],{"type":40,"value":3150},"'SKU-D4'",{"type":34,"tag":105,"props":3152,"children":3153},{"style":199},[3154],{"type":40,"value":1729},{"type":34,"tag":105,"props":3156,"children":3157},{"style":137},[3158],{"type":40,"value":2105},{"type":34,"tag":105,"props":3160,"children":3161},{"style":199},[3162],{"type":40,"value":1729},{"type":34,"tag":105,"props":3164,"children":3165},{"style":137},[3166],{"type":40,"value":3167},"215",{"type":34,"tag":105,"props":3169,"children":3170},{"style":199},[3171],{"type":40,"value":1778},{"type":34,"tag":105,"props":3173,"children":3174},{"style":137},[3175],{"type":40,"value":2559},{"type":34,"tag":105,"props":3177,"children":3178},{"style":199},[3179],{"type":40,"value":1985},{"type":34,"tag":105,"props":3181,"children":3182},{"class":107,"line":2191},[3183,3188],{"type":34,"tag":105,"props":3184,"children":3185},{"style":1678},[3186],{"type":40,"value":3187},"COMMIT",{"type":34,"tag":105,"props":3189,"children":3190},{"style":199},[3191],{"type":40,"value":1711},{"type":34,"tag":105,"props":3193,"children":3194},{"class":107,"line":2208},[3195],{"type":34,"tag":105,"props":3196,"children":3197},{"style":199},[3198],{"type":40,"value":1766},{"type":34,"tag":43,"props":3200,"children":3201},{},[3202],{"type":40,"value":3203},"You now have 3 customers, 4 orders, and 6 order items - a small but realistic dataset for an e-commerce scenario.",{"type":34,"tag":35,"props":3205,"children":3206},{"id":531},[3207],{"type":40,"value":534},{"type":34,"tag":43,"props":3209,"children":3210},{},[3211],{"type":40,"value":3212},"You have a running Oracle XE instance with three populated tables. The data matches the ingestr assets in your Bruin project, so the pipeline is ready to transfer everything to DuckDB.",{"type":34,"tag":541,"props":3214,"children":3215},{},[3216],{"type":40,"value":545},{"title":7,"searchDepth":133,"depth":133,"links":3218},[3219,3220,3221,3227],{"id":37,"depth":133,"text":41},{"id":50,"depth":133,"text":53},{"id":61,"depth":133,"text":64,"children":3222},[3223,3224,3225,3226],{"id":1454,"depth":217,"text":1457},{"id":1594,"depth":217,"text":1597},{"id":1781,"depth":217,"text":1784},{"id":2292,"depth":217,"text":2295},{"id":531,"depth":133,"text":534},"content:tutorials:oracle-duckdb:setup-oracle.md","tutorials/oracle-duckdb/setup-oracle.md","tutorials/oracle-duckdb/setup-oracle",{"_path":3232,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":3233,"description":3234,"date":10,"readingTime":11,"category":12,"tags":3235,"difficulty":16,"module":5,"step":217,"subSteps":18,"learnMore":3236,"author":3243,"body":3244,"_type":556,"_id":3528,"_source":558,"_file":3529,"_stem":3530,"_extension":561},"/tutorials/oracle-duckdb/run-verify","Run Pipeline & Verify","Execute the pipeline to transfer Oracle data to DuckDB and verify the aggregated results.",[14,15],[3237,3240],{"label":3238,"url":3239},"Bruin run command","https://getbruin.com/docs/bruin/commands/run.html",{"label":3241,"url":3242},"Materialization strategies","https://getbruin.com/docs/bruin/assets/materialization.html",{"name":27,"role":28,"image":29},{"type":31,"children":3245,"toc":3518},[3246,3250,3263,3267,3272,3276,3282,3287,3320,3325,3348,3353,3359,3364,3389,3394,3399,3454,3460,3465,3505,3509,3514],{"type":34,"tag":35,"props":3247,"children":3248},{"id":37},[3249],{"type":40,"value":41},{"type":34,"tag":43,"props":3251,"children":3252},{},[3253,3255,3261],{"type":40,"value":3254},"Run the pipeline to transfer all three Oracle tables to DuckDB and verify the results by querying the aggregated ",{"type":34,"tag":87,"props":3256,"children":3258},{"className":3257},[],[3259],{"type":40,"value":3260},"sales_per_customer",{"type":40,"value":3262}," table.",{"type":34,"tag":35,"props":3264,"children":3265},{"id":50},[3266],{"type":40,"value":53},{"type":34,"tag":43,"props":3268,"children":3269},{},[3270],{"type":40,"value":3271},"This is where everything comes together. Bruin runs the ingestr assets in parallel (since they have no dependencies on each other), then runs the SQL transformation that depends on all three. The result is a clean, aggregated report table in DuckDB.",{"type":34,"tag":35,"props":3273,"children":3274},{"id":61},[3275],{"type":40,"value":64},{"type":34,"tag":66,"props":3277,"children":3279},{"id":3278},"_1-run-the-pipeline",[3280],{"type":40,"value":3281},"1) Run the pipeline",{"type":34,"tag":43,"props":3283,"children":3284},{},[3285],{"type":40,"value":3286},"Execute the pipeline:",{"type":34,"tag":95,"props":3288,"children":3290},{"className":97,"code":3289,"language":99,"meta":7,"style":7},"bruin run . --config-file ./.bruin.yml\n",[3291],{"type":34,"tag":87,"props":3292,"children":3293},{"__ignoreMap":7},[3294],{"type":34,"tag":105,"props":3295,"children":3296},{"class":107,"line":17},[3297,3301,3305,3310,3315],{"type":34,"tag":105,"props":3298,"children":3299},{"style":111},[3300],{"type":40,"value":114},{"type":34,"tag":105,"props":3302,"children":3303},{"style":117},[3304],{"type":40,"value":1482},{"type":34,"tag":105,"props":3306,"children":3307},{"style":117},[3308],{"type":40,"value":3309}," .",{"type":34,"tag":105,"props":3311,"children":3312},{"style":137},[3313],{"type":40,"value":3314}," --config-file",{"type":34,"tag":105,"props":3316,"children":3317},{"style":117},[3318],{"type":40,"value":3319}," ./.bruin.yml\n",{"type":34,"tag":43,"props":3321,"children":3322},{},[3323],{"type":40,"value":3324},"You'll see Bruin:",{"type":34,"tag":3326,"props":3327,"children":3328},"ol",{},[3329,3335],{"type":34,"tag":3330,"props":3331,"children":3332},"li",{},[3333],{"type":40,"value":3334},"Run three ingestr jobs in parallel - one for each Oracle table (customers, orders, order_items)",{"type":34,"tag":3330,"props":3336,"children":3337},{},[3338,3340,3346],{"type":40,"value":3339},"Run the ",{"type":34,"tag":87,"props":3341,"children":3343},{"className":3342},[],[3344],{"type":40,"value":3345},"sales_per_customer.sql",{"type":40,"value":3347}," transformation after all three complete",{"type":34,"tag":43,"props":3349,"children":3350},{},[3351],{"type":40,"value":3352},"The entire pipeline should finish in about 10 seconds on a local Docker environment.",{"type":34,"tag":66,"props":3354,"children":3356},{"id":3355},"_2-verify-the-results",[3357],{"type":40,"value":3358},"2) Verify the results",{"type":34,"tag":43,"props":3360,"children":3361},{},[3362],{"type":40,"value":3363},"Query the aggregated report table:",{"type":34,"tag":95,"props":3365,"children":3367},{"className":97,"code":3366,"language":99,"meta":7,"style":7},"duckdb oracle_duckdb.db \"SELECT * FROM duckdb.sales_per_customer;\"\n",[3368],{"type":34,"tag":87,"props":3369,"children":3370},{"__ignoreMap":7},[3371],{"type":34,"tag":105,"props":3372,"children":3373},{"class":107,"line":17},[3374,3379,3384],{"type":34,"tag":105,"props":3375,"children":3376},{"style":111},[3377],{"type":40,"value":3378},"duckdb",{"type":34,"tag":105,"props":3380,"children":3381},{"style":117},[3382],{"type":40,"value":3383}," oracle_duckdb.db",{"type":34,"tag":105,"props":3385,"children":3386},{"style":117},[3387],{"type":40,"value":3388}," \"SELECT * FROM duckdb.sales_per_customer;\"\n",{"type":34,"tag":43,"props":3390,"children":3391},{},[3392],{"type":40,"value":3393},"You should see a table with customer names, total revenue, order counts, and last order dates. This is the output of the SQL transformation that joins all three source tables.",{"type":34,"tag":43,"props":3395,"children":3396},{},[3397],{"type":40,"value":3398},"You can also verify the raw ingested tables:",{"type":34,"tag":95,"props":3400,"children":3402},{"className":97,"code":3401,"language":99,"meta":7,"style":7},"duckdb oracle_duckdb.db \"SELECT * FROM duckdb.customers;\"\nduckdb oracle_duckdb.db \"SELECT * FROM duckdb.orders;\"\nduckdb oracle_duckdb.db \"SELECT * FROM duckdb.order_items;\"\n",[3403],{"type":34,"tag":87,"props":3404,"children":3405},{"__ignoreMap":7},[3406,3422,3438],{"type":34,"tag":105,"props":3407,"children":3408},{"class":107,"line":17},[3409,3413,3417],{"type":34,"tag":105,"props":3410,"children":3411},{"style":111},[3412],{"type":40,"value":3378},{"type":34,"tag":105,"props":3414,"children":3415},{"style":117},[3416],{"type":40,"value":3383},{"type":34,"tag":105,"props":3418,"children":3419},{"style":117},[3420],{"type":40,"value":3421}," \"SELECT * FROM duckdb.customers;\"\n",{"type":34,"tag":105,"props":3423,"children":3424},{"class":107,"line":133},[3425,3429,3433],{"type":34,"tag":105,"props":3426,"children":3427},{"style":111},[3428],{"type":40,"value":3378},{"type":34,"tag":105,"props":3430,"children":3431},{"style":117},[3432],{"type":40,"value":3383},{"type":34,"tag":105,"props":3434,"children":3435},{"style":117},[3436],{"type":40,"value":3437}," \"SELECT * FROM duckdb.orders;\"\n",{"type":34,"tag":105,"props":3439,"children":3440},{"class":107,"line":217},[3441,3445,3449],{"type":34,"tag":105,"props":3442,"children":3443},{"style":111},[3444],{"type":40,"value":3378},{"type":34,"tag":105,"props":3446,"children":3447},{"style":117},[3448],{"type":40,"value":3383},{"type":34,"tag":105,"props":3450,"children":3451},{"style":117},[3452],{"type":40,"value":3453}," \"SELECT * FROM duckdb.order_items;\"\n",{"type":34,"tag":66,"props":3455,"children":3457},{"id":3456},"_3-cleanup",[3458],{"type":40,"value":3459},"3) Cleanup",{"type":34,"tag":43,"props":3461,"children":3462},{},[3463],{"type":40,"value":3464},"When you're done with the tutorial, clean up the Docker container and local database:",{"type":34,"tag":95,"props":3466,"children":3468},{"className":97,"code":3467,"language":99,"meta":7,"style":7},"docker rm -f oracle-xe\nrm oracle_duckdb.db\n",[3469],{"type":34,"tag":87,"props":3470,"children":3471},{"__ignoreMap":7},[3472,3492],{"type":34,"tag":105,"props":3473,"children":3474},{"class":107,"line":17},[3475,3479,3484,3488],{"type":34,"tag":105,"props":3476,"children":3477},{"style":111},[3478],{"type":40,"value":1477},{"type":34,"tag":105,"props":3480,"children":3481},{"style":117},[3482],{"type":40,"value":3483}," rm",{"type":34,"tag":105,"props":3485,"children":3486},{"style":137},[3487],{"type":40,"value":1573},{"type":34,"tag":105,"props":3489,"children":3490},{"style":117},[3491],{"type":40,"value":1578},{"type":34,"tag":105,"props":3493,"children":3494},{"class":107,"line":133},[3495,3500],{"type":34,"tag":105,"props":3496,"children":3497},{"style":111},[3498],{"type":40,"value":3499},"rm",{"type":34,"tag":105,"props":3501,"children":3502},{"style":117},[3503],{"type":40,"value":3504}," oracle_duckdb.db\n",{"type":34,"tag":35,"props":3506,"children":3507},{"id":531},[3508],{"type":40,"value":534},{"type":34,"tag":43,"props":3510,"children":3511},{},[3512],{"type":40,"value":3513},"You moved data from Oracle XE into DuckDB and created an aggregated reporting table - all with a single command. The template handled the pipeline structure, and Bruin handled dependency resolution and parallel execution. From here, you can extend the pipeline with additional SQL models, add scheduling, or connect to a production Oracle instance.",{"type":34,"tag":541,"props":3515,"children":3516},{},[3517],{"type":40,"value":545},{"title":7,"searchDepth":133,"depth":133,"links":3519},[3520,3521,3522,3527],{"id":37,"depth":133,"text":41},{"id":50,"depth":133,"text":53},{"id":61,"depth":133,"text":64,"children":3523},[3524,3525,3526],{"id":3278,"depth":217,"text":3281},{"id":3355,"depth":217,"text":3358},{"id":3456,"depth":217,"text":3459},{"id":531,"depth":133,"text":534},"content:tutorials:oracle-duckdb:run-verify.md","tutorials/oracle-duckdb/run-verify.md","tutorials/oracle-duckdb/run-verify",1776427879550]