Re: Online classes for spark topics

2023-03-09 Thread neeraj bhadani
I am happy to be a part of this discussion as well. Regards, Neeraj On Wed, 8 Mar 2023 at 22:41, Winston Lai wrote: > +1, any webinar on Spark related topic is appreciated  > > Thank You & Best Regards > Winston Lai > -- > *From:* asma zgolli > *Sent:* Thursday,

Blog : Apache Spark Window Functions

2020-06-25 Thread neeraj bhadani
Hi Team, I would like to share with the community that my blog on "Apache Spark Window Functions" got published. PFB link if anyone interested. Link: https://medium.com/expedia-group-tech/deep-dive-into-apache-spark-window-functions-7b4e39ad3c86 Please share your thoughts and feedback.

Re: Dataframe to nested json document

2020-05-30 Thread neeraj bhadani
hon/pyspark.sql.html#pyspark.sql.DataFrameWriter.json> On Sat, May 30, 2020 at 5:01 PM neeraj bhadani wrote: > Hi, >You can follow this to save your DataFrame as JSON file. > > Regards, > Neeraj > > On Sat, May 30, 2020 at 12:44 PM zakaria benzidalmal > wrote: > >>

Re: Dataframe to nested json document

2020-05-30 Thread neeraj bhadani
Hi, You can follow this to save your DataFrame as JSON file. Regards, Neeraj On Sat, May 30, 2020 at 12:44 PM zakaria benzidalmal wrote: > Hi > > Just save it as json > > Le sam. 30 mai 2020 à 13:15, Chidananda Unchi a > écrit : > >> Hi All, >> >>> >>> I want to convert dataframe to JSOn

array_sort function behaviour

2020-05-19 Thread neeraj bhadani
Hi All, I need to sort the array based on a particular element from a struct. I am trying to use the "array_sort" function and could see that by default it is sorting the array but based on the first numerical element. Is this the expected behaviour? PFB sample code and output.

Re: Spark Window Documentation

2020-05-08 Thread neeraj bhadani
tus/1257641015835611138. You could > borrow some ideas of the docs that are claimed "the best". > > Pozdrawiam, > Jacek Laskowski > > https://about.me/JacekLaskowski > "The Internals Of" Online Books <https://books.japila.pl/> > Follow me on https://twitter.c

Spark Window Documentation

2020-05-08 Thread neeraj bhadani
Hi Team, I was looking for a Spark window function example on documentation. For example, I could the function definition and params are explained nicely here: https://spark.apache.org/docs/latest/api/python/pyspark.sql.html#pyspark.sql.Window.rowsBetween and this is the source which is

Re: Converting a date to milliseconds with time zone in Scala

2020-04-28 Thread neeraj bhadani
Hi Mich, You can try Spark DateTime function here and see if that helps. https://medium.com/expedia-group-tech/deep-dive-into-apache-spark-datetime-functions-b66de737950a Regards, Neeraj On Tue, Apr 28, 2020 at 5:15 PM Mich Talebzadeh wrote: > Hi, > > I have a date in format like

Re: Spark SQL API taking longer time than DF API.

2019-04-08 Thread neeraj bhadani
Hi All, Can anyone help me here with my query? Regards, Neeraj On Mon, Apr 1, 2019 at 9:44 AM neeraj bhadani wrote: > In Both the cases, I am trying to create a HIVE table based on Union on 2 > same queries. > > Not sure how internally it differs on the process of creation of

Re: Spark SQL API taking longer time than DF API.

2019-04-01 Thread neeraj bhadani
You seem to only save > in the second case to a file > > Am 29.03.2019 um 15:10 schrieb neeraj bhadani >: > > Hi Team, >I am executing same spark code using the Spark SQL API and DataFrame > API, however, Spark SQL is taking longer than

Re: Spark SQL API taking longer time than DF API.

2019-03-31 Thread neeraj bhadani
ode? > > On Fri, Mar 29, 2019 at 9:11 AM neeraj bhadani < > bhadani.neeraj...@gmail.com> wrote: > >> Hi Team, >>I am executing same spark code using the Spark SQL API and DataFrame >> API, however, Spark SQL is taking lo

Spark SQL API taking longer time than DF API.

2019-03-29 Thread neeraj bhadani
Hi Team, I am executing same spark code using the Spark SQL API and DataFrame API, however, Spark SQL is taking longer than expected. PFB Sudo code. --- Case 1 : Spark SQL

unsubscribe

2019-01-24 Thread neeraj bhadani
unsubscribe