You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ya...@apache.org on 2021/09/06 03:55:21 UTC

[incubator-doris] branch master updated: [RuntimeFilter] support TYPE_STRING in runtime filter (#6573)

This is an automated email from the ASF dual-hosted git repository.

yangzhg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 1206f9a  [RuntimeFilter] support TYPE_STRING in runtime filter (#6573)
1206f9a is described below

commit 1206f9a17fffc9eef2c3ff13ed2cc09adb7b7fba
Author: stdpain <34...@users.noreply.github.com>
AuthorDate: Mon Sep 6 11:55:11 2021 +0800

    [RuntimeFilter] support TYPE_STRING in runtime filter (#6573)
---
 be/src/exprs/bloomfilter_predicate.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/be/src/exprs/bloomfilter_predicate.h b/be/src/exprs/bloomfilter_predicate.h
index 492c687..ff1bbc8 100644
--- a/be/src/exprs/bloomfilter_predicate.h
+++ b/be/src/exprs/bloomfilter_predicate.h
@@ -291,6 +291,11 @@ struct BloomFilterTypeTraits<TYPE_VARCHAR, BloomFilterAdaptor> {
     using FindOp = StringFindOp<BloomFilterAdaptor>;
 };
 
+template <class BloomFilterAdaptor>
+struct BloomFilterTypeTraits<TYPE_STRING, BloomFilterAdaptor> {
+    using FindOp = StringFindOp<BloomFilterAdaptor>;
+};
+
 template <PrimitiveType type, class BloomFilterAdaptor>
 class BloomFilterFunc final : public BloomFilterFuncBase<BloomFilterAdaptor> {
 public:

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org