public void testBinaryComparison1() throws IOException, InterruptedException {
MemStreamBuilder streamBuilder = new MemStreamBuilder("s");
streamBuilder.addField(new TypedField("a", Type.getNullable(Type.TypeName.BINARY)));
streamBuilder.addField(new TypedField("b", Type.getNullable(Type.TypeName.BINARY)));
Event e = new EventImpl("abc,abc".getBytes());
streamBuilder.addEvent(e);
StreamSymbol stream = streamBuilder.build();
runFreeSelectTest(stream, "SELECT a = b AS v FROM s",
Collections.singletonList(new Pair<String, Object>(