Re: Field name is not expected when use `AS` in sql expression

2017-05-03 Thread Jinfeng Ni
Looks like this user mailing list does not allow attached file. Can you copy the output in text format and paste in email, so that people know what you are referring to? On Wed, May 3, 2017 at 7:53 PM, 温晨欣 wrote: > > > > As shown above, when using the `SUM` expression in the SQL statement, the

Field name is not expected when use `AS` in sql expression

2017-05-03 Thread 温晨欣
As shown above, when using the `SUM` expression in the SQL statement, the above problem occurs when using `AS`. The result record field is `$*` Drill: Apache-drill-1.11.0 Table: CREATE TABLE `req_search` ( `repo` text NOT NULL, `appid` text NOT NULL, `reqid` text NOT NUL