@@ -34,11 +34,14 @@ def generate_symbol(lib, sym):
34
34
axis = 1 ,
35
35
inplace = True ,
36
36
)
37
- expected_column_stats = expected_column_stats .iloc [[0 , 1 ]]
37
+ print ("prior expected: {}" .format (expected_column_stats ))
38
+ expected_column_stats = expected_column_stats .iloc [[0 , 2 ]]
39
+ #expected_column_stats = expected_column_stats.iloc[[0, 1]]
38
40
expected_column_stats ["v1.0_MIN(col_1)" ] = [df0 ["col_1" ].min (), df1 ["col_1" ].min ()]
39
41
expected_column_stats ["v1.0_MAX(col_1)" ] = [df0 ["col_1" ].max (), df1 ["col_1" ].max ()]
40
42
expected_column_stats ["v1.0_MIN(col_2)" ] = [df0 ["col_2" ].min (), df1 ["col_2" ].min ()]
41
43
expected_column_stats ["v1.0_MAX(col_2)" ] = [df0 ["col_2" ].max (), df1 ["col_2" ].max ()]
44
+ print ("df0:\n {}\n df1:\n {}\n expected:\n {}" .format (df0 , df1 , expected_column_stats ))
42
45
return expected_column_stats
43
46
44
47
@@ -313,7 +316,7 @@ def test_column_stats_duplicated_primary_index(lmdb_version_store_tiny_segment):
313
316
axis = 1 ,
314
317
inplace = True ,
315
318
)
316
- expected_column_stats = expected_column_stats .iloc [[0 , 1 ]]
319
+ expected_column_stats = expected_column_stats .iloc [[0 , 3 ]]
317
320
expected_column_stats ["v1.0_MIN(col_1)" ] = [df0 ["col_1" ].min (), df1 ["col_1" ].min ()]
318
321
expected_column_stats ["v1.0_MAX(col_1)" ] = [df0 ["col_1" ].max (), df1 ["col_1" ].max ()]
319
322
0 commit comments