@Override public long hash(Block block, int position) { return hash(block.getByte(position, 0)); }
@ScalarOperator(HASH_CODE) @SqlType(StandardTypes.BIGINT) public static long hashCode(@SqlType(StandardTypes.TINYINT) long value) { return TinyintType.hash((byte) value); }
@ScalarOperator(HASH_CODE) @SqlType(StandardTypes.BIGINT) public static long hashCode(@SqlType(StandardTypes.TINYINT) long value) { return TinyintType.hash((byte) value); }