apache/tajo — pull request #305 by charsyam (2014-12-17 15:22:25+00:00)
Title: TAJO-1249: Tajo Should Check File Format is allowed.

Currently Tajo just show NullPointException when can't understand file format
```c
default> create external table table1 ( id int, name text, score float, type text, mytime int, mytime2 date) using TEXT1 location 'file:/Users/charsyam/tajo/table';
ERROR: java.lang.NullPointerException
```
after patch
```c
default> create table table1 ( id int, name text, score float, type text, mytime int) USING csv1;
ERROR: csv1 is not supported storage type.
```

I added code in LogicalPlanner.java because I think it is more clear and easy to understand.