[ https://issues.apache.org/jira/browse/APEXMALHAR-2492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ananth closed APEXMALHAR-2492. ------------------------------ > Correct usage of empty Slice in Malhar Library > ---------------------------------------------- > > Key: APEXMALHAR-2492 > URL: https://issues.apache.org/jira/browse/APEXMALHAR-2492 > Project: Apache Apex Malhar > Issue Type: Bug > Reporter: Ajay Gupta > Assignee: Ajay Gupta > Priority: Minor > Fix For: 3.8.0 > > > In netlet, there are two constructors to create a Slice. > Slice(byte[] arr) > and Slice(byte[] arr, long offset, long length) > To create an empty slice, we need to pass the byte[] as null. > TimeBasedDedupOperator uses byte[0] for the same which needs to be changed. -- This message was sent by Atlassian JIRA (v6.4.14#64029)