Java Spark to Python spark integration

2018-10-30 Thread Manohar Rao
Manohar

Pivot Column ordering in spark

2018-09-26 Thread Manohar Rao
subject to change or not reliable from a user point of view. ? If not reliable , is there another way by which I can logically/programatically identify that a column such as R_sum(CAST(`integer_type_col` AS BIGINT)) corresponds to the input pivot value "R" and aggregation function of sum(`integer_type_col`) Thanks Manohar

[Spark Streaming]: How do I apply window before filter?

2018-06-11 Thread Tejas Manohar
d(message,StructType(StructField(event,StringType,true), StructField(timestamp,TimestampType,true)),true)) parsed: org.apache.spark.sql.Dataset[org.apache.spark.sql.Row] = [message: struct, ts: timestamp] ``` That said, I think the example with the JOIN helps put *why* it's important for the windowing to happen afterwards in picture. Anyways, is there another way to accurately express this query? Thanks in advance. -- Best regards, Tejas Manohar

RE: Spark Read from Google store and save in AWS s3

2017-01-05 Thread Manohar Reddy
understanding right? Manohar From: Steve Loughran [mailto:ste...@hortonworks.com] Sent: Thursday, January 5, 2017 11:05 PM To: Manohar Reddy Cc: user@spark.apache.org Subject: Re: Spark Read from Google store and save in AWS s3 On 5 Jan 2017, at 09:58, Manohar753 <manohar.re...@happiestminds.

RE: java.lang.ArrayIndexOutOfBoundsException: 0 on Yarn Client

2015-07-28 Thread Manohar Reddy
Yaa got it Thanks Akhil. From: Akhil Das [mailto:ak...@sigmoidanalytics.com] Sent: Tuesday, July 28, 2015 2:47 PM To: Manohar Reddy Cc: user@spark.apache.org Subject: Re: java.lang.ArrayIndexOutOfBoundsException: 0 on Yarn Client That happens when you batch duration is less than your processing

RE: java.lang.ArrayIndexOutOfBoundsException: 0 on Yarn Client

2015-07-28 Thread Manohar Reddy
...@sigmoidanalytics.com] Sent: Tuesday, July 28, 2015 1:52 PM To: Manohar Reddy Cc: user@spark.apache.org Subject: Re: java.lang.ArrayIndexOutOfBoundsException: 0 on Yarn Client Put a try catch inside your code and inside the catch print out the length or the list itself which causes

RE: java.lang.ArrayIndexOutOfBoundsException: 0 on Yarn Client

2015-07-28 Thread Manohar Reddy
) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) From: Akhil Das [mailto:ak...@sigmoidanalytics.com] Sent: Tuesday, July 28, 2015 2:30 PM To: Manohar Reddy Cc: user@spark.apache.org Subject: Re: java.lang.ArrayIndexOutOfBoundsException: 0 on Yarn Client

override/update options in Dataframe/JdbcRdd

2015-07-02 Thread manohar
Hi, what are the options in DataFrame/JdbcRdd save/saveAsTable api. is there any options to override/update a particular column in the table instead of whole table overriding based on some ID colum. SaveMode append is there but it wont help us to update the record,it will append/add new row to