kasakrisz commented on code in PR #4344:
URL: https://github.com/apache/hive/pull/4344#discussion_r1217805847
##########
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStore.java:
##########
@@ -2446,6 +2446,16 @@ public void testPartitionFilter() throws Exception {
"p3 between 31 and 32 and p1 between \"p12\" and \"p14\"", 3);
checkFilter(client, dbName, tblName, "p4 between \"p41\" and \"p44\"", 5);
+ // Test in
+ checkFilter(client, dbName, tblName, "p1 in (\"p11\", \"p12\")", 4);
+ checkFilter(client, dbName, tblName, "p2 in (\"p21\", \"p25\")", 3);
+ checkFilter(client, dbName, tblName, "p3 not in (31, 33)", 3);
+ checkFilter(client, dbName, tblName, "p4 not in ('p43', 'p44')", 3);
+
+ // Test multi-in
+ checkFilter(client, dbName, tblName, "(struct (p1, p2)) in (const struct
('p11', 'p22'), const struct ('p12', 'p22'))", 1);
Review Comment:
This seems to be fixed in your recent commit. Please let me know if you
intend to do some additional work here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]