[ https://issues.apache.org/jira/browse/HIVE-14544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15422596#comment-15422596 ]
Hive QA commented on HIVE-14544: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12823843/HIVE-14544.1.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 10 failed/errored test(s), 10472 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[avro_timestamp] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[partition_timestamp2] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[partition_timestamp] org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[explainuser_1] org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[explainuser_2] org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[load_dyn_part1] org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[load_dyn_part2] org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[tez_join_hash] org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[transform_ppr1] org.apache.hive.hcatalog.listener.TestMsgBusConnection.testConnection {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-MASTER-Build/893/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-MASTER-Build/893/console Test logs: http://ec2-204-236-174-241.us-west-1.compute.amazonaws.com/logs/PreCommit-HIVE-MASTER-Build-893/ 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: 10 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12823843 - PreCommit-HIVE-MASTER-Build > LOAD DATA statement appends .0 to the partition name > ---------------------------------------------------- > > Key: HIVE-14544 > URL: https://issues.apache.org/jira/browse/HIVE-14544 > Project: Hive > Issue Type: Bug > Components: Metastore > Affects Versions: 2.1.0 > Reporter: Oleksiy Sayankin > Assignee: Oleksiy Sayankin > Fix For: 2.1.0 > > Attachments: HIVE-14544.1.patch > > > *STEP 1. Create file with data:* > {noformat} > echo 1 > /tmp/data.file > {noformat} > *STEP 2. Create table in hive:* > {noformat} > CREATE TABLE `issue` (`id` INT) PARTITIONED BY (`ts` TIMESTAMP); > {noformat} > *STEP 3. Insert data into table:* > {noformat} > SET hive.exec.dynamic.partition.mode=nonstrict; > INSERT INTO TABLE `issue` PARTITION (`ts`) VALUES (1,'1970-01-01 > 00:00:00'),(2,'1980-01-01 00:00:00'),(3,'1990-01-01 00:00:00'); > {noformat} > *STEP 4. Load data into table using hive:* > {noformat} > LOAD DATA LOCAL INPATH '/tmp/data.file' OVERWRITE INTO TABLE `issue` > PARTITION (`ts`='2000-01-01 00:00:00'); > {noformat} > *STEP 5. Run show partitions query:* > {noformat} > SHOW PARTITIONS `issue`; > {noformat} > *EXPECTED RESULT:* > {noformat} > ts=1970-01-01 00%3A00%3A00 > ts=1980-01-01 00%3A00%3A00 > ts=1990-01-01 00%3A00%3A00 > ts=2000-01-01 00%3A00%3A00 > {noformat} > *ACTUAL RESULT* > We've gotten partitions with different precision > {noformat} > ts=1970-01-01 00%3A00%3A00 > ts=1980-01-01 00%3A00%3A00 > ts=1990-01-01 00%3A00%3A00 > ts=2000-01-01 00%3A00%3A00.0 > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)