Re: How to use TableEnvironment in multiple thread environments
ink this would make most sense to do. > > Cheers, > Till > > On Mon, Jan 17, 2022 at 9:13 AM Chang Chen wrote: > > > IIUC, TableEnvironment isn't thread-safe, since it contains some internal > > states, for example, PlannerContext that has RelOptCluster use
How to use TableEnvironment in multiple thread environments
IIUC, TableEnvironment isn't thread-safe, since it contains some internal states, for example, PlannerContext that has RelOptCluster used to optimize SQL. So do I create a TableEnvironment per thread?