[ https://issues.apache.org/jira/browse/HIVE-5581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13821590#comment-13821590 ]
Brock Noland commented on HIVE-5581: ------------------------------------ Should we really be catching Exception below (and other places) or should we only be catching ParseException? {noformat} + try { + outV.vector[i] = getField(inputCol.vector[i], inputCol.start[i], inputCol.length[i]); + outV.isNull[i] = false; + } catch (Exception e) { + outV.noNulls = false; + outV.isNull[i] = true; + } {noformat} > Implement vectorized year/month/day... etc. for string arguments > ---------------------------------------------------------------- > > Key: HIVE-5581 > URL: https://issues.apache.org/jira/browse/HIVE-5581 > Project: Hive > Issue Type: Sub-task > Components: Query Processor > Affects Versions: 0.13.0 > Reporter: Eric Hanson > Assignee: Teddy Choi > Attachments: HIVE-5581.1.patch.txt, HIVE-5581.2.patch, > HIVE-5581.3.patch, HIVE-5581.4.patch > > > Functions year(), month(), day(), weekofyear(), hour(), minute(), second() > need to be implemented for string arguments in vectorized mode. > They already work for timestamp arguments. -- This message was sent by Atlassian JIRA (v6.1#6144)