Re: Spark DF does not rename the column

2021-01-05 Thread Mich Talebzadeh
gt;> >> >> *From: *Mich Talebzadeh >> *Date: *Monday, January 4, 2021 at 1:06 PM >> *To: *"user @spark" >> *Subject: *[EXTERNAL] Spark DF does not rename the column >> >> >> >> *CAUTION*: This email originated from outside of the organizat

Re: Spark DF does not rename the column

2021-01-04 Thread German Schiavon
ated”, > without the “r” > > > > *From: *Mich Talebzadeh > *Date: *Monday, January 4, 2021 at 1:06 PM > *To: *"user @spark" > *Subject: *[EXTERNAL] Spark DF does not rename the column > > > > *CAUTION*: This email originated from outside of the organization. Do no

Re: Spark DF does not rename the column

2021-01-04 Thread Mich Talebzadeh
2021 at 18:09, Lalwani, Jayesh wrote: > You don’t have a column named “created”. The column name is “ceated”, > without the “r” > > > > *From: *Mich Talebzadeh > *Date: *Monday, January 4, 2021 at 1:06 PM > *To: *"user @spark" > *Subject: *[EXTERNAL] Spar

Re: Spark DF does not rename the column

2021-01-04 Thread Lalwani, Jayesh
You don’t have a column named “created”. The column name is “ceated”, without the “r” From: Mich Talebzadeh Date: Monday, January 4, 2021 at 1:06 PM To: "user @spark" Subject: [EXTERNAL] Spark DF does not rename the column CAUTION: This email originated from outside of the organi

Spark DF does not rename the column

2021-01-04 Thread Mich Talebzadeh
Hi, version 2.4.3 I don't know the cause of this. This renaming of DF columns used to work fine. I did couple of changes to spark/Scala code not relevant to this table and it refuses to rename the columns for a table!. val summaryACC = HiveContext.table("summaryACC") summaryACC.printSchema()