<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="JAVA_HOME=&quot;$(/usr/libexec/java_home -v 1.9)&quot; mvn clean package"><pre class="notranslate"><code class="notranslate">JAVA_HOME="$(/usr/libexec/java_home -v 1.9)" mvn clean package
</code></pre></div>
<p dir="auto">Results in the following:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project java-util: Compilation failure: Compilation failure: 
[ERROR] /Users/charles.allen/src/druid/java-util/src/main/java/io/druid/java/util/common/ByteBufferUtils.java:[22,16] cannot find symbol
[ERROR]   symbol:   class Cleaner
[ERROR]   location: package sun.misc
[ERROR] /Users/charles.allen/src/druid/java-util/src/main/java/io/druid/java/util/common/ByteBufferUtils.java:[57,11] cannot find symbol
[ERROR]   symbol:   class Cleaner
[ERROR]   location: class io.druid.java.util.common.ByteBufferUtils"><pre class="notranslate"><code class="notranslate">[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project java-util: Compilation failure: Compilation failure: 
[ERROR] /Users/charles.allen/src/druid/java-util/src/main/java/io/druid/java/util/common/ByteBufferUtils.java:[22,16] cannot find symbol
[ERROR]   symbol:   class Cleaner
[ERROR]   location: package sun.misc
[ERROR] /Users/charles.allen/src/druid/java-util/src/main/java/io/druid/java/util/common/ByteBufferUtils.java:[57,11] cannot find symbol
[ERROR]   symbol:   class Cleaner
[ERROR]   location: class io.druid.java.util.common.ByteBufferUtils
</code></pre></div>
<p dir="auto">Recently there have been quite a few PRs and issues opened relating to null/empty string handling.</p>
<p dir="auto">I have gathered links to these PRs/issues here, if we would like to have a wider discussion on this topic.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="143126504" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/2715" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/2715/hovercard" href="https://github.com/apache/druid/pull/2715">#2715</a> - stringFormat extractionFn should be able to return null on null values (Fix for <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="142869841" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/2706" data-hovercard-type="issue" data-hovercard-url="/apache/druid/issues/2706/hovercard" href="https://github.com/apache/druid/issues/2706">#2706</a>) <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="143126504" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/2715" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/2715/hovercard" href="https://github.com/apache/druid/pull/2715">#2715</a><br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="143550626" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/2737" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/2737/hovercard" href="https://github.com/apache/druid/pull/2737">#2737</a> - Fix predicate-based ValueMatcher behavior for IncrementalIndex on missing columns.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="144403579" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/2758" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/2758/hovercard" href="https://github.com/apache/druid/pull/2758">#2758</a> - handle null values in In Filter<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="144811681" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/2765" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/2765/hovercard" href="https://github.com/apache/druid/pull/2765">#2765</a> - Null string is encoded as "null" in incremental index<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="145289943" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/2771" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/2771/hovercard" href="https://github.com/apache/druid/pull/2771">#2771</a> - Various ExtractionFn null handling fixes.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="145307853" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/2772" data-hovercard-type="issue" data-hovercard-url="/apache/druid/issues/2772/hovercard" href="https://github.com/apache/druid/issues/2772">#2772</a> - DimensionPredicateFilter and JavaScriptFilter don't handle null columns properly<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="145310785" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/2776" data-hovercard-type="issue" data-hovercard-url="/apache/druid/issues/2776/hovercard" href="https://github.com/apache/druid/issues/2776">#2776</a> - Inconsistent null/empty str handling for multi-value/single-value dimensions in QueryableIndexStorageAdapter</p>