[ https://issues.apache.org/jira/browse/HIVE-16756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16024229#comment-16024229 ]
Matt McCline commented on HIVE-16756: ------------------------------------- [~gopalv] [~teddy.choi] Ok, you guys. The vectorized templates that generate the division class work for double because when you divide a double by 0 it sets the result to NaN. But for long since there is no NaN integer value it throws an exception. So, I need to create a different template for the long type that checks for a 0 denominator and doesn't perform the integer division by 0. > Vectorization: LongColModuloLongColumn throws "java.lang.ArithmeticException: > / by zero" > ---------------------------------------------------------------------------------------- > > Key: HIVE-16756 > URL: https://issues.apache.org/jira/browse/HIVE-16756 > Project: Hive > Issue Type: Bug > Components: Hive > Reporter: Matt McCline > Assignee: Matt McCline > Priority: Critical > > vectorization_div0.q needs to test the long data type testing. -- This message was sent by Atlassian JIRA (v6.3.15#6346)