Reviewer:Yingyi
1) Fix issues 14, 230, 238, 239, 245
2) Simplication of ADM/Delimited parser factories.
3) Additional test cases that use simulated feeds.
4) Additional test cases for external datasets over HDFS.
5) Code refactoring in asterix-external-data module.
git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_stabilization@1094 eaa15691-b419-025a-1212-ee371bd00084
diff --git a/asterix-aql/src/main/javacc/AQL.jj b/asterix-aql/src/main/javacc/AQL.jj
index eaa4260..8672fd1 100644
--- a/asterix-aql/src/main/javacc/AQL.jj
+++ b/asterix-aql/src/main/javacc/AQL.jj
@@ -805,7 +805,7 @@
dataverse = nameComponents.first != null ? nameComponents.first.getValue() : defaultDataverse;
functionName = nameComponents.second.getValue();
}
- ("@" <IDENTIFIER>
+ ("@" <INTEGER_LITERAL>
{
arity = Integer.parseInt(token.image);
}
@@ -866,7 +866,7 @@
{
configuration = getConfiguration();
}
- ";"
+
{
return new ControlFeedStatement(ControlFeedStatement.OperationType.ALTER, nameComponents.first, nameComponents.second, configuration);
}