Github user hyunsik commented on a diff in the pull request:
https://github.com/apache/tajo/pull/732#discussion_r39023547
--- Diff:
tajo-core/src/main/java/org/apache/tajo/parser/sql/SQLAnalyzer.java ---
@@ -1293,6 +1297,9 @@ public Expr
visitCreate_table_statement(Create_table_statementContext ctx) {
if (checkIfExist(ctx.LOCATION())) {
String uri = stripQuote(ctx.uri.getText());
createTable.setLocation(uri);
+ } else {
+ throw new TajoRuntimeException(new SQLSyntaxError("EXTERNAL and
LOCATION clauses need to be specified " +
--- End diff --
How about ``LOCATION clause must be required for an external table.``?
---
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.
---