Skip to content

Commit

Permalink
HIVE-23321 : Tolerate in tests that metastore is not removing rows fr…
Browse files Browse the repository at this point in the history
…om the skewed_string_list_values table (Zoltan Haindrich via Ashutosh Chauhan)

Signed-off-by: Ashutosh Chauhan <hashutosh@apache.org>
  • Loading branch information
kgyrtkirk authored and ashutoshc committed May 3, 2020
1 parent f85ccf2 commit b283bbd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
5 changes: 3 additions & 2 deletions ql/src/test/queries/clientpositive/sysdb.q
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,10 @@ select skewed_col_name from skewed_col_names order by skewed_col_name limit 5;

select count(*) from skewed_col_value_loc_map;

select count(*) from skewed_string_list;
-- HIVE-23289: there are fallout in these tables from previous tests
select * from skewed_string_list limit 0;

select count(*) from skewed_string_list_values;
select * from skewed_string_list_values limit 0;

select count(*) from skewed_values;

Expand Down
10 changes: 4 additions & 6 deletions ql/src/test/results/clientpositive/llap/sysdb.q.out
Original file line number Diff line number Diff line change
Expand Up @@ -1228,24 +1228,22 @@ POSTHOOK: type: QUERY
POSTHOOK: Input: sys@skewed_col_value_loc_map
#### A masked pattern was here ####
0
PREHOOK: query: select count(*) from skewed_string_list
PREHOOK: query: select * from skewed_string_list limit 0
PREHOOK: type: QUERY
PREHOOK: Input: sys@skewed_string_list
#### A masked pattern was here ####
POSTHOOK: query: select count(*) from skewed_string_list
POSTHOOK: query: select * from skewed_string_list limit 0
POSTHOOK: type: QUERY
POSTHOOK: Input: sys@skewed_string_list
#### A masked pattern was here ####
3
PREHOOK: query: select count(*) from skewed_string_list_values
PREHOOK: query: select * from skewed_string_list_values limit 0
PREHOOK: type: QUERY
PREHOOK: Input: sys@skewed_string_list_values
#### A masked pattern was here ####
POSTHOOK: query: select count(*) from skewed_string_list_values
POSTHOOK: query: select * from skewed_string_list_values limit 0
POSTHOOK: type: QUERY
POSTHOOK: Input: sys@skewed_string_list_values
#### A masked pattern was here ####
3
PREHOOK: query: select count(*) from skewed_values
PREHOOK: type: QUERY
PREHOOK: Input: sys@skewed_values
Expand Down

0 comments on commit b283bbd

Please sign in to comment.