Were you using HiveContext or SQLContext ? Can you show the complete stack trace ?
Thanks On Tue, Jan 26, 2016 at 8:00 AM, Younes Naguib < [email protected]> wrote: > Hi, > > > > I’m running CTAS, and it fails with “Error: java.lang.AssertionError: > assertion failed: No plan for CreateTableAsSelect HiveTable....” > > Here what my sql looks like : > > Create tbl ( > > Col1 timestamp , > > Col2 string, > > Col3 int, > > ..... > > ) > > partitioned by (year int, month int, day int) > > stored as parquet > > location 'hdfs://... > > as select..... > > ; > > > > The select by itself works. > > > > I’m running spark 1.6. > > > > > > *Younes* > > >
