@@ -11,7 +11,6 @@ use crate::metastore::replay_handle::{ReplayHandle, SeqPointer, SeqPointerForLoc
1111use crate :: metastore:: source:: SourceCredentials ;
1212use crate :: metastore:: table:: { StreamOffset , Table } ;
1313use crate :: metastore:: { Column , ColumnType , IdRow , MetaStore } ;
14- use crate :: queryplanner:: metadata_cache:: MetadataCacheFactory ;
1514use crate :: sql:: timestamp_from_string;
1615use crate :: store:: ChunkDataStore ;
1716use crate :: streaming:: kafka:: { KafkaClientService , KafkaStreamingSource } ;
@@ -24,7 +23,6 @@ use buffered_stream::BufferedStream;
2423use chrono:: Utc ;
2524use datafusion:: arrow:: array:: ArrayBuilder ;
2625use datafusion:: arrow:: array:: ArrayRef ;
27- use datafusion:: datasource:: physical_plan:: ParquetFileReaderFactory ;
2826use futures:: future:: join_all;
2927use futures:: stream:: StreamExt ;
3028use futures:: Stream ;
@@ -59,7 +57,6 @@ pub struct StreamingServiceImpl {
5957 chunk_store : Arc < dyn ChunkDataStore > ,
6058 ksql_client : Arc < dyn KsqlClient > ,
6159 kafka_client : Arc < dyn KafkaClientService > ,
62- metadata_cache_factory : Arc < dyn MetadataCacheFactory > ,
6360}
6461
6562crate :: di_service!( StreamingServiceImpl , [ StreamingService ] ) ;
@@ -71,15 +68,13 @@ impl StreamingServiceImpl {
7168 chunk_store : Arc < dyn ChunkDataStore > ,
7269 ksql_client : Arc < dyn KsqlClient > ,
7370 kafka_client : Arc < dyn KafkaClientService > ,
74- metadata_cache_factory : Arc < dyn MetadataCacheFactory > ,
7571 ) -> Arc < Self > {
7672 Arc :: new ( Self {
7773 config_obj,
7874 meta_store,
7975 chunk_store,
8076 ksql_client,
8177 kafka_client,
82- metadata_cache_factory,
8378 } )
8479 }
8580
@@ -170,7 +165,6 @@ impl StreamingServiceImpl {
170165 self . kafka_client . clone ( ) ,
171166 * use_ssl,
172167 trace_obj,
173- self . metadata_cache_factory . clone ( ) ,
174168 ) . await ?) ) ,
175169 }
176170 }
0 commit comments