[ https://issues.apache.org/jira/browse/HIVE-22405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16980726#comment-16980726 ]
Hive QA commented on HIVE-22405: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12986563/HIVE-22405.04.patch {color:green}SUCCESS:{color} +1 due to 2 test(s) being added or modified. {color:green}SUCCESS:{color} +1 due to 17717 tests passed Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/19562/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/19562/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-19562/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.YetusPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase {noformat} This message is automatically generated. ATTACHMENT ID: 12986563 - PreCommit-HIVE-Build > Add ColumnVector support for ProlepticCalendar > ---------------------------------------------- > > Key: HIVE-22405 > URL: https://issues.apache.org/jira/browse/HIVE-22405 > Project: Hive > Issue Type: Bug > Components: storage-api > Reporter: Owen O'Malley > Assignee: László Bodor > Priority: Major > Fix For: 4.0.0 > > Attachments: HIVE-22405.01.patch, HIVE-22405.02.patch, > HIVE-22405.04.patch > > > Hive recently moved its processing to the proleptic calendar, which has > created some issues for users who have dates before 1580 AD. > I'd propose extending the column vectors for times & dates to encode which > calendar they are using. > * create DateColumnVector that extends LongColumnVector > * add a method to change calendars to both DateColumnVector and > TimestampColumnVector. > {code} > /** > * Change the calendar to or from proleptic. If the new and old values of > the flag are the > * same, nothing is done. > * useProleptic - set the flag for the proleptic calendar > * updateData - change the data to match the new value of the flag. > */ > void changeCalendar(useProleptic: boolean, updateData: boolean); > /** > * Detect whether this data is using the proleptic calendar. > */ > boolean usingProlepticCalendar(); > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)