@@ -131,7 +131,7 @@ impl StreamingServiceImpl {
131131 password,
132132 url,
133133 } => {
134- log:: debug!( "source_by: KSql: table columns : {:?} " , table. get_row( ) . get_columns( ) ) ;
134+ log:: debug!( "source_by: KSql: table id : {}, table columns: [{}] " , table. get_id ( ) , table . get_row( ) . get_columns( ) . iter ( ) . map ( |c| c . get_name ( ) ) . join ( ", " ) ) ;
135135 Ok ( Arc :: new ( KSqlStreamingSource {
136136 user : user. clone ( ) ,
137137 password : password. clone ( ) ,
@@ -152,7 +152,7 @@ impl StreamingServiceImpl {
152152 host,
153153 use_ssl,
154154 } => {
155- log:: debug!( "source_by: Kafka: table columns : {:?} , source columns: {:?}" , table. get_row( ) . get_columns( ) , table. get_row( ) . source_columns( ) ) ;
155+ log:: debug!( "source_by: Kafka: table id : {}, table columns: [{}] , source columns: {:?}" , table. get_id ( ) , table . get_row( ) . get_columns( ) . iter ( ) . map ( |c| c . get_name ( ) ) . join ( ", " ) , table. get_row( ) . source_columns( ) . as_ref ( ) . map ( |cvec| cvec . iter ( ) . map ( |c| c . get_name ( ) ) . join ( ", " ) ) ) ;
156156
157157 Ok ( Arc :: new ( KafkaStreamingSource :: try_new (
158158 table. get_id ( ) ,
@@ -242,7 +242,7 @@ impl StreamingService for StreamingServiceImpl {
242242 . meta_store
243243 . get_trace_obj_by_table_id ( table. get_id ( ) )
244244 . await ?;
245-
245+ log :: debug! ( "StreamingServiceImpl::stream_table for table id {}" , table . get_id ( ) ) ;
246246 let source = self . source_by ( & table, location, trace_obj) . await ?;
247247 let seq_column = table. get_row ( ) . seq_column ( ) . ok_or_else ( || {
248248 CubeError :: internal ( format ! (
@@ -425,6 +425,7 @@ impl StreamingService for StreamingServiceImpl {
425425 table : IdRow < Table > ,
426426 location : & str ,
427427 ) -> Result < ( ) , CubeError > {
428+ log:: debug!( "StreamingServiceImpl::validate_location for table id {}" , table. get_id( ) ) ;
428429 let source = self . source_by ( & table, location, None ) . await ?;
429430 source. validate_table_location ( ) ?;
430431 Ok ( ( ) )
0 commit comments