I am using Enterprise free edition and just upgraded to 3.1. My queries that used to work in 3.0.5 stopped working give the error no viable alternative at input
.
To debug, I stripped down the data to the minimum:
[
{
"result": [
{
"attributes": {
"name": "CDR",
"notes": "Parquet on HDFS and S3",
"sink_id": "CDR",
"tags": "RussR",
"zEnd": ""
},
"v_id": "CDR",
"v_type": "sink"
}
]
}
]
The following GSQL works ok:
CREATE QUERY findData() FOR GRAPH battleMap {
start = {sink.*};
result = SELECT s FROM start:s -(ANY:e)->product:t
WHERE s.name =="CDR" //AND s.tags == "RussR"
;
print result;
}
But if I uncomment the AND s.tags == "RussR"
, it gives no viable alternative at input
and wouldn’t run. Can this be a bug introduced in 3.1?