Re: [Question] Beam SQL failed with NPE

2022-08-30 Thread Zheng Ni
Seems "org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.metadata.BuiltInMetadata.ExplainVisibility.Handler" is not a valid class name passed to classloader. Java Doc: Any class name provided as a String parameter to me

Re: [Question] Beam SQL failed with NPE

2022-08-30 Thread Zheng Ni
Hi Brain & Singh, Thanks for the reply. Actually, beam version from 2.35.0 to 2.41.0 uses the same calcite version, which is 1.28.0. So i do not think there is any difference between them. but I will give it a try. Basides, i found beam try to load class "org.apache.beam.vendor.calcite.v1_28_0.o

Re: [Question] Beam SQL failed with NPE

2022-08-30 Thread P Singh
Hi, Use apache-beam==2.37.0 On Wed, 31 Aug 2022 at 00:02, Brian Hulette via user wrote: > Hi Zheng, > Could you share a minimal example that reproduces the issue? > Also, have you tried using Beam >2.35.0? I'm curious if this happens in > the 2.41.0 release as well. > > Brian > > On Tue, Aug 30

Re: [Question] Beam SQL failed with NPE

2022-08-30 Thread Brian Hulette via user
Hi Zheng, Could you share a minimal example that reproduces the issue? Also, have you tried using Beam >2.35.0? I'm curious if this happens in the 2.41.0 release as well. Brian On Tue, Aug 30, 2022 at 11:10 AM Zheng Ni wrote: > Hi There, > > I am using beam 2.35.0 to build a simple sql based pi