@@ -77,22 +77,22 @@ class OptimizeMetadataOnlyQuerySuite extends QueryTest with SharedSQLContext {
7777 }
7878
7979 testMetadataOnly(
80- " aggregate expression is partition columns" ,
80+ " Aggregate expression is partition columns" ,
8181 " select partcol1 from srcpart group by partcol1" ,
8282 " select partcol2 from srcpart where partcol1 = 0 group by partcol2" )
8383
8484 testMetadataOnly(
85- " distinct aggregate function on partition columns" ,
85+ " Distinct aggregate function on partition columns" ,
8686 " SELECT partcol1, count(distinct partcol2) FROM srcpart group by partcol1" ,
8787 " SELECT partcol1, count(distinct partcol2) FROM srcpart where partcol1 = 0 group by partcol1" )
8888
8989 testMetadataOnly(
90- " distinct on partition columns" ,
90+ " Distinct on partition columns" ,
9191 " select distinct partcol1, partcol2 from srcpart" ,
9292 " select distinct c1 from (select partcol1 + 1 as c1 from srcpart where partcol1 = 0) t" )
9393
9494 testMetadataOnly(
95- " aggregate function on partition columns which have same result w or w/o DISTINCT keyword. " ,
95+ " Aggregate function on partition columns which have same result w or w/o DISTINCT keyword" ,
9696 " select max(partcol1) from srcpart" ,
9797 " select min(partcol1) from srcpart where partcol1 = 0" ,
9898 " select first(partcol1) from srcpart" ,
@@ -101,20 +101,19 @@ class OptimizeMetadataOnlyQuerySuite extends QueryTest with SharedSQLContext {
101101 " select max(c1) from (select partcol1 + 1 as c1 from srcpart where partcol1 = 0) t" )
102102
103103 testNotMetadataOnly(
104- " unsupported for non-partition columns" ,
104+ " Don't optimize metadata only query for non-partition columns" ,
105105 " select col1 from srcpart group by col1" ,
106106 " select partcol1, max(col1) from srcpart group by partcol1" ,
107107 " select partcol1, count(distinct col1) from srcpart group by partcol1" ,
108108 " select distinct partcol1, col1 from srcpart" )
109109
110110 testNotMetadataOnly(
111- " unsupported for non-distinct aggregate function on " +
112- " partition columns" ,
111+ " Don't optimize metadata only query for non-distinct aggregate function on partition columns" ,
113112 " select partcol1, sum(partcol2) from srcpart group by partcol1" ,
114113 " select partcol1, count(partcol2) from srcpart group by partcol1" )
115114
116115 testNotMetadataOnly(
117- " unsupported for GroupingSet/Union operator" ,
116+ " Don't optimize metadata only query for GroupingSet/Union operator" ,
118117 " select partcol1, max(partcol2) from srcpart where partcol1 = 0 group by rollup (partcol1)" ,
119118 " select partcol2 from (select partcol2 from srcpart where partcol1 = 0 union all " +
120119 " select partcol2 from srcpart where partcol1 = 1) t group by partcol2" )
0 commit comments