Re: saveAsTable fails on Python with Unresolved plan found

2015-05-07 Thread Michael Armbrust
...@exchange.microsoft.com wrote: Figured it out. It was because I was using HiveContext instead of SQLContext. FYI in case others saw the same issue. *From:* Judy Nash *Sent:* Thursday, May 7, 2015 7:38 AM *To:* 'user@spark.apache.org' *Subject:* RE: saveAsTable fails on Python with Unresolved

saveAsTable fails on Python with Unresolved plan found

2015-05-07 Thread Judy Nash
Hello, I am following the tutorial code on sql programming guidehttps://spark.apache.org/docs/1.2.1/sql-programming-guide.html#inferring-the-schema-using-reflection to try out Python on spark 1.2.1. SaveAsTable function works on Scala bur fails on python with Unresolved plan found. Broken

RE: saveAsTable fails on Python with Unresolved plan found

2015-05-07 Thread Judy Nash
SPARK-4825https://issues.apache.org/jira/browse/SPARK-4825 looks like the right bug, but it should've been fixed on 1.2.1. Is a similar fix needed in Python? From: Judy Nash Sent: Thursday, May 7, 2015 7:26 AM To: user@spark.apache.org Subject: saveAsTable fails on Python with Unresolved plan

RE: saveAsTable fails on Python with Unresolved plan found

2015-05-07 Thread Judy Nash
Figured it out. It was because I was using HiveContext instead of SQLContext. FYI in case others saw the same issue. From: Judy Nash Sent: Thursday, May 7, 2015 7:38 AM To: 'user@spark.apache.org' Subject: RE: saveAsTable fails on Python with Unresolved plan found SPARK-4825https