File tree Expand file tree Collapse file tree
datafusion/functions/src/unicode Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515// specific language governing permissions and limitations
1616// under the License.
1717
18- use std:: any:: Any ;
19- use std:: sync:: Arc ;
20- use std:: fmt:: Write ;
2118use crate :: utils:: { make_scalar_function, utf8_to_str_type} ;
2219use arrow:: array:: { ArrayRef , GenericStringBuilder , OffsetSizeTrait } ;
2320use arrow:: datatypes:: DataType ;
@@ -28,6 +25,9 @@ use datafusion_common::DataFusionError;
2825use datafusion_common:: { exec_err, Result } ;
2926use datafusion_expr:: TypeSignature :: Exact ;
3027use datafusion_expr:: { ColumnarValue , ScalarUDFImpl , Signature , Volatility } ;
28+ use std:: any:: Any ;
29+ use std:: fmt:: Write ;
30+ use std:: sync:: Arc ;
3131use unicode_segmentation:: UnicodeSegmentation ;
3232
3333#[ derive( Debug ) ]
@@ -143,7 +143,8 @@ macro_rules! process_rpad {
143143 $builder. append_value( graphemes[ ..length] . concat( ) ) ;
144144 } else {
145145 $builder. write_str( string) ?;
146- $builder. write_str( & " " . repeat( length - graphemes. len( ) ) ) ?;
146+ $builder
147+ . write_str( & " " . repeat( length - graphemes. len( ) ) ) ?;
147148 $builder. append_value( "" ) ;
148149 }
149150 }
You can’t perform that action at this time.
0 commit comments