[
https://issues.apache.org/jira/browse/TAJO-1249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14251157#comment-14251157
]
ASF GitHub Bot commented on TAJO-1249:
--------------------------------------
Github user blrunner commented on the pull request:
https://github.com/apache/tajo/pull/305#issuecomment-67439800
I give new opinion again. I think you'd better use PreLogicalPlanVerifier
instead of LogicalPlanVerifier. PreLogicalPlanVerifier provide query validation
before creating local plan.
> Tajo Should Check File Format is allowed.
> -----------------------------------------
>
> Key: TAJO-1249
> URL: https://issues.apache.org/jira/browse/TAJO-1249
> Project: Tajo
> Issue Type: Bug
> Reporter: DaeMyung Kang
> Assignee: DaeMyung Kang
> Priority: Minor
>
> 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
> ```
> It is better to return using verficationstate
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)