@@ -1137,7 +1137,7 @@ impl ScalarValue {
11371137            DataType :: Null  => ScalarValue :: Null , 
11381138            _ => { 
11391139                return  _not_impl_err ! ( 
1140-                     "Can't create a null scalar from data_type \" {data_type:? }\" " 
1140+                     "Can't create a null scalar from data_type \" {data_type}\" " 
11411141                ) ; 
11421142            } 
11431143        } ) 
@@ -1193,7 +1193,7 @@ impl ScalarValue {
11931193        match  datatype { 
11941194            DataType :: Float32  => Ok ( ScalarValue :: from ( std:: f32:: consts:: PI ) ) , 
11951195            DataType :: Float64  => Ok ( ScalarValue :: from ( std:: f64:: consts:: PI ) ) , 
1196-             _ => _internal_err ! ( "PI is not supported for data type: {:? }" ,  datatype) , 
1196+             _ => _internal_err ! ( "PI is not supported for data type: {}" ,  datatype) , 
11971197        } 
11981198    } 
11991199
@@ -1203,7 +1203,7 @@ impl ScalarValue {
12031203            DataType :: Float32  => Ok ( ScalarValue :: from ( consts:: PI_UPPER_F32 ) ) , 
12041204            DataType :: Float64  => Ok ( ScalarValue :: from ( consts:: PI_UPPER_F64 ) ) , 
12051205            _ => { 
1206-                 _internal_err ! ( "PI_UPPER is not supported for data type: {:? }" ,  datatype) 
1206+                 _internal_err ! ( "PI_UPPER is not supported for data type: {}" ,  datatype) 
12071207            } 
12081208        } 
12091209    } 
@@ -1214,7 +1214,7 @@ impl ScalarValue {
12141214            DataType :: Float32  => Ok ( ScalarValue :: from ( consts:: NEGATIVE_PI_LOWER_F32 ) ) , 
12151215            DataType :: Float64  => Ok ( ScalarValue :: from ( consts:: NEGATIVE_PI_LOWER_F64 ) ) , 
12161216            _ => { 
1217-                 _internal_err ! ( "-PI_LOWER is not supported for data type: {:? }" ,  datatype) 
1217+                 _internal_err ! ( "-PI_LOWER is not supported for data type: {}" ,  datatype) 
12181218            } 
12191219        } 
12201220    } 
@@ -1225,10 +1225,7 @@ impl ScalarValue {
12251225            DataType :: Float32  => Ok ( ScalarValue :: from ( consts:: FRAC_PI_2_UPPER_F32 ) ) , 
12261226            DataType :: Float64  => Ok ( ScalarValue :: from ( consts:: FRAC_PI_2_UPPER_F64 ) ) , 
12271227            _ => { 
1228-                 _internal_err ! ( 
1229-                     "PI_UPPER/2 is not supported for data type: {:?}" , 
1230-                     datatype
1231-                 ) 
1228+                 _internal_err ! ( "PI_UPPER/2 is not supported for data type: {}" ,  datatype) 
12321229            } 
12331230        } 
12341231    } 
@@ -1243,10 +1240,7 @@ impl ScalarValue {
12431240                Ok ( ScalarValue :: from ( consts:: NEGATIVE_FRAC_PI_2_LOWER_F64 ) ) 
12441241            } 
12451242            _ => { 
1246-                 _internal_err ! ( 
1247-                     "-PI/2_LOWER is not supported for data type: {:?}" , 
1248-                     datatype
1249-                 ) 
1243+                 _internal_err ! ( "-PI/2_LOWER is not supported for data type: {}" ,  datatype) 
12501244            } 
12511245        } 
12521246    } 
@@ -1256,7 +1250,7 @@ impl ScalarValue {
12561250        match  datatype { 
12571251            DataType :: Float32  => Ok ( ScalarValue :: from ( -std:: f32:: consts:: PI ) ) , 
12581252            DataType :: Float64  => Ok ( ScalarValue :: from ( -std:: f64:: consts:: PI ) ) , 
1259-             _ => _internal_err ! ( "-PI is not supported for data type: {:? }" ,  datatype) , 
1253+             _ => _internal_err ! ( "-PI is not supported for data type: {}" ,  datatype) , 
12601254        } 
12611255    } 
12621256
@@ -1265,7 +1259,7 @@ impl ScalarValue {
12651259        match  datatype { 
12661260            DataType :: Float32  => Ok ( ScalarValue :: from ( std:: f32:: consts:: FRAC_PI_2 ) ) , 
12671261            DataType :: Float64  => Ok ( ScalarValue :: from ( std:: f64:: consts:: FRAC_PI_2 ) ) , 
1268-             _ => _internal_err ! ( "PI/2 is not supported for data type: {:? }" ,  datatype) , 
1262+             _ => _internal_err ! ( "PI/2 is not supported for data type: {}" ,  datatype) , 
12691263        } 
12701264    } 
12711265
@@ -1274,7 +1268,7 @@ impl ScalarValue {
12741268        match  datatype { 
12751269            DataType :: Float32  => Ok ( ScalarValue :: from ( -std:: f32:: consts:: FRAC_PI_2 ) ) , 
12761270            DataType :: Float64  => Ok ( ScalarValue :: from ( -std:: f64:: consts:: FRAC_PI_2 ) ) , 
1277-             _ => _internal_err ! ( "-PI/2 is not supported for data type: {:? }" ,  datatype) , 
1271+             _ => _internal_err ! ( "-PI/2 is not supported for data type: {}" ,  datatype) , 
12781272        } 
12791273    } 
12801274
@@ -1284,7 +1278,7 @@ impl ScalarValue {
12841278            DataType :: Float32  => Ok ( ScalarValue :: from ( f32:: INFINITY ) ) , 
12851279            DataType :: Float64  => Ok ( ScalarValue :: from ( f64:: INFINITY ) ) , 
12861280            _ => { 
1287-                 _internal_err ! ( "Infinity is not supported for data type: {:? }" ,  datatype) 
1281+                 _internal_err ! ( "Infinity is not supported for data type: {}" ,  datatype) 
12881282            } 
12891283        } 
12901284    } 
@@ -1296,7 +1290,7 @@ impl ScalarValue {
12961290            DataType :: Float64  => Ok ( ScalarValue :: from ( f64:: NEG_INFINITY ) ) , 
12971291            _ => { 
12981292                _internal_err ! ( 
1299-                     "Negative Infinity is not supported for data type: {:? }" , 
1293+                     "Negative Infinity is not supported for data type: {}" , 
13001294                    datatype
13011295                ) 
13021296            } 
@@ -1369,7 +1363,7 @@ impl ScalarValue {
13691363            DataType :: Date64  => ScalarValue :: Date64 ( Some ( 0 ) ) , 
13701364            _ => { 
13711365                return  _not_impl_err ! ( 
1372-                     "Can't create a zero scalar from data_type \" {datatype:? }\" " 
1366+                     "Can't create a zero scalar from data_type \" {datatype}\" " 
13731367                ) ; 
13741368            } 
13751369        } ) 
@@ -1507,7 +1501,7 @@ impl ScalarValue {
15071501            // Unsupported types for now 
15081502            _ => { 
15091503                _not_impl_err ! ( 
1510-                     "Default value for data_type \" {datatype:? }\"  is not implemented yet" 
1504+                     "Default value for data_type \" {datatype}\"  is not implemented yet" 
15111505                ) 
15121506            } 
15131507        } 
@@ -1557,7 +1551,7 @@ impl ScalarValue {
15571551            } 
15581552            _ => { 
15591553                return  _not_impl_err ! ( 
1560-                     "Can't create an one scalar from data_type \" {datatype:? }\" " 
1554+                     "Can't create an one scalar from data_type \" {datatype}\" " 
15611555                ) ; 
15621556            } 
15631557        } ) 
@@ -1603,7 +1597,7 @@ impl ScalarValue {
16031597            } 
16041598            _ => { 
16051599                return  _not_impl_err ! ( 
1606-                     "Can't create a negative one scalar from data_type \" {datatype:? }\" " 
1600+                     "Can't create a negative one scalar from data_type \" {datatype}\" " 
16071601                ) ; 
16081602            } 
16091603        } ) 
@@ -1656,7 +1650,7 @@ impl ScalarValue {
16561650            } 
16571651            _ => { 
16581652                return  _not_impl_err ! ( 
1659-                     "Can't create a ten scalar from data_type \" {datatype:? }\" " 
1653+                     "Can't create a ten scalar from data_type \" {datatype}\" " 
16601654                ) ; 
16611655            } 
16621656        } ) 
@@ -2364,7 +2358,7 @@ impl ScalarValue {
23642358                    DataType :: UInt16  => dict_from_values :: < UInt16Type > ( values) ?, 
23652359                    DataType :: UInt32  => dict_from_values :: < UInt32Type > ( values) ?, 
23662360                    DataType :: UInt64  => dict_from_values :: < UInt64Type > ( values) ?, 
2367-                     _ => unreachable ! ( "Invalid dictionary keys type: {:? }" ,  key_type) , 
2361+                     _ => unreachable ! ( "Invalid dictionary keys type: {}" ,  key_type) , 
23682362                } 
23692363            } 
23702364            DataType :: FixedSizeBinary ( size)  => { 
@@ -2375,7 +2369,7 @@ impl ScalarValue {
23752369                        }  else  { 
23762370                            _exec_err ! ( 
23772371                                "Inconsistent types in ScalarValue::iter_to_array. \  
2378-                                  Expected {data_type:? }, got {sv:?}"
2372+                                  Expected {data_type}, got {sv:?}"
23792373                            ) 
23802374                        } 
23812375                    } ) 
@@ -2937,7 +2931,7 @@ impl ScalarValue {
29372931                    DataType :: UInt16  => dict_from_scalar :: < UInt16Type > ( v,  size) ?, 
29382932                    DataType :: UInt32  => dict_from_scalar :: < UInt32Type > ( v,  size) ?, 
29392933                    DataType :: UInt64  => dict_from_scalar :: < UInt64Type > ( v,  size) ?, 
2940-                     _ => unreachable ! ( "Invalid dictionary keys type: {:? }" ,  key_type) , 
2934+                     _ => unreachable ! ( "Invalid dictionary keys type: {}" ,  key_type) , 
29412935                } 
29422936            } 
29432937            ScalarValue :: Null  => get_or_create_cached_null_array ( size) , 
@@ -3197,7 +3191,7 @@ impl ScalarValue {
31973191                    DataType :: UInt16  => get_dict_value :: < UInt16Type > ( array,  index) ?, 
31983192                    DataType :: UInt32  => get_dict_value :: < UInt32Type > ( array,  index) ?, 
31993193                    DataType :: UInt64  => get_dict_value :: < UInt64Type > ( array,  index) ?, 
3200-                     _ => unreachable ! ( "Invalid dictionary keys type: {:? }" ,  key_type) , 
3194+                     _ => unreachable ! ( "Invalid dictionary keys type: {}" ,  key_type) , 
32013195                } ; 
32023196                // look up the index in the values dictionary 
32033197                let  value = match  values_index { 
@@ -3571,7 +3565,7 @@ impl ScalarValue {
35713565                    DataType :: UInt16  => get_dict_value :: < UInt16Type > ( array,  index) ?, 
35723566                    DataType :: UInt32  => get_dict_value :: < UInt32Type > ( array,  index) ?, 
35733567                    DataType :: UInt64  => get_dict_value :: < UInt64Type > ( array,  index) ?, 
3574-                     _ => unreachable ! ( "Invalid dictionary keys type: {:? }" ,  key_type) , 
3568+                     _ => unreachable ! ( "Invalid dictionary keys type: {}" ,  key_type) , 
35753569                } ; 
35763570                // was the value in the array non null? 
35773571                match  values_index { 
0 commit comments