Details
Description
MetaImpl is a server-side singletone, and CalciteMetaImpl never creates connections.
This causes all the incoming requests to be served by a single connection only, and it produces in wrong results when accessed from concurrent threads (e.g. CalciteRemoteDriverTest in builds.apache.org).