Xikui Wang created ASTERIXDB-2410:
-------------------------------------
Summary: Scope Checker doesn't work well with tabs in query
Key: ASTERIXDB-2410
URL: https://issues.apache.org/jira/browse/ASTERIXDB-2410
Project: Apache AsterixDB
Issue Type: Bug
Reporter: Xikui Wang
Following query contains tab will cause scope checker to fail at
org/apache/asterix/lang/common/parser/ScopeChecker.java:316
The beginColumn is not aligned very well.
{code}
create function Suspects1(incoming) {
FROM FlightSchedule f, CountryList c, Passengers p
WHERE incoming.fid = f.fid AND p.hcid = c.cid AND c.cflag = -1
AND incoming.ctime + day_time_duration("PT12H") > f.dtime
SELECT incoming.*, f.fid as FlightId, c.id as Country
};
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)