@@ -919,38 +919,38 @@ public void testTableStatisticsOps() throws Exception {
919919 List <ColumnStatistics > tabColStats ;
920920 try (AutoCloseable c = deadline ()) {
921921 tabColStats = objectStore .getTableColumnStatistics (DEFAULT_CATALOG_NAME , DB1 , TABLE1 ,
922- Arrays .asList ("test_col1" , "test_col2 " ));
922+ Arrays .asList ("test_col1" , "test_col' 2 " ));
923923 }
924924 Assert .assertEquals (0 , tabColStats .size ());
925925
926926 ColumnStatisticsDesc statsDesc = new ColumnStatisticsDesc (true , DB1 , TABLE1 );
927927 ColumnStatisticsObj statsObj1 = new ColumnStatisticsObj ("test_col1" , "int" ,
928928 new ColumnStatisticsData (ColumnStatisticsData ._Fields .DECIMAL_STATS , new DecimalColumnStatsData (100 , 1000 )));
929- ColumnStatisticsObj statsObj2 = new ColumnStatisticsObj ("test_col2 " , "int" ,
929+ ColumnStatisticsObj statsObj2 = new ColumnStatisticsObj ("test_col' 2 " , "int" ,
930930 new ColumnStatisticsData (ColumnStatisticsData ._Fields .DECIMAL_STATS , new DecimalColumnStatsData (200 , 2000 )));
931931 ColumnStatistics colStats = new ColumnStatistics (statsDesc , Arrays .asList (statsObj1 , statsObj2 ));
932932 colStats .setEngine (ENGINE );
933933 objectStore .updateTableColumnStatistics (colStats , null , 0 );
934934
935935 try (AutoCloseable c = deadline ()) {
936936 tabColStats = objectStore .getTableColumnStatistics (DEFAULT_CATALOG_NAME , DB1 , TABLE1 ,
937- Arrays .asList ("test_col1" , "test_col2 " ));
937+ Arrays .asList ("test_col1" , "test_col' 2 " ));
938938 }
939939 Assert .assertEquals (1 , tabColStats .size ());
940940 Assert .assertEquals (2 , tabColStats .get (0 ).getStatsObjSize ());
941941
942942 objectStore .deleteTableColumnStatistics (DEFAULT_CATALOG_NAME , DB1 , TABLE1 , "test_col1" , ENGINE );
943943 try (AutoCloseable c = deadline ()) {
944944 tabColStats = objectStore .getTableColumnStatistics (DEFAULT_CATALOG_NAME , DB1 , TABLE1 ,
945- Arrays .asList ("test_col1" , "test_col2 " ));
945+ Arrays .asList ("test_col1" , "test_col' 2 " ));
946946 }
947947 Assert .assertEquals (1 , tabColStats .size ());
948948 Assert .assertEquals (1 , tabColStats .get (0 ).getStatsObjSize ());
949949
950- objectStore .deleteTableColumnStatistics (DEFAULT_CATALOG_NAME , DB1 , TABLE1 , "test_col2 " , ENGINE );
950+ objectStore .deleteTableColumnStatistics (DEFAULT_CATALOG_NAME , DB1 , TABLE1 , "test_col' 2 " , ENGINE );
951951 try (AutoCloseable c = deadline ()) {
952952 tabColStats = objectStore .getTableColumnStatistics (DEFAULT_CATALOG_NAME , DB1 , TABLE1 ,
953- Arrays .asList ("test_col1" , "test_col2 " ));
953+ Arrays .asList ("test_col1" , "test_col' 2 " ));
954954 }
955955 Assert .assertEquals (0 , tabColStats .size ());
956956 }
@@ -1051,7 +1051,7 @@ private void createPartitionedTable(boolean withPrivileges, boolean withStatisti
10511051 .setDbName (DB1 )
10521052 .setTableName (TABLE1 )
10531053 .addCol ("test_col1" , "int" )
1054- .addCol ("test_col2 " , "int" )
1054+ .addCol ("test_col' 2 " , "int" )
10551055 .addPartCol ("test_part_col" , "int" )
10561056 .addCol ("test_bucket_col" , "int" , "test bucket col comment" )
10571057 .addCol ("test_skewed_col" , "int" , "test skewed col comment" )
0 commit comments