Gurus,
If I register a temporary table as below
r.toDFres58: org.apache.spark.sql.DataFrame = [_1: string, _2: string, _3:
double, _4: double, _5: double]
r.toDF.registerTempTable("items")
sql("select * from items")res60: org.apache.spark.sql.DataFrame = [_1: string,
_2: string, _3: double, _4: double, _5: double]
Is there anyway I can do a select on the first column only
sql("select _1 from items" throws error
Thanking you
- calling individual columns from spark temporary table Ashok Kumar
- Re: calling individual columns from spark temporary ... Michael Armbrust
- Re: calling individual columns from spark tempor... Ashok Kumar
- Re: calling individual columns from spark te... Michael Armbrust
- Re: calling individual columns from spar... Ashok Kumar
- Re: calling individual columns from... Michael Armbrust
