Intro to Data Build Tool (dbt) // Create your first project!

  Рет қаралды 348,729

Kahan Data Solutions

Kahan Data Solutions

Күн бұрын

Пікірлер: 137
@KahanDataSolutions
@KahanDataSolutions 4 жыл бұрын
Want to build a reliable, modern data architecture without the mess? Here’s a free checklist to help you → bit.ly/kds-checklist
@joseantoniolopezmesa6807
@joseantoniolopezmesa6807 Жыл бұрын
Well I need to say this is great to start on DBT. Not too complicated, not too simple, just something in between. I am watching the whole playlist. I am excited because this will get me up to speed for POC purposes quick enough. Thanks
@JusmaVids
@JusmaVids 4 жыл бұрын
I was able to get started with dbt a lot faster than going through dbt documentation and videos.
@KahanDataSolutions
@KahanDataSolutions 4 жыл бұрын
Great to hear! Thank you for watching.
@tatamanasa4398
@tatamanasa4398 3 жыл бұрын
@jusmaVids does dbt cloud have an in hand database with data to try few queries on?
@varinderjitkaur3656
@varinderjitkaur3656 3 жыл бұрын
Hey Mike! Thank you so much for creating this DBT playlist. i am so grateful to you, i had a job assesment exam for Data modelling using DBT and your videos really helped me to learn the basics and later develop my own project. Again thank you so much! 😊😊
@KahanDataSolutions
@KahanDataSolutions 3 жыл бұрын
That is awesome! So glad to hear it was helpful you for you. That type of feedback is what makes creating these videos worth it!
@SnowGateAI
@SnowGateAI 10 ай бұрын
Great Video For Any Beginner, thank You
@yanelakantomboxolo185
@yanelakantomboxolo185 2 жыл бұрын
Thank you very much. This was the best video for a beginner like myself .... 1 or 2 things that had been changed by dbt since 2020, but I was able to follow you.
@1ma4ighter
@1ma4ighter Жыл бұрын
sweeeeeet! thanks for all the videos, I'mana go through all of these over the next two weeks
@praveen-dten-0871
@praveen-dten-0871 Жыл бұрын
Great tutorial, thanks Kahan for uploading this.
@parthapratimdas4051
@parthapratimdas4051 Жыл бұрын
this is the best tutorial on dbt!
@KahanDataSolutions
@KahanDataSolutions Жыл бұрын
Thanks Partha!
@TubeDirektor
@TubeDirektor 4 жыл бұрын
Nicely done, was able to follow through and get my first commit into a snowflake instance.
@KahanDataSolutions
@KahanDataSolutions 4 жыл бұрын
Awesome!
@muchumarriamarnath1858
@muchumarriamarnath1858 3 жыл бұрын
It is really good one to start DBT.. Thank you
@KahanDataSolutions
@KahanDataSolutions 3 жыл бұрын
You're welcome, thanks for watching.
@VaibhavPatil-rx7pc
@VaibhavPatil-rx7pc Жыл бұрын
Excellent information
@navdeepkumar5946
@navdeepkumar5946 3 жыл бұрын
Very informative and helpful. Thanks
@KahanDataSolutions
@KahanDataSolutions 3 жыл бұрын
Glad it was helpful!
@v4varun86
@v4varun86 3 жыл бұрын
I am getting dbt command not found error in visual studio code. However pip dbt install was successful and its running fine from cmd dbt : The term 'dbt' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + dbt debug + ~~~ + CategoryInfo : ObjectNotFound: (dbt:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
@danielejiofor3493
@danielejiofor3493 Жыл бұрын
Please update the video, looks the installation process has changed
@TalhaIftikhar-wj3bu
@TalhaIftikhar-wj3bu Жыл бұрын
Nice and clear, thank you.
@mikepain5011
@mikepain5011 4 жыл бұрын
Super helpful! Thank you!
@KahanDataSolutions
@KahanDataSolutions 4 жыл бұрын
Glad it was helpful. Thanks for watching!
@Ashok-oe3lo
@Ashok-oe3lo 4 жыл бұрын
Thank you very much for your time, very helpful
@KahanDataSolutions
@KahanDataSolutions 4 жыл бұрын
Glad you found it helpful!
@ravibabumca
@ravibabumca 3 жыл бұрын
Really good Brother
@pendragonmeat
@pendragonmeat 2 жыл бұрын
Great content. Thanks Mike
@KahanDataSolutions
@KahanDataSolutions 2 жыл бұрын
I see you! Thanks bro
@BobbyWatson-s4z
@BobbyWatson-s4z Жыл бұрын
10/10 --thanks for the video. New dbt users should view before visiting @dbt. Found this after nearly a day installing/reinstalling to dbt spec (is 'erratic' a good description for dbt docs? maybe...'incorrect'?).
@parrisgjerde9212
@parrisgjerde9212 Жыл бұрын
Nice video. Thanks.
@ankuraeran1819
@ankuraeran1819 2 жыл бұрын
Good tutorial, thank you!
@KahanDataSolutions
@KahanDataSolutions 2 жыл бұрын
You're welcome! Thanks for watching
@miniaturkid
@miniaturkid 3 жыл бұрын
fantastic playlist. Thank you.
@KahanDataSolutions
@KahanDataSolutions 3 жыл бұрын
Thank you!
@lucymat3746
@lucymat3746 Жыл бұрын
so helpful, thank you
@KahanDataSolutions
@KahanDataSolutions Жыл бұрын
Glad it was helpful!
@qone2363
@qone2363 5 ай бұрын
Hey Kahan! There were some changes to get the dbt env setup going.. perhaps it's time for an update? Had to find work arounds.. when I do it, profiles.yml file doesn't exist or cannot be found.. anyways, thanks for making the tutorial
@khaledtawfik7268
@khaledtawfik7268 Жыл бұрын
Hey Mike I love your videos as they helped me a lot. wanted to ask if you have any plan to make a video about incremental techniques and the difference between them and best practices, i always struggle with this as an analytics engineer. Thanks
@Sunnyb-u8g
@Sunnyb-u8g 2 ай бұрын
Hi Team , How to see the column lineage and performance for models
@cherah3012
@cherah3012 3 жыл бұрын
Hello @Kahan. Thank you for everything you share with us. It's a pleasure to follow you. For this tutorial, I followed everything well until 11:30. dbt shows me "Completed successfully" => 2 of 2 Ok created view model Public ... etc. But when I look in snowflake under public, nothing has been created ... Do you have an explanation? Thx
@KahanDataSolutions
@KahanDataSolutions 3 жыл бұрын
Hello and thank you for your kind words! Regarding your visibility in Snowflake - perhaps you need to switch roles when you sign into Snowflake. For example, if you set your profiles.yml on dbt to use accountadmin , then any role with "less" privileges won't have visibility. This is where access control comes into play, but was unfortunately outside the scope of this video. Let me know if that does it. Thanks again.
@cherah3012
@cherah3012 3 жыл бұрын
Hi​@@KahanDataSolutions Thank you for your quick response In fact, I had done everything right. while I am testing something else in snowflake by creating a table by hand in the same schema (DEMO_DB.PUBLIC, in my case), I saw the table and the view appear in the worksheet (MY_FIRST_DBT_MODEL and MY_SECOND_DBT_MODEL) ... It's a bit strange !! but everything is fine, I will be able to move forward ...
@stephensun6672
@stephensun6672 3 жыл бұрын
@@cherah3012 you have to grant privileges to SYSADMIN then you'll be able to see the table.
@AnkitSinhaforself
@AnkitSinhaforself 4 жыл бұрын
thanks for this !!! really helpful
@KahanDataSolutions
@KahanDataSolutions 4 жыл бұрын
Glad it was helpful!
@juanete69
@juanete69 2 ай бұрын
Thank you for the tutorial. But the image is very blurry.
@mayureshpachangane7523
@mayureshpachangane7523 Жыл бұрын
Do you know how we can write stored-procs in dbt? Can you provide something on that
@tushargp
@tushargp 2 жыл бұрын
Hello, I have 2 models in same folder , but wants dbt to write out put from each model to separate database in same account, how can I do that? Please advise.
@KahanDataSolutions
@KahanDataSolutions 2 жыл бұрын
Hi Dinesh, this can be accomplished by changing the "database" config setting. Here is the documentation: docs.getdbt.com/docs/building-a-dbt-project/building-models/using-custom-databases
@tushargp
@tushargp 2 жыл бұрын
Thank you, This is what I have been looking for. Can you please advise on below scenario where I have 4 tables to load, each table has 4 scripts to run in specific sequence (insert script + logging scripts), please advise how can I set this 16 script project with dependencies.
@shankarbonda6977
@shankarbonda6977 Жыл бұрын
@KahanDataSolutions Hi, while running dbt debug, I am facing connection test error, could not connect to snowflake backend, I have populated all the fields popularly. Could you please help me ?
@0xsuperman
@0xsuperman Жыл бұрын
I don't see the .dbt folder under my admin folder, will this still work?
@roberbonox
@roberbonox Жыл бұрын
dude how r you, i have the next question, what could i do if i have a stream on snowflake that i want to "consume" in dbt but not creating a physical table or view, instead something live a ephemeral materialization, only to purge the stream and avoid to become stale. I create an ephemeral model and select the stream source but that only create obviously an ephemeral materialization but kind not clean the data on the stream, thoughts??
@livu69
@livu69 3 жыл бұрын
Great tutorial!
@KahanDataSolutions
@KahanDataSolutions 3 жыл бұрын
Thank you!
@n_128
@n_128 2 жыл бұрын
The command "pip install dbt" will not work anymore. The documentation says: "Note that, as of v1.0.0, pip install dbt is no longer supported and will raise an explicit error. Since v0.13, the PyPi package named dbt was a simple "pass-through" of dbt-core and the four original database adapter plugins. For v1, we formalized that split." This command emulates the behaviour of the pip install dbt command: ``` pip install \ dbt-core \ dbt-postgres \ dbt-redshift \ dbt-snowflake \ dbt-bigquery ```
@KahanDataSolutions
@KahanDataSolutions 2 жыл бұрын
You are correct - This video is now a bit dated compared to the latest version but if you make the adjustment you mention you should be all set. Here is a reference link for others who are interested: docs.getdbt.com/dbt-cli/install/pip#pip-install-dbt
@ShreyasSureshDhamore
@ShreyasSureshDhamore 2 ай бұрын
time stamp 7.38 in this vide I have see when you do dbt init then you can see which db you need to be configured instead of doing manually.?
@mounikarepakula1910
@mounikarepakula1910 2 жыл бұрын
Hey Mike! Thank You so much. May i know how to create a new table in DBT tool?
@KahanDataSolutions
@KahanDataSolutions 2 жыл бұрын
Thanks for watching! To create a table you create a model (sql file) and set the materialization as "table". You can follow along the rest of the videos in this playlist to learn more about how to use dbt.
@StephenRayner
@StephenRayner 6 ай бұрын
Please make videos on “Meltano” and how to use dbt within this? 🎉
@jaredfiacco1107
@jaredfiacco1107 3 жыл бұрын
Thanks Kahan!
@KahanDataSolutions
@KahanDataSolutions 3 жыл бұрын
You're welcome!
@SebastianFeriz
@SebastianFeriz 3 ай бұрын
No se que pasa que al querer hacer el init no reconoce el dbt... busque para agregar el path y no hay caso.. Tambien probe instalar el dbt-core y tambien hacerlo via virenv... y no pude tampoco... A alguien le ha pasado??
@sungod595
@sungod595 Жыл бұрын
Hey Mike, Excellent Content. Many Thanks. I know these videos are good to start with . Do you plan to include any videos on advanced concepts Once again Thanks so much for great content
@tushargp
@tushargp 2 жыл бұрын
Also if you can please advise how can I run update statement.
@bashabash3697
@bashabash3697 Жыл бұрын
hey Mike. Can we install DBT in Azure data factory
@udaykumar-tb5kn
@udaykumar-tb5kn Жыл бұрын
Dbt is cloud login right why did you install it locally?? What difference between on prem vs cloud dbt login pls help
@tushargp
@tushargp 2 жыл бұрын
Hello, Please advise how can i run update statement on snowflake.
@sakthivadivel1057
@sakthivadivel1057 3 жыл бұрын
Hi @kahan, While I try to install dbt (pip install dbt) an error occurs.Error:KeyError:ICU_VERSION.could you help me to fix?
@KahanDataSolutions
@KahanDataSolutions 3 жыл бұрын
Hi there - Unfortunately that sounds like an environment issue specific to your machine/setup and not something I can easily answer. Make sure you are using an acceptable version of Python for dbt and try searching around online to see if others have encountered similar issues.
@vishwanathmuthuraman5530
@vishwanathmuthuraman5530 2 жыл бұрын
I was able to pip install dbt, but when i run " dbt init [project name] " it says something like cant recognize path, external, or batch file ?? what do it do ?
@Faith_Ojumah
@Faith_Ojumah Жыл бұрын
HI, I am having difficulties finding my profiles.yml file on my MacOS. Please help?
@tatamanasa4398
@tatamanasa4398 3 жыл бұрын
does dbt cloud have an in hand data base with data to try out the commands?
@KahanDataSolutions
@KahanDataSolutions 3 жыл бұрын
Hi Tata - Unfortunately DBT does not come out of the box with a database, but instead is designed to plug into one that you already have.
@blancamola
@blancamola 2 жыл бұрын
Hello there! I got stuck at the start. I installed dbt by pip with no errors (Actually dbt-redshift). But when I run dbt --version or any other dbt command I get the typical error of not recognized as internal. I tried to add .....\python310\site-packages in the path of environment variables, but no luck. Thank you for any help, Looking forward to watching the rest of videos too. 😃
@samuelbrown797
@samuelbrown797 2 жыл бұрын
Hi Serna. Sorry for reaching out to you but I am encountering the same problem. Were you able to find a solution to this problem?
@shrero
@shrero Жыл бұрын
Will this intro work on a mac as well?
@sararodriguez5803
@sararodriguez5803 3 жыл бұрын
Can you possibly configure dbt profile to work with Spark into AWS S3 parquet files?
@KahanDataSolutions
@KahanDataSolutions 3 жыл бұрын
Here are the list of available adapters - docs.getdbt.com/docs/available-adapters
@anjanashetty482
@anjanashetty482 2 жыл бұрын
How to update records in dbt. Update operation is failing upon dbt run.
@PawanKumar-un7sk
@PawanKumar-un7sk 3 жыл бұрын
After the command applied pip install dbt When I check for dbt --version it's showing that dbt is not recognized as an internal or external command, operable program or batch file what I do now?
@KahanDataSolutions
@KahanDataSolutions 3 жыл бұрын
Did the pip install dbt command run successfully?
@lokendrasinghtanwar5917
@lokendrasinghtanwar5917 2 жыл бұрын
can you please make a video on how to setup dbt in VS code
@jeremiahworkman1631
@jeremiahworkman1631 2 жыл бұрын
Is this tutorial applicable (after the initial install for WIndows) for MacOS?
@KahanDataSolutions
@KahanDataSolutions 2 жыл бұрын
Hey Jeremiah - Yes the general workflow of dbt will be the same across operating systems.
@frankbell3033
@frankbell3033 3 жыл бұрын
when I run your dbt init step in the beginning on a mac I keep getting an error raise ValidationError(f"Unable to create schema for '{type_name}'") hologram.ValidationError: Unable to create schema for 'Optional'
@mechy6065
@mechy6065 3 жыл бұрын
Hello Frank, If you are running Python 3.9, One of their dependencies is not compatible. You will have to downgrade your python version maybe 3.8. If you had found any other solution please reply to this message.
@CosmicNomad
@CosmicNomad 4 ай бұрын
This tutorial is good, but unfortunately the installation/ project creation steps are outdated. The dbt installation process has changed, the dbt init now asks adapter credentials before it can create a profiles file etc. :( Anyone using this video would have to do a lot of research trying to simply set up their first project.
@grantdoyle1259
@grantdoyle1259 2 жыл бұрын
Ive done everything correct up to this point but when I run dbt debug I get an error "dbt : The term 'dbt' is not recognized as the name of a cmdlet, function, script file, or operable program."
@samuelbrown797
@samuelbrown797 2 жыл бұрын
Hi Grant - Sorry for reaching out to you but I am encountering the same problem. Were you able to find a solution to this error? Thanks Sam
@grantdoyle1259
@grantdoyle1259 2 жыл бұрын
@@samuelbrown797 I ended up just working with DBT in a virtual environment. They have some documentation on it and I believe he has a video on it. I am taking a DBT udemy course that has been solid in setting up and configuring DBT
@mohitsondhi
@mohitsondhi Жыл бұрын
where do i find profiles.yml file when installed in mac?
@KahanDataSolutions
@KahanDataSolutions Жыл бұрын
It will be on your home directory at "~/.dbt" However, it might be hidden by default in the finder so you need to press "CMD + Shift + ." to show hidden directories.
@mohitsondhi
@mohitsondhi Жыл бұрын
@@KahanDataSolutions Great, Thank you so much, I am about to buy your course, have 1-2 questions on that, can we somehow chat or have a call?
@litttlemooncream5049
@litttlemooncream5049 2 жыл бұрын
hey mike. Thanks for your video. really helpful! I wonder if I can use python to do loops instead of writing 1000+ rows sql? is it possible to combine dbt and python
@KahanDataSolutions
@KahanDataSolutions 2 жыл бұрын
I recommend checking out Jinja, which allows you to incorporate more dynamic things like loops into your SQL code. docs.getdbt.com/docs/building-a-dbt-project/jinja-macros
@ademolaoladapo9024
@ademolaoladapo9024 3 жыл бұрын
Good Morning, when i tried checking the version of dbt, i get this error - 'dbt' is not recognized as an internal or external command, operable program or batch file. How do i proceed?
@KahanDataSolutions
@KahanDataSolutions 3 жыл бұрын
Did you successfully install dbt before running that command? Perhaps you need to open a new/fresh terminal.
@ademolaoladapo9024
@ademolaoladapo9024 3 жыл бұрын
@@KahanDataSolutions i did install dbt using pip3 before running that command
@hantt
@hantt 2 жыл бұрын
This means that dbt is not added to the path of your execution. Make sure when you run pip install that your virtual environment is active.
@MrEsdrasadiel
@MrEsdrasadiel 2 жыл бұрын
Hello! I am watching your video, for now the dbt request to choose an version in according the situation. In my case i choose the dbt-redshift to install. "pip install dbt-redshift"
@KahanDataSolutions
@KahanDataSolutions 2 жыл бұрын
That's correct! Here's more docs on Redshift specifically: docs.getdbt.com/reference/warehouse-setups/redshift-setup
@SravaniK-ee8td
@SravaniK-ee8td 6 ай бұрын
How to avoid hardcoding of username and password?
@TheSimpGatsby
@TheSimpGatsby Жыл бұрын
thanks mate.
@KahanDataSolutions
@KahanDataSolutions Жыл бұрын
Thanks for watching!
@prateekganguly9285
@prateekganguly9285 Жыл бұрын
If i were 3 years younger I'd have pushed the code with all the secrets in the yaml file
@xhshaw4930
@xhshaw4930 3 жыл бұрын
nice👍
@KahanDataSolutions
@KahanDataSolutions 3 жыл бұрын
Thanks!
@jaym7178
@jaym7178 2 жыл бұрын
Hi I am looking into a career as a Data Engineer i am overwhelmed with software I should learn other than learning python,sql is the any tools and areas I should focus Thanks
@AbdullahShoukat-h5c
@AbdullahShoukat-h5c Жыл бұрын
thanks!
@vickysworld9
@vickysworld9 4 жыл бұрын
I am unable to install dbt on windows from CLI "Error: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly"
@KahanDataSolutions
@KahanDataSolutions 4 жыл бұрын
What version of Windows and Python are you using?
@vickysworld9
@vickysworld9 4 жыл бұрын
@@KahanDataSolutions windows 10 & python 3.9
@vickysworld9
@vickysworld9 4 жыл бұрын
@@KahanDataSolutions Please help
@KahanDataSolutions
@KahanDataSolutions 4 жыл бұрын
stackoverflow.com/questions/59441794/error-could-not-build-wheels-for-cryptography-which-use-pep-517-and-cannot-be-i
@graceluo9813
@graceluo9813 3 жыл бұрын
@@vickysworld9 found that python 3.9 does not support dbt's snowflake connector hence downgraded my python installation version to 3.8 which helped
@atulbharti9757
@atulbharti9757 5 ай бұрын
if your DBT INIT NOT WORKING PLEASE TRY THIS ONE python -m pip install --upgrade dbt-core. pip dbt install not working please try this one pip install dbt-core
@abdullahsiddique7787
@abdullahsiddique7787 3 жыл бұрын
How’s dbt as a career with snowflake
@KahanDataSolutions
@KahanDataSolutions 3 жыл бұрын
There is a big demand right now for dbt developers, particularly with Snowflake. Having said that, I would consider dbt as just one of the many possible tools in the broader career of a data/analytics engineer. Either way - I'd strongly suggest learning it!
@abdullahsiddique7787
@abdullahsiddique7787 3 жыл бұрын
@@KahanDataSolutions thanks bro for replying , so if we learn dbt is there any need to learn ETL tools like informatica talend etc and is your playlist complete course on dbt
@TJ-hs1qm
@TJ-hs1qm 7 ай бұрын
The terminal on Windows is an abomination, that shouldn't exist 😭
@emanueol
@emanueol 2 жыл бұрын
nice playlist, but i found really annying KZbinrs not buying decent microphones and forcing viewers to hear every single mouse click and every single keyboard key press.. sorry for being honest, but we can only improve with others suggestions
@KahanDataSolutions
@KahanDataSolutions 2 жыл бұрын
Appreciate the feedback & glad to hear the playlist was helpful! I've also upgraded my microphone since this video and you can see it on my newer videos.
@InPersian
@InPersian 2 жыл бұрын
Unfortunately, I tried to install dbt but it is not working"\Python311\Lib\site-packages\mashumaro\meta\helpers.py", line 161, in is_generic raise NotImplementedError, I tried to find the solution but still no result
@sateeshbabu5792
@sateeshbabu5792 8 ай бұрын
Hi , This is sateesh, i have completed snowflake snow pro certification. planning to learn DBT. What are the pre-requisites ? and complete Python is required before learn DBT ? Could you please let me know.
@KahanDataSolutions
@KahanDataSolutions 7 ай бұрын
I recommend having a solid understanding of SQL as the #1 pre-req. You don't need to be a master Python dev to use it. Very beginner understanding of general programming is all you need to get started.
@sateeshbabu5792
@sateeshbabu5792 7 ай бұрын
@@KahanDataSolutions Thank you so much for your reply. Are you providing online training on DBT ?
@KahanDataSolutions
@KahanDataSolutions 7 ай бұрын
@@sateeshbabu5792 I do have a dbt course. You can check it out here - www.kahandatasolutions.com/the-playbook-for-dbt
dbt(Data Build Tool) crash course for beginners: Zero to Hero
1:23:49
5 Tips to Improve Your dbt Project
8:13
Kahan Data Solutions
Рет қаралды 55 М.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Data Modeling in the Modern Data Stack
10:14
Kahan Data Solutions
Рет қаралды 114 М.
What tools should you know as a Data Engineer?
10:24
Kahan Data Solutions
Рет қаралды 67 М.
Airflow with DBT tutorial - The best way!
17:54
Data with Marc
Рет қаралды 52 М.
Add raw "sources" to your dbt project
10:43
Kahan Data Solutions
Рет қаралды 80 М.
How Git Works: Explained in 4 Minutes
4:18
ByteByteGo
Рет қаралды 322 М.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН