[ https://issues.apache.org/jira/browse/PHOENIX-2845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15271205#comment-15271205 ]
Hadoop QA commented on PHOENIX-2845: ------------------------------------ {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12802240/PHOENIX-2845-4.patch against master branch at commit d700c1f032a0f5d119c669100648caf040233ebe. ATTACHMENT ID: 12802240 {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 3 new or modified tests. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:red}-1 javadoc{color}. The javadoc tool appears to have generated 29 warning messages. {color:red}-1 release audit{color}. The applied patch generated 4 release audit warnings (more than the master's current 0 warnings). {color:green}+1 lineLengths{color}. The patch does not introduce lines longer than 100 {color:red}-1 core tests{color}. The patch failed these unit tests: ./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.DateTimeIT Test results: https://builds.apache.org/job/PreCommit-PHOENIX-Build/327//testReport/ Release audit warnings: https://builds.apache.org/job/PreCommit-PHOENIX-Build/327//artifact/patchprocess/patchReleaseAuditWarnings.txt Javadoc warnings: https://builds.apache.org/job/PreCommit-PHOENIX-Build/327//artifact/patchprocess/patchJavadocWarnings.txt Console output: https://builds.apache.org/job/PreCommit-PHOENIX-Build/327//console This message is automatically generated. > Timestamp ignores nanos in literal expressions > ---------------------------------------------- > > Key: PHOENIX-2845 > URL: https://issues.apache.org/jira/browse/PHOENIX-2845 > Project: Phoenix > Issue Type: Bug > Affects Versions: 4.7.0 > Reporter: Sergey Soldatov > Assignee: Sergey Soldatov > Attachments: PHOENIX-2845-1.patch, PHOENIX-2845-2.patch, > PHOENIX-2845-3.patch, PHOENIX-2845-3.patch, PHOENIX-2845-4.patch > > > Phoenix strips nanos in Timestamp. Simple test case: > {noformat} > create table x (id bigint primary key, t timestamp); > upsert into x values (1, TIMESTAMP'2015-01-01 00:00:00.123456'); > upsert into x values (2, TIMESTAMP'2015-01-01 00:00:00.123457'); > upsert into x values (3, TIMESTAMP'2015-01-01 00:00:00.123999'); > {noformat} > HBase scan: > {noformat} > hbase(main):007:0> scan 'X' > ROW COLUMN+CELL > \x80\x00\x00\x00\x00\x00\x00\x01 column=0:T, timestamp=1460646668779, > value=\x80\x00\x01J\xA2\xCA\xB0{\x00\x00\x00\x00 > \x80\x00\x00\x00\x00\x00\x00\x02 column=0:T, timestamp=1460646673369, > value=\x80\x00\x01J\xA2\xCA\xB0{\x00\x00\x00\x00 > \x80\x00\x00\x00\x00\x00\x00\x03 column=0:T, timestamp=1460646680294, > value=\x80\x00\x01J\xA2\xCA\xB0{\x00\x00\x00\x00 > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)