Data Engineer Project: An end-to-end Airflow data pipeline with BigQuery, dbt Soda, and more!

Поделиться
HTML-код
  • Опубликовано: 17 окт 2024

Комментарии • 192

  • @MarcLamberti
    @MarcLamberti  Год назад +17

    BUG FIXES:
    ❌ "I am getting an error while launching airflow tasks test retail gcs_to_raw 2023-01-01 : UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa3 in position 227179: invalid start byte"
    ✅ open the file with Notepad or VSCode and make sure to save it with the UTF-8 encoding then reupload the file to GCS and it will work.
    ❌ Dependency errors
    ✅ Make sure you use quay.io/astronomer/astro-runtime:8.8.0 in the Dockerfile (or airflow 2.6.1), if not use that version and restart Airflow (astro dev restart with the Astro CLI)

    • @Shrew_Bucket
      @Shrew_Bucket 9 месяцев назад +1

      thx changing encoding and saving the file before uploading to bucket helped a lot

    • @sprinter5901
      @sprinter5901 8 месяцев назад

      Please pin this comment

    • @sprinter5901
      @sprinter5901 8 месяцев назад

      Dependency error solution didnt work.

  • @alisherrakhimov1997
    @alisherrakhimov1997 Год назад +26

    We need more such kind of end-to-end solution based tutorials. Thanks Marc

    • @MarcLamberti
      @MarcLamberti  Год назад +5

      Will do my best 🫶

    • @sahillohiya7658
      @sahillohiya7658 Год назад

      we need more @@MarcLamberti

    • @vinayduli8812
      @vinayduli8812 8 месяцев назад

      @@MarcLamberti I am getting the below error when I running task test on gcs_to_raw. I could not load the data into bq because of this. But schema got loaded
      WARNING - Connection schemes (type: google_cloud_platform) shall not contain '_' according to RFC3986.

  • @frutonica.studio
    @frutonica.studio 22 дня назад

    A bit overwhelmed at the beginning because we need to plan a lot of models and configurations. But it soon became interesting when we can just copy/paste and replace them later because we could grasp the structure, i.e DAGs, dependencies, dim tables, fact tables,...
    Very powerful and easy to manage, maintenance and cooperate as I feel.
    Thanks for a pleasing well-editing video.

  • @sprinter5901
    @sprinter5901 8 месяцев назад +7

    Hi so just like everyone else here I faced similar issue during dbt part. To solve that in requirements file use this code instead of one mentioned in video.
    astronomer-cosmos[dbt-bigquery]
    protobuf
    Dont put any version number ahead. Once changes are done do astro dev restart. It will take some time but it worked for me.

    • @MarcLamberti
      @MarcLamberti  8 месяцев назад +1

      Thank you so much for sharing

    • @sprinter5901
      @sprinter5901 8 месяцев назад +1

      ​@@MarcLamberti Thank you too for sharing this amazing project 🎉

    • @dsdu81
      @dsdu81 6 месяцев назад

      Thanks for sharing. I also used the code above when seeing the error shown on my airflow web page.

  • @MatN-cl7bc
    @MatN-cl7bc 10 месяцев назад +4

    Hi @MarcLamberti ! Thank you so much for making this video. I have one question so far, in the dbt section to be precise, did you do something else between 30:47 and 30:49? because when running the bash commands I can see that my dbt folder looks much more different than yours, in the later timestamp it appears to be 2 new folders: dbt_packages and logs.

  • @carlosrazo7532
    @carlosrazo7532 11 месяцев назад +3

    Pure gold! This is such a fascinating project end to end. Thank you Marc for such a huge video. You are a monster man, really appreciate the love and effort you put into this 🙏

    • @MarcLamberti
      @MarcLamberti  11 месяцев назад

      Thank you ❤️❤️❤️❤️

  • @Yuzuha949
    @Yuzuha949 Месяц назад

    Thank you so much Marc, After I following the steap that you have teach it make my knowledge about this flow and tools stronger before.Even it have some error when follow the step but many comments on this clip help me to overcome it. Thanks again!

  • @josuedegbun6270
    @josuedegbun6270 3 месяца назад

    Thanks for this tutorial, i've tried the same thing with airflow+postgres+dbt+cosmos, it was very challenging and inspiring

  • @rasmusandreasson1548
    @rasmusandreasson1548 11 месяцев назад +2

    Very nice with these end to end projects! Your best video so far!!

  • @quoridorstrategy
    @quoridorstrategy 6 месяцев назад

    I love this format, I wish you had more like that. I think so cool useful to have end-to-end projects like that, it gives the big picture

  • @dogucanelci4923
    @dogucanelci4923 7 месяцев назад

    Thank you so much for the project, i just finished and it was amazin, i have a question, is that possible to deploy the container as VM in google cloud ?

  • @lesa7p2lmansion
    @lesa7p2lmansion Год назад +1

    End to end projects are the best to be added in portfolio section in the cv

  • @jsat8378
    @jsat8378 7 месяцев назад +1

    great job, I have enjoyed every part of it.. just have a question I am at the part with DbtTaskGroup on airflow.. in the video in the airflow UI, the DAG graph in the dbt task group you have for every transform task a test task as well, but I don't have them.. why is that? same thing about the report tasks on UI

    • @dsdu81
      @dsdu81 6 месяцев назад

      not sure it could help or not. I faced the same problem. but it worked after closing the web page and reconnecting to the local host

  • @assieneolivier5560
    @assieneolivier5560 9 месяцев назад

    Just by the accent I assume that you are a french speaker. It would be great if you can make videos in french also. Great and explicative video!

  • @totnguyen3308
    @totnguyen3308 7 месяцев назад +2

    Hi Marc, thanks for this project. At 44:00 my airflow doesn't show full dbt tasks (no dim_run and dim_test) even though I followed your instructions exactly step by step. Can you help me fix this?

    • @sirinebouksila9631
      @sirinebouksila9631 5 месяцев назад

      Same here

    • @alanix89
      @alanix89 4 месяца назад

      @@sirinebouksila9631 same here, do you faind any solution?

  • @eldardragomir6705
    @eldardragomir6705 Год назад +1

    Hi Marc, following your guide, so far so good, but I haven't finished it yet...
    Mistyping in Notion guide:
    1. Keypath JSON -> Keyfile Path
    2. "airflow tasks test retail raw_to_gcs 2023-01-01" -> "airflow tasks test retail upload_csv_to_gcs 2023-01-01"

    • @MarcLamberti
      @MarcLamberti  Год назад

      Thank you so much! Will make the edits!

    • @MarcLamberti
      @MarcLamberti  Год назад

      Fixed!

    • @eldardragomir6705
      @eldardragomir6705 Год назад

      Update2.
      1.
      "airflow tasks test retail check_extract 2023-01-01" ->
      "airflow tasks test retail check_load 2023-01-01"
      2.
      "project.yml" -> "dbt_project.yml"
      3. "target_name='dev',cos -> "target_name='dev',
      4. Reports
      astro dev bas -> astro dev bash
      cd /usr/local/airflow -> cd include/dbt
      5.
      report_customer_invoices => report_customer_invoices.yml
      report_product_invoices => report_product_invoices.yml
      report_year_invoices => report_year_invoices.yml
      6.
      code section for chain is missing
      Thank you so much for this video. I work primarily with Databricks, and I wanted to look if somebody is able to create a real pipeline demo guide and what's the situation with other paths of DE like Snowflake+dbt, Airflow+dbt .
      I see that all cool stuff are actually not free, so people have to pay for comfort: "less pain in ass" Airflow (astronomer) + for DQ soda.io + for dbt + for DWH + dashboard probably...
      Thanks again!

    • @MarcLamberti
      @MarcLamberti  Год назад

      @@eldardragomir6705 Thank you for your feedback! Well, I would say all of that cool stuff is free unless you want it managed by someone else. Otherwise, Airflow, codre dbt, soda and metabase are free :)

  • @7alexopoulos
    @7alexopoulos Год назад +2

    Congrats Marc, great content!

  • @sirinebouksila9631
    @sirinebouksila9631 5 месяцев назад

    This is so helpful ! Thank you so much for your efforts .

  • @Obtemus
    @Obtemus Год назад +3

    That's really great tutorial. Very useful. but what are the concerns/steps if we want to put this into CI/CD environment to be pushed to production for example?

    • @MarcLamberti
      @MarcLamberti  Год назад +2

      Next video, stay tuned 😃

    • @Obtemus
      @Obtemus Год назад

      @@MarcLamberti that would be too great 😃

    • @adityasvasisht4743
      @adityasvasisht4743 Год назад +1

      @@MarcLamberti Yes! We need this video!!

  • @wiss1998
    @wiss1998 8 месяцев назад

    Very nice ! this is very important video,I hope we can built the same project with snowflake

  • @ektagoyal27march
    @ektagoyal27march 8 месяцев назад

    Hi Mark
    Can you help me understand how do we actually host Airflow in real world? How it is installed by organizations and how access is granted and how Developer uses it?

  • @jasonkhaihoang781
    @jasonkhaihoang781 10 месяцев назад

    This is just awesome. I've learned a lot from watching this video. Thank you so much for creating such a great value, Marc :)

  • @dsdu81
    @dsdu81 6 месяцев назад

    Thank you so much for this amazing project. Learn a lot!!

  • @agustincaldart2630
    @agustincaldart2630 11 месяцев назад +2

    Hello Marc nice work! i has a problem with dbt command line, when a try dbt deps in "/usr/local/airflow/include/dbt" does nothing but when i create new directory .dbt in "/usr/local/airflow/ " and move .yml in new directory it works, do you have any idea why it might be?

    • @MarcLamberti
      @MarcLamberti  11 месяцев назад

      hm, I need to try again, maybe something has changed or I made a mistate. What's the timecode where I show that?

    • @agustincaldart2630
      @agustincaldart2630 11 месяцев назад +1

      Thanks for answering. It doesn't do anything, I could still fix it with sudo chmod 777 -R retail_airflow i think dbt deps dont log error for problem with permissions @@MarcLamberti

    • @hamzad1128
      @hamzad1128 11 месяцев назад +1

      I have a similar issue, dbt deps & dbt run --profiles-dir /usr/local/airflow/include/dbt/ don't do anything.

  • @ChristopherGarcia-cl9ut
    @ChristopherGarcia-cl9ut 10 месяцев назад

    Very interesting video, but I have certain functional doubts about working with a cloud to ingest data. This is regarding the example in the video with the CSV file, and I apologize for my ignorance.
    What would be the difference in bash processes or real-time processing, knowing that in my organization, the data source is a data warehouse? I understand that I could do the same with DQA and DBT. I don't see the advantage of using BigQuery.

  • @alvaro.2c
    @alvaro.2c 9 месяцев назад

    This is a great project! I have a question though, I used it as a template for a project of my own (using astro and same docker image) and everything seems to work great except I believe I don't have writing rights inside of the container (PermissionError: [Errno 13] Permission denied). I found out when trying to run a function with PythonOperator, but also seems to happen with BashOperator if I wanted to create a directory for example. When inside I tested making a directory or creating a file with bash and permission was also denied. I've tried RUN chmod 777 in the dockerfile without success. I am pretty sure it is something relatively simple but I haven't found any solution online yet. Thanks!

  • @furkanyusufpek
    @furkanyusufpek Год назад +1

    very good project, thanks for sharing Marc

  • @vjvan9338
    @vjvan9338 7 месяцев назад

    Great Content! Thanks for offering this

  • @dogucanelci4923
    @dogucanelci4923 7 месяцев назад

    I have a question, do you suggest that we deploy and test all process in local container by astro, then upload the image in cloud as compute instance, or totally work with google composer ?

  • @sebastiangiraldo5087
    @sebastiangiraldo5087 7 месяцев назад

    Hey Marc, such a cool project!!!
    Thanks a lot.
    But I am having the weirdest issue, when I go into astro dev bash, and try to run dbt from the command line, all the comments just have 0 output and do nothing. They don't fail, but don't work either, and have a blank output

  • @RoseLK
    @RoseLK 8 месяцев назад

    Hi @Marc, when I run "astro dev start", it doesn't return any log or pass/fail anything, totally blank. I was looking for solution but couldn't find out. Can you help?

  • @TheBudin1993
    @TheBudin1993 8 месяцев назад

    hey Marc, thanks for the amazing project! i have one quick doubt: around 27 to 28:00 minute mark, is it necessary to make the includes inside the function? like below the definition for example: 28:36 -> "from soda.scan import Scan" ? or it is the same to import in the header of a python file like we are used to do? thank you in advance

    • @MarcLamberti
      @MarcLamberti  7 месяцев назад

      It’s necessary as the python code here runs in a python virtual environment

  • @johnr52dev
    @johnr52dev 10 месяцев назад +1

    Very nice Thank You marc.

  • @Shrew_Bucket
    @Shrew_Bucket 9 месяцев назад +3

    Hi I have troubles, after running "dbt deps" command nothing happens what should i do ?

    • @xandao30
      @xandao30 7 месяцев назад

      I have the same problem

    • @dillibabusowbhagya
      @dillibabusowbhagya 3 месяца назад

      Try to update Bigquery and dbt version then try it once dbt deps

  • @SameerShaik-ic1oz
    @SameerShaik-ic1oz 2 месяца назад

    Hello marc, after I launch metabase its taking forever to load metabase ui to get to let's get started and in dockers its showing metabase image core might slow down or crash when used as image. What to do

  • @baronk3558
    @baronk3558 9 месяцев назад

    Great content! Would it possible to have some videos about how to configure cosmos with cloud composer on gcp? Much appreciated!

  • @trimai1156
    @trimai1156 Месяц назад

    Where can i find the document about cosmos ?, I cannot find any documentation that show those code/config you do!

  • @hassanabbasi4164
    @hassanabbasi4164 Год назад +2

    nice tutorial, just a quick question:
    why (paid)Soda and why not (FREE) Great Expectations ?

    • @MarcLamberti
      @MarcLamberti  Год назад +2

      Thank you! Well, Soda is free, but Soda cloud is not. You can use Soda without the cloud offering. Great expectations is *in my opinion* way too hard just for making data quality checks. I found Soda much easier to set up and use.

    • @TheSergioPestana
      @TheSergioPestana 11 месяцев назад

      @@MarcLamberti Hi Marc. So after the 45 days trial I still can run this project?

  • @brunocampos5010
    @brunocampos5010 6 месяцев назад

    Hi Marc and guys, how can I increase the time out of airflow in this project?

    • @MarcLamberti
      @MarcLamberti  6 месяцев назад

      What do you mean by the time out of airflow?

  • @hemkumarchheda1581
    @hemkumarchheda1581 Год назад

    Wow such a huge video. I enjoyed every part of it. I would love to see more end to end projects like this using airflow. Thank you so much for all your efforts Marc 🙏

    • @MarcLamberti
      @MarcLamberti  Год назад +1

      Thank you so much! More will come then ❤

  • @SaltineCracker610
    @SaltineCracker610 6 месяцев назад +1

    Does anyone only have 4 jobs instead of 8 within the dbtTaskgroup task in airflow? I only have "*_run" jobs but not "*_test" jobs.
    Any help is appreciated. Thanks!

    • @xxkall08xx
      @xxkall08xx 5 месяцев назад

      Same here, I believe he did not show that.

  • @TheGutxD
    @TheGutxD Год назад

    Que conteúdo incrível! muito obrigado por compartilhar tanto conhecimento!!! abraços from Brasil

  • @azizbohra6487
    @azizbohra6487 8 месяцев назад

    The only manual thing which is the Querying of the country Table in Bigquery can be added as a function in DAG chain. If anyone interested mention me in the comment, I can help you out.
    And THANKS Marc!

  • @johnnote7
    @johnnote7 11 месяцев назад +1

    Very nice Thank you.

  • @jaimeandressalasmoreira8880
    @jaimeandressalasmoreira8880 10 месяцев назад

    Hi Marc I want to trigger the completed dag but give me error in the transform, what is the trouble ?

  • @Mehtre108
    @Mehtre108 8 месяцев назад

    Any aws data engineer project which will be explained in interview sir

  • @yudistiraaditya2249
    @yudistiraaditya2249 Год назад

    Hello marc! thank youu for your great explanation.
    But I want to ask why I cant import cosmos although in that env astronomer-cosmos already installed? it's already 2 days and I still cant figure it out lol
    this project stuck after building the models in BQ (for me) :(

    • @MarcLamberti
      @MarcLamberti  11 месяцев назад

      What do you mean by you can’t import it?

    • @yudistiraaditya2249
      @yudistiraaditya2249 11 месяцев назад

      @@MarcLamberti I dont know sir, so what I did is installing it manually using pip instead of using requirement.txt (?)
      but now I experience a new issue:
      in DBT_CONFIG = ProfileConfig(profiles_yml_filepath) always return as None although the path is correct. Maybe my dags error because of this one issue. Any help sir?

  • @redouanelamkadem6804
    @redouanelamkadem6804 Год назад

    I am getting an error while launching airflow tasks test retail gcs_to_raw 2023-01-01 : UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa3 in position 227179: invalid start byte Any ideas ? Thanks !

    • @MarcLamberti
      @MarcLamberti  Год назад +1

      Yes, open the file with Notepad or VSCode and make sure to save it with the UTF-8 encoding then reupload the file to GCS and it will work.

  • @VNaesthetic_coder
    @VNaesthetic_coder 7 месяцев назад

    I missunderstand at 26:49, why we need create that vm ???

  • @FabioOrtiz-j5w
    @FabioOrtiz-j5w 7 месяцев назад

    Any reason why you create the dot folder under include. Most tutorials I seen it is included under dags folder.

    • @MarcLamberti
      @MarcLamberti  7 месяцев назад

      What’s not DAG should not be in the DAGs folder :)

  • @blitttzzz
    @blitttzzz Год назад +1

    thanks a lot for a very detailed demo. Your course on Udemy also rocks!!

  • @RaphaeldaSilvaPacheco
    @RaphaeldaSilvaPacheco Год назад

    I followed the steps but got an error when including DBT project in airflow.
    the error was:
    AttributeError: 'ProfileConfig' object has no attribute 'validate_project'. Did you mean: 'validate_profile'?
    Could you let me know what could have gone wrong?

    • @RaphaeldaSilvaPacheco
      @RaphaeldaSilvaPacheco Год назад

      This was the complete error message:
      Broken DAG: [/usr/local/airflow/dags/run_template_best_target.py] Traceback (last most recent call):
      File "/usr/local/lib/python3.10/site-packages/cosmos/airflow/task_group.py", line 26, in __init__
      DbtToAirflowConverter.__init__(self, *args, **specific_kwargs(**kwargs))
      File "/usr/local/lib/python3.10/site-packages/cosmos/converter.py", line 106, in __init__
      project_config.validate_project()
      AttributeError: 'ProfileConfig' object has no 'validate_project' attribute. Did you mean: 'validate_profile'?

    • @MarcLamberti
      @MarcLamberti  Год назад

      Can you double check your profile file?

    • @RaphaeldaSilvaPacheco
      @RaphaeldaSilvaPacheco Год назад

      ​@@MarcLamberti Thanks for replying, Marc​ @MarcLamberti !
      I believe that my profiles.yml is correct, because if I run the dbt directly through the terminal in my project, it works. But performing DbtTaskGroup in Airflow gives this error.

  • @nihildev6105
    @nihildev6105 Год назад

    Getting Error:
    The conflict is caused by:
    8.521 soda-core 3.0.45 depends on opentelemetry-api~=1.16.0
    8.521 apache-airflow 2.7.0+astro.1 depends on opentelemetry-api==1.15.0
    8.521
    8.521 To fix this you could try to:
    8.521 1. loosen the range of package versions you've specified
    8.521 2. remove package versions to allow pip attempt to solve the dependency conflict
    I get it when inserting soda in the requirements.txt

  • @brunocampos5010
    @brunocampos5010 7 месяцев назад

    Hi guys, aftet all project and delete the tables on GCP, I got this error in the first task, when I started the tasks on airflow: airflow.exceptions.AirflowNotFoundException: The conn_id `gcp` isn't defined
    Please, can someone help me?

    • @brunocampos5010
      @brunocampos5010 7 месяцев назад

      Log complete:
      airflow.exceptions.AirflowNotFoundException: The conn_id `gcp` isn't defined
      [2024-02-23, 00:05:58 UTC] {taskinstance.py:1345} INFO - Marking task as FAILED. dag_id=retail, task_id=upload_csv_to_gcs, execution_date=20240222T015123, start_date=20240223T000558, end_date=20240223T000558
      [2024-02-23, 00:05:58 UTC] {standard_task_runner.py:104} ERROR - Failed to execute job 15 for task upload_csv_to_gcs (The conn_id `gcp` isn't defined; 688)
      [2024-02-23, 00:05:58 UTC] {local_task_job_runner.py:225} INFO - Task exited with return code 1
      [2024-02-23, 00:05:58 UTC] {taskinstance.py:2653} INFO - 0 downstream tasks scheduled from follow-on schedule check

    • @MarcLamberti
      @MarcLamberti  7 месяцев назад

      It looks like you’re using a connection gcp that you haven’t defined yet in the Airflow UI, look at your connections :)

  • @TEACHMECADDESIGN
    @TEACHMECADDESIGN Год назад

    I am getting erro while installing soda-core-bigquery==3.0.45 using requirements.txt
    here is the error
    ERROR: Cannot install apache-airflow==2.7.0+astro.1 and soda-core-bigquery because these package versions have conflicting dependencies.
    #0 20.50
    #0 20.50 The conflict is caused by:
    #0 20.50 soda-core 3.0.45 depends on opentelemetry-api~=1.16.0
    #0 20.50 apache-airflow 2.7.0+astro.1 depends on opentelemetry-api==1.15.0
    #0 20.50
    #0 20.50 To fix this you could try to:
    #0 20.50 1. loosen the range of package versions you've specified
    #0 20.50 2. remove package versions to allow pip attempt to solve the dependency conflict

  • @dan_dom
    @dan_dom Год назад

    There is a problem somewhere in the dependencies, because I cant seem to install protobuf==3.20 and cosmos with 1.0.3 at the same time, not sure how you were able to do that.

    • @MarcLamberti
      @MarcLamberti  Год назад

      what's your astro-runtime version in the dockerfile?

    • @dan_dom
      @dan_dom Год назад

      @@MarcLamberti 9.1.0, but I can try 8.8 as you have in the video and see if that fixes it, its true that is a jump between major versions.

    • @MarcLamberti
      @MarcLamberti  Год назад

      @@dan_dom Yes, could you try? In the meantime I'm checking how to solve that

  • @xmagcx1
    @xmagcx1 Год назад

    excellent content ❤

  • @Gregorysharkov
    @Gregorysharkov Год назад

    Nice video. You can also take a look at kedro framework

  • @moozcast7837
    @moozcast7837 Год назад

    Hello I am getting encoding error UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa3 in position 227179: invalid start byte while running gcs_to_raw

    • @moozcast7837
      @moozcast7837 Год назад

      The way I solved it (I guess there is better way), open the csv with pandas and put encoding latin therefore download new csv and use that for tutorial

    • @MarcLamberti
      @MarcLamberti  Год назад +1

      Thank you for sharing. Or you can open the file with VSCode or Notepad and save the file again with utf8 encoding

  • @azizbohra6487
    @azizbohra6487 8 месяцев назад

    Error.... Can someone help me?
    Airflow is starting up!
    Error: there might be a problem with your project starting up. The webserver health check timed out after 1m0s but your project will continue trying to start. Run 'astro dev logs --webserver | --scheduler' for details.
    Try again or use the --wait flag to increase the time out

    • @sprinter5901
      @sprinter5901 8 месяцев назад +1

      I am guessing you are using astro version 8.8.0
      If yes then revert back to what it was before and read my another comment which has the solution

    • @azizbohra6487
      @azizbohra6487 8 месяцев назад

      Yes, before it was astro-runtime:10.2.0@@sprinter5901

    • @azizbohra6487
      @azizbohra6487 8 месяцев назад

      Yes. it was astro 10.2.0@@sprinter5901 , i cant find your other comment?

    • @sprinter5901
      @sprinter5901 8 месяцев назад

      ​@@azizbohra6487Hi currently I am not on my pc. Just sort comments with most recent and you will find it

    • @sprinter5901
      @sprinter5901 8 месяцев назад

      Hi so just like everyone else here I faced similar issueduring dbt part. To solve that in requirements fileuse this code instead of one mentioned in video.
      astronomer-cosmos[dbt-bigquery]
      protobuf
      Dont put any version number ahead. Once changesare done do astro dev restart. It will take some timebut it worked for me.

  • @theniyota
    @theniyota Год назад

    I am getting this error. Can someone help me?
    Airflow is starting up!
    Error: there might be a problem with your project starting up. The webserver health check timed out after 1m0s but your project will continue trying to start. Run 'astro dev logs --webserver | --scheduler' for details.
    Try again or use the --wait flag to increase the time out

    • @MarcLamberti
      @MarcLamberti  Год назад

      Can you looks at the logs as suggested?

    • @theniyota
      @theniyota Год назад

      @@MarcLamberti I did that and it says that it is waiting for port 5432 of postgres. It seems that the port is being used, however I modified the yaml and set the port to 5433 and the problem still there.

    • @theniyota
      @theniyota Год назад

      @@MarcLamberti I managed to solved the issue. It seems the docker desktop app was the issue. I uninstalled and reinstalled the app. Now it is working well. Thanks for your effort

    • @agustincaldart2630
      @agustincaldart2630 11 месяцев назад +1

      @@theniyota Ty bro this comment safe my time

    • @ogunniransiji2686
      @ogunniransiji2686 10 месяцев назад

      @@theniyota Thanks Man

  • @avinashmaddala7717
    @avinashmaddala7717 Год назад

    nice video. Can please make a video on airflow managed instance in azure

  • @hosseineivazy3261
    @hosseineivazy3261 Год назад

    so helpful

  • @adityadomala
    @adityadomala 11 месяцев назад

    Hi im facing problem with metabase, it is not showing up

    • @adityadomala
      @adityadomala 11 месяцев назад

      @MarcLamberti

    • @adedamolaadesoye
      @adedamolaadesoye 8 месяцев назад

      hello!
      i had an issue with Metabase too.
      it wasn't starting up after running "astro dev restart".
      it seemed docker wasn't recognizing the "docker-compose-override.yml" file since there was no error.
      i later realized i misspelled the file's name.
      it's ".override.yml" not "-override.yml".
      i hope this helps.

  • @tourist2384
    @tourist2384 Год назад

    at 40:50, how you can folder dbt_packages and logs :///

  • @qazaqempire2446
    @qazaqempire2446 Год назад

    i tried to do it with aws managed airflow - and failed. damn.

  • @shrikantkoli-eq7hc
    @shrikantkoli-eq7hc 6 месяцев назад

    Very Fast

  • @_Machiavel_
    @_Machiavel_ 6 дней назад

    This vidéo gave me noisy

  • @nguyentrannhat6199
    @nguyentrannhat6199 10 месяцев назад +1

    Hi @MarcLamberti ! I have the problem: unable to run this(no error but no tables in bigQuery,any outputs when runing commands):dbt deps
    dbt run --profiles-dir /usr/local/airflow/include/dbt/

    • @Shrew_Bucket
      @Shrew_Bucket 9 месяцев назад +1

      same, did you found the solution ?

    • @cesar222vinicius
      @cesar222vinicius 8 месяцев назад

      Same here! Somehow after dbt deps or even dbt run --profiles-dir /path got nothing from terminal and nothing on big query. Tried to include --print or --no-quiet but got anything as well. Did you found the solution? ps: I'm using linux (ubuntu 22.04LTS)

    • @Shrew_Bucket
      @Shrew_Bucket 8 месяцев назад

      @@cesar222vinicius nah man, the only way is to setup airflow by your self without astra cli, or just try to find same project as astra. Personalny I recommend first way. And do not start from scratch but with airflow docker image available in airflow docs

  • @guesmiabderraouf6133
    @guesmiabderraouf6133 Год назад +1

    unable to run this(no error but no tables in bigQuery,any outputs when runing commands):dbt deps
    dbt run --profiles-dir /usr/local/airflow/include/dbt/

    • @MarcLamberti
      @MarcLamberti  Год назад

      make sure that you are in the include/dbt folder before executing dbt deps and dbt run

    • @guesmiabderraouf6133
      @guesmiabderraouf6133 Год назад

      @@MarcLamberti ​ @MarcLamberti ,yes I'am in the correct folder:
      (dbt_venv)astro@a1629bd2ef32:/usr/local/airflow/include/dbt$ dbt deps
      (dbt_venv)
      astro@a1629bd2ef32:/usr/local/airflow/include/dbt$ dbt run --profiles-dir /usr/local/airflow/include/dbt/
      (dbt_venv) astro@a1629bd2ef32:/usr/local/airflow/include/dbt$

    • @Facu55
      @Facu55 Год назад

      I'm encountering the same issue. It seems like dbt is not installed or something because it doesn't even throw an error.

    • @MarcLamberti
      @MarcLamberti  Год назад

      @@Facu55 can you connect with me on LinkedIn and send me a screenshot of your error?

    • @Facu55
      @Facu55 Год назад

      @@MarcLamberti Done!

  • @RaviChauhan-g5h
    @RaviChauhan-g5h Год назад

    I get the following error when testing either the create dataset task or the gcs_to_raw task: "OSError: Could not find lib geos_c or load any of its variants ['libgeos_c.so.1', 'libgeos_c.so']."

    • @MarcLamberti
      @MarcLamberti  Год назад

      Keep the same versions as shown in the pinned comment and the video. I have the same error with the latest versions

    • @RaviChauhan-g5h
      @RaviChauhan-g5h Год назад

      @@MarcLamberti Thanks, managed to complete the pipeline :)

  • @moozcast7837
    @moozcast7837 Год назад

    I am really trying to follow all the steps but every time I encounter error. Now this ERROR: failed to solve: process "/bin/bash -o pipefail -e -u -x -c if grep -Eqx 'apache-airflow\\s*[=~>]{1,2}.*' requirements.txt; then echo >&2 \"Do not upgrade by specifying 'apache-airflow' in your requirements.txt, change the base image instead!\"; exit 1; fi; pip install --no-cache-dir --root-user-action=ignore -r requirements.txt" did not complete successfully: exit code: 1
    Error: command 'docker build -t pipeline-tutorial_04e6a1/airflow:latest failed: failed to execute cmd: exit status 1

    • @huynguyentan4532
      @huynguyentan4532 Год назад

      Hi,
      I faced the same and then I install "Microsoft Visual C++" then it worked.
      Hope it can help.

  • @chayanshrangraj4718
    @chayanshrangraj4718 Год назад

    Hi, Thanks for this amazing tutorial. I really appreciate the effort and time that you put in it. But when I install soda-core bigquery, there is a dependency issue which I can't seem to resolve and need your help, I hope you can help because I really want to complete this project.
    Versions trying to install:
    apache-airflow-providers-google==10.3.0
    soda-core-bigquery==3.0.45
    Error:
    ERROR: Cannot install -r requirements.txt (line 6) because these package versions have conflicting dependencies.
    #9 34.65
    #9 34.65 The conflict is caused by:
    #9 34.65 soda-core-bigquery 3.0.41 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.40 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.39 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.38 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.37 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.35 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.34 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.33 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.32 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.31 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.30 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.29 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.28 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.27 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.26 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.25 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.24 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.23 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.22 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.21 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.20 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.19 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.18 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.17 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.16 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.15 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.14 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.13 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.12 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.11 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.10 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.9 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.8 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.7 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.6 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.5 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.4 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.3 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.2 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.1 depends on google-cloud-bigquery=2.25.0
    #9 34.65 soda-core-bigquery 3.0.0 depends on google-cloud-bigquery=2.25.0
    #9 34.65
    #9 34.65 To fix this you could try to:
    #9 34.65 1. loosen the range of package versions you've specified
    #9 34.65 2. remove package versions to allow pip attempt to solve the dependency conflict
    #9 34.65
    #9 34.65 ERROR: ResolutionImpossible: for help visit pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

    • @MarcLamberti
      @MarcLamberti  Год назад

      let me double check

    • @chayanshrangraj4718
      @chayanshrangraj4718 Год назад

      @@MarcLamberti Thank you! It would nice also if you could pin the solution because I think others also might be facing the same issue.

  • @SergiusBfg
    @SergiusBfg 2 месяца назад

    Классный акцент. Нихуя не понял😂

    • @MarcLamberti
      @MarcLamberti  2 месяца назад

      Вы можете это сделать 🥲

  • @zuandrecoetzee1957
    @zuandrecoetzee1957 Год назад

    THANKS ALLOT

    • @MarcLamberti
      @MarcLamberti  Год назад +1

      Happy that it helps :)

    • @zuandrecoetzee1957
      @zuandrecoetzee1957 Год назад

      @@MarcLamberti I'm stucked after creating the dbtTaskGroup ---> ValueError: 'source' is not a valid DbtResourceType

    • @zuandrecoetzee1957
      @zuandrecoetzee1957 Год назад

      @MarcLamberti can you help me, with the issue been stuck here for 3 days?

    • @MarcLamberti
      @MarcLamberti  Год назад

      @@zuandrecoetzee1957 what issue?

    • @zuandrecoetzee1957
      @zuandrecoetzee1957 Год назад

      @@MarcLamberti Dag Import error: ValueError: 'source' is not a valid DbtResourceType. I tested the transformation model and it completed successfully. I was able to confirm the dataset exist on big query .....when I add the task(dbt task group) then my dag breaks.