public LocalQueryRunner(ConnectorSession defaultSession)
{
this.defaultSession = checkNotNull(defaultSession, "defaultSession is null");
this.executor = newCachedThreadPool(daemonThreadsNamed("local-query-runner-%s"));
this.sqlParser = new SqlParser();
this.nodeManager = new InMemoryNodeManager();
this.typeRegistry = new TypeRegistry();
this.metadata = new MetadataManager(new FeaturesConfig().setExperimentalSyntaxEnabled(true), typeRegistry);
this.splitManager = new SplitManager();
this.dataStreamProvider = new DataStreamManager();