Hi Sonam, Do you want to share the stack trace of the error? It would help which line it hit the error and the function calls.
On Fri, Nov 13, 2020 at 6:40 AM Sonam Ramchand < [email protected]> wrote: > Hi Devs, > > I am trying to implement LOGICAL_AND functions for Beam SQL ZetaSQL > dialect, as CombineFn. > > https://github.com/sonam-vend/beam/commit/9ad8ee1d8fa617aca7fcafc8e7efe8bf388b3afb > > When I try to execute testLogicalAndZetaSQL, I am getting > org.apache.beam.sdk.extensions.sql.zetasql.translation.SqlOperators$1 > cannot be cast to > org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlAggFunction > java.lang.ClassCastException: > org.apache.beam.sdk.extensions.sql.zetasql.translation.SqlOperators$1 > cannot be cast to > org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlAggFunction > > I cannot understand the reason behind occurrence of this exception. > > Any sort of help would be appreciated/ > > Regards, > *Sonam* > Software Engineer > Mobile: +92 3088337296 <+92%20308%208337296> > > <http://venturedive.com/> > -- Regards, Tomo
