[ https://issues.apache.org/jira/browse/HIVE-23347?focusedWorklogId=453730&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-453730 ]
ASF GitHub Bot logged work on HIVE-23347: ----------------------------------------- Author: ASF GitHub Bot Created on: 02/Jul/20 00:31 Start Date: 02/Jul/20 00:31 Worklog Time Spent: 10m Work Description: github-actions[bot] commented on pull request #1003: URL: https://github.com/apache/hive/pull/1003#issuecomment-652711587 This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Feel free to reach out on the d...@hive.apache.org list if the patch is in need of reviews. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 453730) Time Spent: 20m (was: 10m) > MSCK REPAIR cannot discover partitions with upper case directory names. > ----------------------------------------------------------------------- > > Key: HIVE-23347 > URL: https://issues.apache.org/jira/browse/HIVE-23347 > Project: Hive > Issue Type: Bug > Components: Standalone Metastore > Affects Versions: 3.1.0 > Reporter: Sankar Hariappan > Assignee: Adesh Kumar Rao > Priority: Minor > Labels: pull-request-available > Fix For: 4.0.0 > > Attachments: HIVE-23347.01.patch, HIVE-23347.10.patch, > HIVE-23347.2.patch, HIVE-23347.3.patch, HIVE-23347.4.patch, > HIVE-23347.5.patch, HIVE-23347.6.patch, HIVE-23347.7.patch, > HIVE-23347.8.patch, HIVE-23347.9.patch > > Time Spent: 20m > Remaining Estimate: 0h > > For the following scenario, we expect MSCK REPAIR to discover partitions but > it couldn't. > 1. Have partitioned data path as follows. > hdfs://mycluster/datapath/t1/Year=2020/Month=03/Day=10 > hdfs://mycluster/datapath/t1/Year=2020/Month=03/Day=11 > 2. create external table t1 (key int, value string) partitioned by (Year int, > Month int, Day int) stored as orc location hdfs://mycluster/datapath/t1''; > 3. msck repair table t1; > 4. show partitions t1; --> Returns zero partitions > 5. select * from t1; --> Returns empty data. > When the partition directory names are changed to lower case, this works fine. > hdfs://mycluster/datapath/t1/year=2020/month=03/day=10 > hdfs://mycluster/datapath/t1/year=2020/month=03/day=11 -- This message was sent by Atlassian Jira (v8.3.4#803005)