[ https://issues.apache.org/jira/browse/HIVE-17466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16164761#comment-16164761 ]
Hive QA commented on HIVE-17466: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12886726/HIVE-17466.3.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 9 failed/errored test(s), 11039 tests executed *Failed tests:* {noformat} TestAccumuloCliDriver - did not produce a TEST-*.xml file (likely timed out) (batchId=230) TestDummy - did not produce a TEST-*.xml file (likely timed out) (batchId=230) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[create_view] (batchId=39) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[insert_values_orig_table_use_metadata] (batchId=61) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[union_fast_stats] (batchId=156) org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[drop_table_failure2] (batchId=89) org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query23] (batchId=234) org.apache.hadoop.hive.ql.TestAcidOnTez.testCtasTezUnion (batchId=215) org.apache.hadoop.hive.ql.TestAcidOnTez.testNonStandardConversion01 (batchId=215) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/6798/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/6798/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-6798/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 9 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12886726 - PreCommit-HIVE-Build > Metastore API to list unique partition-key-value combinations > ------------------------------------------------------------- > > Key: HIVE-17466 > URL: https://issues.apache.org/jira/browse/HIVE-17466 > Project: Hive > Issue Type: New Feature > Components: Metastore > Affects Versions: 2.2.0, 3.0.0 > Reporter: Mithun Radhakrishnan > Assignee: Thiruvel Thirumoolan > Attachments: HIVE-17466.1.patch, HIVE-17466.2-branch-2.patch, > HIVE-17466.2.patch, HIVE-17466.3.patch > > > Raising this on behalf of [~thiruvel], who wrote this initially as part of a > tangential "data-discovery" system. > Programs like Apache Oozie, Apache Falcon (or Yahoo GDM), etc. launch > workflows based on the availability of table/partitions. Partitions are > currently discovered by listing partitions using (what boils down to) > {{HiveMetaStoreClient.listPartitions()}}. This can be slow and cumbersome, > given that {{Partition}} objects are heavyweight and carry redundant > information. The alternative is to use partition-names, which will need > client-side parsing to extract part-key values. > When checking which hourly partitions for a particular day have been > published already, it would be preferable to have an API that pushed down > part-key extraction into the {{RawStore}} layer, and returned key-values as > the result. This would be similar to how {{SELECT DISTINCT part_key FROM > my_table;}} would run, but at the {{HiveMetaStoreClient}} level. > Here's what we've been using at Yahoo. -- This message was sent by Atlassian JIRA (v6.4.14#64029)