GitHub user charsyam opened a pull request:

    https://github.com/apache/tajo/pull/305

    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. 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/charsyam/tajo feature/TAJO-1249

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/305.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #305
    
----
commit d227691369e71460055cbdde083d476518fba27a
Author: clark.kang <[email protected]>
Date:   2014-12-17T15:19:31Z

    TAJO-1249

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to