File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,13 +28,24 @@ const ONE_MEG: u64 = 1 << 20;
2828/// Vortex provides an out-of-the-box file writer that optimizes the layout of chunks on-disk,
2929/// repartitioning and compressing them to strike a balance between size on-disk,
3030/// bulk decoding performance, and IOPS required to perform an indexed read.
31- #[ derive( Debug , Clone ) ]
31+ #[ derive( Clone ) ]
3232pub struct WriteStrategyBuilder {
3333 compressor : Option < Arc < dyn CompressorPlugin > > ,
3434 row_block_size : usize ,
3535 field_writers : HashMap < FieldPath , Arc < dyn LayoutStrategy > > ,
3636}
3737
38+
39+ impl std:: fmt:: Debug for WriteStrategyBuilder {
40+ fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
41+ f. debug_struct ( "WriteStrategyBuilder" )
42+ . field ( "compressor" , & self . compressor )
43+ . field ( "row_block_size" , & self . row_block_size )
44+ . field ( "field_writers" , & format ! ( "<{} entries>" , self . field_writers. len( ) ) )
45+ . finish ( )
46+ }
47+ }
48+
3849impl Default for WriteStrategyBuilder {
3950 fn default ( ) -> Self {
4051 Self :: new ( )
You can’t perform that action at this time.
0 commit comments