?????? read parquetfile in spark-sql error

2016-07-25 Thread cj
thank you.I see this sql in the spark doc: http://spark.apache.org/docs/1.6.1/sql-programming-guide.html -- -- ??: "Takeshi Yamamuro";<linguin@gmail.com>; : 2016??7??26??(??) ????6:15 ??: "

Re: read parquetfile in spark-sql error

2016-07-25 Thread cj
thank you.but I hope to read the parquet file as a table in the spark-sql,not in the java(or scala) program. -- Original -- From: "Kabeer Ahmed";<kabeer.ah...@outlook.com>; Date: Mon, Jul 25, 2016 10:36 PM To: "cj"<124411.

read parquetfile in spark-sql error

2016-07-25 Thread cj
hi,all: I use spark1.6.1 as my work env. when I saved the following content as test1.sql file : CREATE TEMPORARY TABLE parquetTableUSING org.apache.spark.sql.parquet OPTIONS ( path "examples/src/main/resources/people.parquet" ) SELECT * FROM parquetTable and use