[ 
https://issues.apache.org/jira/browse/SPARK-7012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14558949#comment-14558949
 ] 

Akhil Thatipamula commented on SPARK-7012:
------------------------------------------

[~smolav] I worked over this for a while, I think to add such a modifier we 
first need a method("CREATE TABLE"). We can run such query using a HiveContext, 
but HiveContext uses parser provided by hive-ql, so we cannot improvise it. 
Where as SQLContext uses 'SqlParser.scala', which don't have any method such 
method as 'CREATE TABLE'. 

> Add support for NOT NULL modifier for column definitions on DDLParser
> ---------------------------------------------------------------------
>
>                 Key: SPARK-7012
>                 URL: https://issues.apache.org/jira/browse/SPARK-7012
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 1.3.0
>            Reporter: Santiago M. Mola
>            Priority: Minor
>              Labels: easyfix
>
> Add support for NOT NULL modifier for column definitions on DDLParser. This 
> would add support for the following syntax:
> CREATE TEMPORARY TABLE (field INTEGER NOT NULL) ...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to