Spark Tutorials - Spark Dataframe | Deep dive

Поділитися
Вставка
  • Опубліковано 1 гру 2024

КОМЕНТАРІ • 64

  • @ScholarNest
    @ScholarNest  3 роки тому

    Want to learn more Big Data Technology courses. You can get lifetime access to our courses on the Udemy platform. Visit the below link for Discounts and Coupon Code.
    www.learningjournal.guru/courses/

  • @biswajitsarkar5538
    @biswajitsarkar5538 6 років тому +10

    best youtube teacher i found till date !!!

  • @Matar86
    @Matar86 5 років тому

    Best Apache Spark course ever.. You did great job explaining spark concepts in simple & clear manner

  • @SurajKumar-yv3mr
    @SurajKumar-yv3mr 4 роки тому +1

    Hello 'Sir'
    I am taking this course from your website and there was no section available for comment. So Just came here to 'Thank you'. The way that you taught all the lecture is very simple and crisp and easily understandable . Your Voice is very clear. Thank you so much

    • @ScholarNest
      @ScholarNest  4 роки тому +1

      Thanks a lot for your feedback and support. It really matters.

    • @SurajKumar-yv3mr
      @SurajKumar-yv3mr 4 роки тому

      @@ScholarNest :)

  • @adityagoel123able
    @adityagoel123able 5 років тому

    Awesome Way of explaining. Any other tut Could not be better than this. High Respect Sir . Carry on the good work. May GOD Bless you !

  • @skkkks2321
    @skkkks2321 5 років тому

    Cristel clear explanation,to the point covering of each points. A complete learning for Zero to Hero.Well done Prashant.We are looking some Big Video series which can make us near perfect in Spark and Hadoop.I am surprised,why the views are very less...may be people are sleepy.Great job keep us enlightening.

  • @nareshe5315
    @nareshe5315 6 років тому

    Following Learning Journal from Kafka, explanations are very simple, highly helpful and easy to understand. Looking forward to learn basics of all components of Spark. Thanks!

  • @chandua7736
    @chandua7736 5 років тому

    Your tutorials are very much informative for new learners. Great work.

  • @robind999
    @robind999 6 років тому

    Like your details and explanations in the demo, good job Mr. LJ.

  • @LL-lb7ur
    @LL-lb7ur 6 років тому +1

    Nice examples, beautifully explained

  • @showbhik9700
    @showbhik9700 2 роки тому

    Question Sir: What if we use SQL statements instead of using the inbuilt functions? Spark session has a SQL function that helps us use SQL statements to transform dataframes after we create a tempview out of it. Are there any performance issues if we go by that method instead of memorizing spark functions?

  • @pawanmalwal2314
    @pawanmalwal2314 6 років тому

    Short, crisp and informative..!!

  • @TexasLokesh
    @TexasLokesh 5 років тому

    Nice video, thanks for helping in understanding concepts

  • @chandua7736
    @chandua7736 5 років тому +1

    Could you please explain about dataset as this tutorial talks about only dataframe?
    If u can explain difference between dataframe and dataset that would be great

  • @venkatakishore4251
    @venkatakishore4251 6 років тому

    Video is very informative. I want to practice spark. Could you please provide more details about where you are executed code?

  • @2anuj59
    @2anuj59 5 років тому

    Hi Learning Journal
    , --> Please help me with the below queries
    1. We didn't used Spark Sql Context I understand that we does not require the define in CLI level but by default its name is Sc and Sqlsc for -Sqlcontext
    2. Slight difference in terms of syntax for Sql -- why is it the new enhancement done in Spark version?
    for example we do val rdd2 = SQLSC.sql("Select * from table")
    3. transformation syntax - I observe we have used something similar to Case but what is use of $? I think is related to value within that particular column?
    Thanks,
    Anuj

  • @kishorkukreja7733
    @kishorkukreja7733 6 років тому +1

    2 Questions :
    1. What is the difference between typed & untyped transformations ?
    2. At some points , you used $ with the column name and at others you dint, any particular reason ?

    • @ScholarNest
      @ScholarNest  6 років тому +2

      +Kishor Kukreja will cover those items in coming videos.

  • @nikhil199029
    @nikhil199029 6 років тому

    where are the equivalent python code located?

  • @deepakgupta-hk9ig
    @deepakgupta-hk9ig 6 років тому

    Awesome video, kindly also explain the off heap memory management benefit of datataframe over RDD.

  • @veerukbr1184
    @veerukbr1184 6 років тому

    Could you give you the difference between CountByKey and reduceByKey

  • @poojamittal1492
    @poojamittal1492 6 років тому

    Sir, your videos are very helpful in understanding the concepts, I would really like to listen and understand Spark Streaming concepts, please let me know if you plan to add spark streaming videos.

  • @pramodkumarsahoo29101
    @pramodkumarsahoo29101 5 років тому

    Hello Sir, I want to understand why "Gender" column is unresolvedalias in the "Parsed Logical Plan" ?

  • @harshitkacker8365
    @harshitkacker8365 6 років тому

    Please upload more examples on dataFrames and dataSets with different file format too..it will be a great help..Thank you so much for your session loved your sessions...

    • @ScholarNest
      @ScholarNest  6 років тому

      Sure, more videos are on the way.

  • @abhishek-94
    @abhishek-94 6 років тому

    Hello Sir. I have a question regarding the parseGender operation performed as a UDF. Rather than applying it after 2 select transformations, would it be better to do it at the first step itself ?

    • @ScholarNest
      @ScholarNest  6 років тому

      Watch other videos. I explained predicate pushdown. Spark can take care of those things automatically.

  • @jalandharchinthakunta3239
    @jalandharchinthakunta3239 4 роки тому

    Awesome videos sir. This explains the spark in crystal clear way. I have one question, instead of using spark UDF, can we just write a function which standardizes the gender parts i.e i use java for writing spark applications, where i usually write functions on driver for handling such cases. How spark UDF is different from a normal function/method which we use in map operations.

  • @sathiyanarayananagaraj4438
    @sathiyanarayananagaraj4438 6 років тому

    Hi Prashanth, First your videos are awesome and is of great value addition for us. Can you please tell us what kind of applications needs a huge horizontally scaled spark cluster with hundreds of cores.
    Thanks & Regards
    Sathiyanarayana

  • @mamtajain1882
    @mamtajain1882 5 років тому

    Just Awesome.

  • @SpiritOfIndiaaa
    @SpiritOfIndiaaa 6 років тому

    Nice videos as usual , thank you so much sir , is there any video regarding how to design a project or else around it , I know it requires a lot of effort to make such video

  • @josearcangelfalzone9620
    @josearcangelfalzone9620 6 років тому

    Very good tutorial

  • @mahammadshoyab9717
    @mahammadshoyab9717 5 років тому

    hello prasanth, first i will appreciate for all of this teaching, and can you do one video about difference of dataframe and dataset in a deep please..

    • @ScholarNest
      @ScholarNest  5 років тому

      I intend to do that in near future. Can't commit a timeline though.

  • @SpiritOfIndiaaa
    @SpiritOfIndiaaa 6 років тому

    Amazing tutorial....thank you so much ...sir why dont you put these samples on git ?

    • @ScholarNest
      @ScholarNest  6 років тому

      Code is hosted at www.learningjournal.guru

  • @sonukumar5dec
    @sonukumar5dec 6 років тому

    could you tell me how to create jar for spark-submit utility , how we can write code in eclipse

    • @ScholarNest
      @ScholarNest  6 років тому

      We will be using SBT to build Spark Jars. I will cover required dependencies in my videos. I have already explained Scala IDE and SBT in my Scala tutorials.

  • @creativethoughts2720
    @creativethoughts2720 6 років тому

    hi sir
    I have doudt . if i have one spark program I have 7 select statements within that I have 3 actions and another program I have 10 select statements but only one action
    so which one run faster?

    • @ScholarNest
      @ScholarNest  6 років тому

      I couldn't get your question.

  • @creativethoughts2720
    @creativethoughts2720 6 років тому

    Hi sir,
    i can't understand can you explain this sir
    Why does the Spark application code need to be an object rather than a class?

    • @ScholarNest
      @ScholarNest  6 років тому

      You need to learn Scala to understand the reason. We can't define a main method in a Scala class. So you need an object.

  • @sumitsinha972
    @sumitsinha972 6 років тому

    Spark concepts explained in a very easy way. Marvel piece of work sir.. Many thanks! you are guru
    One question, we saw that spark will optimize the code. Does this mean that developers should just write the code & leave the code optimization on spark completely ? if No then can you throw some light in the area where developers can contribute for optimization?

    • @ScholarNest
      @ScholarNest  6 років тому +1

      Spark will take care of the obvious things as explained in the video. We as a developer should know about that, so we can ignore those concerns. But that doesn't mean that we should not worry about performance. I will cover some commonly used optimization and tuning in a separate video.

    • @sumitsinha972
      @sumitsinha972 6 років тому

      thanks sir for prompt response.. eagerly waiting....

  • @abhishek-94
    @abhishek-94 6 років тому

    Sir, Thanks for your videos. Is it okay if I publish a blog by making use of the understanding gained through your videos? I will cite them as amongst the sources.

    • @ScholarNest
      @ScholarNest  6 років тому

      Yes, you can as long as it is not an exact copy and you are adding some value.

  • @swetagoswami4641
    @swetagoswami4641 6 років тому

    Hello Sir, first of all youe videos are awsome and very clear. Thank you for making them.
    Now I have a question. I have clearly understood what is pipeline omtimization and predicte pushdown optimization. But other terms that we so frequently hear regarding spark is "catalyst optimizer" and "tungsten optimizer". Can you please explain them too? Thanks in advance. :)

    • @ScholarNest
      @ScholarNest  6 років тому

      Ok. Will try to include then.

    • @DilipDiwakarAricent
      @DilipDiwakarAricent 6 років тому

      Spark dataframe use catalyst optimizer for optimizing query execution logical plan and tungsten optimizer use for optimize memory and java heap during table to jvm object conversion...

  • @karamveersolanki138
    @karamveersolanki138 6 років тому

    Sir, I am getting error in when
    val df2 = health_survey_df.select("Gender",
    (when("treatment" === "Yes", 1).otherwise(0)).alias("All-Yes"), I am using spark 2.3, Can you please help me what to use in place of when in spark 2.3

    • @deepuinutube
      @deepuinutube 6 років тому

      Same error for me as well, Can anyone correct pls

    • @naginisivaappa8770
      @naginisivaappa8770 6 років тому +1

      hi , That is not working for me as well , instead you guys can use ::::
      val df2 = df.groupBy($"Gender").agg(sum(when($"treatment" === "Yes",1).otherwise(0)), sum(when($"treatment" === "No",1).otherwise(0)))
      This is working :)

    • @parthpandey2695
      @parthpandey2695 5 років тому

      add an import to your line of code "import org.apache.spark.sql.functions.when"

    • @parthpandey2695
      @parthpandey2695 5 років тому

      @@deepuinutube add an import to your line of code "import org.apache.spark.sql.functions.when"

  • @StreetArtist360
    @StreetArtist360 6 років тому

    thank u.

  • @praveendadhich3031
    @praveendadhich3031 6 років тому

    Great

  • @karthikkumar-mk1om
    @karthikkumar-mk1om 6 років тому +1

    Hi prashant, i want to learn spark with python. could you please send me spark UDF examples in python. and also send me material on pyspark if you have any...

    • @ScholarNest
      @ScholarNest  6 років тому

      We do not recommend writing UDF in Python. My next video will explain how to create UDF in Scala and use it in Python.

  • @veerukbr1184
    @veerukbr1184 6 років тому

    Request you to share a code with dataset

    • @ScholarNest
      @ScholarNest  6 років тому +1

      +veeru kbr source code will be available on my new website. My new website is ready, just final round of testing is going. I will publish it on this weekend and share the link.

    • @veerukbr1184
      @veerukbr1184 6 років тому

      Thanks for the response