SQL For AWS Athena [FULL COURSE IN 40mins]

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

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

  • @ws3457
    @ws3457 2 года назад +8

    Your channel is where I go for all things AWS. Thank you for doing this for us!

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

    Hats off to you Johnny! Such a well explained video. Explanation was on point. Your videos are great help for beginners like me. Thank U. New subscriber!!

  • @ytbart9157
    @ytbart9157 2 года назад +1

    Best channel ever, thank you so much 🤩🤩. From Paris ☺️

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

    Love the explanations and the examples. +1

  • @Stonk5331
    @Stonk5331 2 года назад

    Great tutorial John, thank you for your effort! Gonna start working on my work project with AWS Spark and Athena from next week on. Can you suggest any tutorials or documentation for intermediate AWS sql?

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

    Hi Johnny, great content. I wish you a lot of success. Can you please make a video on Redshift SQL as well.

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

    Clear and detailed , Thank you !

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

    Love you mate!!!

  • @vivekpuurkayastha1580
    @vivekpuurkayastha1580 2 года назад +1

    1) Are we allowed to use managed table, which should be preferred Managed or external? Also, in case of Managed table on deletion of the table will Athena be allowed to delete the data from the S3 location which was loaded by another service ?
    2) what is the relation between Athena, Hive and Presto?

    • @JohnnyChivers
      @JohnnyChivers  2 года назад

      Hi Vivek,
      1) yes you can use governed tables with Athena. I don’t think it will delete the data if you drop the table as that would go against the general principles of working in these types of environments, but it should be double checked.
      2) The high level answer is that Athena uses the presto engine to execute queries. And presto is a big data query engine. Hive is another type of big data query engine. However, the Hive meta store is a slightly different thing - and is a place where meta data such as table definitions are stored (I.e. the glue data catalog).

  • @jacoedp
    @jacoedp 2 года назад +1

    Hi Johnny, we love your video's, big thanks from South Africa!
    Quick question, we are currently landing all our data in S3 then crawling it to create or add to tales in our catalog. But your video got me wondering: Would it be easier to just write SQL queries in Athena to do this instead of crawlers? Because we find crawlers a bit of a "black box" (and does not work correctly all the time), Doing this in SQL seems like a much cleaner solution. Whats your thoughts on this ?
    Much appreciated . Jaco

    • @JohnnyChivers
      @JohnnyChivers  2 года назад

      Hi Jaco, yes I’ve managed table creation before using SQL statements via Athena to move away from crawlers. The only draw back is that if you add a column at a later date you either need to drop
      ecreate the table (and re add partitions if you are using them)…. Or write an alter table statement but to recreate the table from scratch you then need to multiple scripts. I’ve also used cloud formation to create tables as well.

    • @JohnnyChivers
      @JohnnyChivers  2 года назад

      Hi Jaco, yes I’ve managed table creation before using SQL statements via Athena to move away from crawlers. The only draw back is that if you add a column at a later date you either need to drop
      ecreate the table (and re add partitions if you are using them)…. Or write an alter table statement but to recreate the table from scratch you then need to multiple scripts. I’ve also used cloud formation to create tables as well.

  • @mohammedimranmoiz9503
    @mohammedimranmoiz9503 2 года назад +1

    bro u help me alot with AWS u r 🥳

  • @hasanmougharbel8030
    @hasanmougharbel8030 2 года назад

    Hey there, glad to meet again.
    I learned about timestamp as a date data type.
    My question is, if i where to record timestamps of every record entered into the database. Would the sql server generate two identical timestamps given the records where run simultaneously..is that case a hypothetical one or would it happen?
    Thanks for taking care of this.

  • @dndhndn
    @dndhndn 2 года назад

    1) is creating data catalog (database and tables) essential for Athena & S3 interaction?
    2) does creating data catalog in glue has pricing?

  • @davidsternberg7359
    @davidsternberg7359 2 года назад

    Your GitHub create table for Customers has a typo for firstname attribute. It says fistname. Other than that flawless execution of queries.

  • @JavierHernandez-xo5nb
    @JavierHernandez-xo5nb Год назад

    Exelente..... Para cuando los de EC2?

  • @professional6635
    @professional6635 2 года назад

    Can we restrict specific commands in Athena for users. I mean commands like INSERT, DROP TABLE or DROP DATABASE are not allowed to be accessed by everyone. Do we have this command level security in Athena ?

  • @helovesdata8483
    @helovesdata8483 2 года назад +1

    can you do a Case when?

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

    How to use listagg in Aws athena ?
    For example the following code in SQL
    LISTAGG(column1,’,’)with in group(order by column1) over (partition by column2,column3) ?
    Can you please help me

  • @romioselvan-lu9mo
    @romioselvan-lu9mo Год назад

    I need a query in athena that i have 100 no of columns in my table. In that table i need to pic 99 columns except 1 column. Is there any possible to get data without mention 99 columns name in the query..?

  • @mohak9102
    @mohak9102 2 года назад

    Hey 1 quick question, is there a way to use kms managed encrypted data in athena?

    • @JohnnyChivers
      @JohnnyChivers  2 года назад

      Yes it supports both s3 and client side encryption through KMS.

  • @vanipriyanka7313
    @vanipriyanka7313 2 года назад

    what is the point in making tNice tutorialngs on the channel rack when you have a soft roll?