Re: DDL parser class parsing DDL in spark-sql cli

2015-04-14 Thread JaeSung Jun
Thanks Michael, I was wondering how HiveContext.sql() is hooked up HiveQL..I'll have a look at it. much appreciated. Thanks Jason On 15 April 2015 at 04:15, Michael Armbrust wrote: > HiveQL >

Re: DDL parser class parsing DDL in spark-sql cli

2015-04-14 Thread Michael Armbrust
HiveQL On Tue, Apr 14, 2015 at 7:13 AM, JaeSung Jun wrote: > Hi, > > Wile I've been walking through spark-sql source code, I typed the following > HiveQL: > > CREATE EXTERNAL TABLE user (

DDL parser class parsing DDL in spark-sql cli

2015-04-14 Thread JaeSung Jun
Hi, Wile I've been walking through spark-sql source code, I typed the following HiveQL: CREATE EXTERNAL TABLE user (uid STRING, age INT, gender STRING, job STRING, ts STRING) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' LOCATION '/hive/user'; , and I finally came across ddl.scala after analysin