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 NULL,
 
  `respTime` bigint(20) NOT NULL,
 
  `respCode` bigint(20) NOT NULL,
 
  `time_by_day` text
 
) ENGINE=InnoDB DEFAULT CHARSET=utf8

Reply via email to