address code revew feedback, changed type for cardinality hint to Long from Int 2) fixed indx value in DatasetTupleTranslator
git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_stabilization_issue_251@1108 eaa15691-b419-025a-1212-ee371bd00084
diff --git a/asterix-aql/src/main/javacc/AQL.jj b/asterix-aql/src/main/javacc/AQL.jj
index fd5aaaa..33ee7dc 100644
--- a/asterix-aql/src/main/javacc/AQL.jj
+++ b/asterix-aql/src/main/javacc/AQL.jj
@@ -954,7 +954,7 @@
(<INTEGER_LITERAL>
{
try{
- value = "" + Integer.valueOf(token.image);
+ value = "" + Long.valueOf(token.image);
} catch (NumberFormatException nfe){
throw new ParseException("inapproriate value: " + token.image);
}
@@ -981,7 +981,7 @@
(<INTEGER_LITERAL>
{
try{
- value = "" + Integer.valueOf(token.image);
+ value = "" + Long.valueOf(token.image);
} catch (NumberFormatException nfe){
throw new ParseException("inapproriate value: " + token.image);
}