You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Till (JIRA)" <ji...@apache.org> on 2019/04/10 18:18:00 UTC

[jira] [Updated] (ASTERIXDB-2410) Scope Checker doesn't work well with tabs in query

     [ https://issues.apache.org/jira/browse/ASTERIXDB-2410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Till updated ASTERIXDB-2410:
----------------------------
    Affects Version/s: 0.9.4

> 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
>    Affects Versions: 0.9.4
>            Reporter: Xikui Wang
>            Priority: Major
>
> 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)