sqlContext.read.parquet not working spark version 1.3

val x = sqlContext.read.parquet("/")
:23: error: value read is not a member of org.apache.spark.sql.SQLContext
val x = sqlContext.read.parquet("/")

I am using spark-shell in cloudera CDH 5.4

please suggest…

Got the solution…posting below in case someone else faces same issue…

Upgrading from Spark SQL 1.3 to 1.4
DataFrame data reader/writer interface

Based on user feedback, we created a new, more fluid API for reading data in (SQLContext.read) and writing data out (DataFrame.write), and deprecated the old APIs (e.g. SQLContext.parquetFile, SQLContext.jsonFile).

See the API docs for SQLContext.read ( Scala, Java, Python ) and DataFrame.write ( Scala, Java, Python ) more information.