Details
-
Bug
-
Resolution: Fixed
-
Major
-
feature-backlog
-
None
-
Untriaged
-
Unknown
Description
Give = instead of @ in "statement=file.txt" :
curl -s --data pretty=true --data format=CLEAN_JSON --data-urlencode "statement=file.txt" http://localhost:8095/analytics/service
Error message:
"msg": "org.apache.asterix.common.exceptions.AsterixException: Encountered \"<EOF>\" at line 1, column 8.\nWas expecting one of:\n \"and\" ...\n \"is\" ...\n \"or\" ...\n \"^\" ...\n \"||\" ...\n \"\/\" ...\n \"idiv\" ...\n \"-\" ...\n \"%\" ...\n \"*\" ...\n \"+\" ...\n \"[\" ...\n \".\" ...\n \";\" ...\n "
}],