Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
reordering keywords according to community convention
  • Loading branch information
Jacky Li committed Nov 4, 2014
commit 95e6520906647e4817e45792bef693cfdb52dbee
Original file line number Diff line number Diff line change
Expand Up @@ -24,28 +24,26 @@ import org.apache.spark.sql.hbase.logical.{LoadDataIntoTable, CreateHBaseTablePl

class HBaseSQLParser extends SqlParser {

protected val DATA = Keyword("DATA")
protected val LOAD = Keyword("LOAD")
protected val LOCAL = Keyword("LOCAL")
protected val INPATH = Keyword("INPATH")

protected val BULK = Keyword("BULK")
protected val ADD = Keyword("ADD")
protected val ALTER = Keyword("ALTER")
protected val BOOLEAN = Keyword("BOOLEAN")
protected val BYTE = Keyword("BYTE")
protected val COLS = Keyword("COLS")
protected val CREATE = Keyword("CREATE")
protected val DATA = Keyword("DATA")
protected val DOUBLE = Keyword("DOUBLE")
protected val DROP = Keyword("DROP")
protected val ALTER = Keyword("ALTER")
protected val EXISTS = Keyword("EXISTS")
protected val MAPPED = Keyword("MAPPED")
protected val ADD = Keyword("ADD")
protected val KEYS = Keyword("KEYS")
protected val COLS = Keyword("COLS")
protected val BYTE = Keyword("BYTE")
protected val SHORT = Keyword("SHORT")
protected val FLOAT = Keyword("FLOAT")
protected val INPATH = Keyword("INPATH")
protected val INT = Keyword("INT")
protected val INTEGER = Keyword("INTEGER")
protected val KEYS = Keyword("KEYS")
protected val LOAD = Keyword("LOAD")
protected val LOCAL = Keyword("LOCAL")
protected val LONG = Keyword("LONG")
protected val FLOAT = Keyword("FLOAT")
protected val DOUBLE = Keyword("DOUBLE")
protected val BOOLEAN = Keyword("BOOLEAN")
protected val MAPPED = Keyword("MAPPED")
protected val SHORT = Keyword("SHORT")

protected val newReservedWords: Seq[String] =
this.getClass
Expand Down