Thank you very much Danny! This solved the problem.

Sincerely,

Michael

> On Mar 26, 2019, at 8:13 PM, Yuzhao Chen <[email protected]> wrote:
> 
> There is a sum agg func in [1], the reason you can not find the function is 
> that you initialize use constructor `new SqlStdOperatorTable` for the 
> validator which is not initialized, the right way is use 
> SqlStdOperatorTable#instance() [2] or FrameworkConfig#getOperatorTable().
> [1] 
> https://github.com/apache/calcite/blob/11c067f9992d9c8bc29e2326dd8b299ad1e9dbdc/core/src/main/java/org/apache/calcite/sql/fun/SqlStdOperatorTable.java#L912
> [2] 
> https://github.com/apache/calcite/blob/11c067f9992d9c8bc29e2326dd8b299ad1e9dbdc/core/src/main/java/org/apache/calcite/sql/fun/SqlStdOperatorTable.java#L2382
> 
> Best,
> Danny Chan
> 在 2019年3月27日 +0800 AM10:06,[email protected],写道:
>> 
>> SqlStdOperatorTable

Reply via email to