You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fluss.apache.org by "Prajwal-banakar (via GitHub)" <gi...@apache.org> on 2026/05/28 18:17:42 UTC
[PR] [FIP-37] Add bitmap aggregate functions: rb_build_agg, rb_or_agg, rb_and_agg and register via FlussCatalog [fluss]
Prajwal-banakar opened a new pull request, #3398:
URL: https://github.com/apache/fluss/pull/3398
<!--
*Thank you very much for contributing to Fluss - we are happy that you want to help us improve Fluss. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.*
## Contribution Checklist
- Make sure that the pull request corresponds to a [GitHub issue](https://github.com/apache/fluss/issues). Exceptions are made for typos in JavaDoc or documentation files, which need no issue.
- Name the pull request in the format "[component] Title of the pull request", where *[component]* should be replaced by the name of the component being changed. Typically, this corresponds to the component label assigned to the issue (e.g., [kv], [log], [client], [flink]). Skip *[component]* if you are unsure about which is the best component.
- Fill out the template below to describe the changes contributed by the pull request. That will give reviewers the context they need to do the review.
- Make sure that the change passes the automated tests, i.e., `mvn clean verify` passes.
- Each pull request should address only one issue, not mix up code from multiple issues.
- **Generative AI disclosure:** Indicate whether generative AI tools were used in authoring this PR. If yes, specify the tool below.
- [ ] No generative AI tools used
- [ ] Yes (please specify the tool below)
**(The sections below can be removed for hotfixes or typos)**
-->
<!--
Generated-by: [Tool Name and Version] following [the guidelines](https://github.com/apache/fluss/blob/main/AGENTS.md)
-->
### Purpose
<!-- Linking this pull request to the issue -->
Linked issue: Part of #3289
This PR adds the three Phase 1 bitmap aggregate functions and registers them as built-in catalog functions in FlussCatalog, building on the infrastructure from PR #3319
After `USE CATALOG fluss_catalog`, users can call these functions directly in Flink SQL without any `CREATE TEMPORARY FUNCTION` statement.
<!-- What is the purpose of the change -->
### Brief change log
<!-- Please describe the changes made in this pull request and explain how they address the issue -->
**New files in `fluss-flink/fluss-flink-common`:**
- `RbBuildAggFunction.java` — `rb_build_agg(INT) -> BYTES`. Aggregates a stream of 32-bit integers into a serialized RoaringBitmap. Extends `AbstractRbAggFunction` from PR #3319.
- `RbOrAggFunction.java` — `rb_or_agg(BYTES) -> BYTES`. Unions multiple serialized RoaringBitmaps via bitwise OR across rows. Extends `AbstractRbAggFunction`.
- `RbAndAggFunction.java` — `rb_and_agg(BYTES) -> BYTES`. Intersects multiple serialized RoaringBitmaps via bitwise AND across rows. Unlike the OR/build variants, AND requires a custom `Accumulator` POJO with an `initialized` flag because an empty bitmap cannot serve as a "not yet initialized" sentinel — once the AND result becomes empty, it must remain empty. The inner `AccumulatorSerializer` follows the same pattern as `RoaringBitmapSerializer`.
**Modified file: `FlinkCatalog.java`**
Overrides `listFunctions()`, `functionExists()`, and `getFunction()` to serve the three aggregate functions as built-in catalog functions via a static `BUILTIN_BITMAP_FUNCTIONS` map using `CatalogFunctionImpl` from `flink-table-api-java`.
**Test file: `RbAggFunctionsTest.java`**
Unit tests covering:
- `rb_build_agg`: basic accumulation, null handling, duplicate deduplication, merge, retract throws
- `rb_or_agg`: union correctness, null/empty input handling, merge
- `rb_and_agg`: intersection correctness, null inputs ignored, empty intersection returns null, merge, reset, Accumulator serializer round-trip
**Catalog registration verified in `FlinkCatalogTest.testBitmapFunctionsRegistered`**
Note: `AccumulatorSerializer` in `RbAndAggFunction` uses `TypeSerializerSingleton`, which is deprecated in Flink 1.20 but is the same approach used in `RoaringBitmapSerializer` (PR #3319, reviewed and approved). This will be revisited when upgrading to Flink 2.x.
The scalar functions (rb_cardinality, rb_build, rb_contains, rb_to_array, rb_or, rb_and) will follow in the next PR.
### Tests
<!-- List UT and IT cases to verify this change -->
Unit tests: `RbAggFunctionsTest` — 14 tests, all passing.
Catalog integration: `FlinkCatalogTest.testBitmapFunctionsRegistered` and `testViewsAndFunctions` — verified against a live Fluss cluster.
Verified locally:
- `./mvnw spotless:apply` — 0 violations
- `./mvnw test -pl fluss-flink/fluss-flink-common -Dtest="BitmapUtilsTest,RbAggFunctionsTest,RoaringBitmapSerializerTest,AbstractRbAggFunctionITCase,FlinkCatalogTest"` — BUILD SUCCESS
Full test run: Tests run: 68, Failures: 0, Errors: 0, Skipped: 0
### API and Format
<!-- Does this change affect API or storage format -->
This change does not affect any storage format or wire protocol. The functions operate on existing `BYTES` columns using the standard RoaringBitmap serialization format already used by the server-side `FieldRoaringBitmap32Agg`.
### Documentation
<!-- Does this change introduce a new feature -->
No user-facing documentation yet. Documentation will be added after the scalar functions are implemented and the full Phase 1 function set is available.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [FIP-37] Add bitmap aggregate functions: rb_build_agg, rb_or_agg, rb_and_agg and register via FlussCatalog [fluss]
Posted by "polyzos (via GitHub)" <gi...@apache.org>.
polyzos commented on PR #3398:
URL: https://github.com/apache/fluss/pull/3398#issuecomment-4649496770
@Prajwal-banakar I pushed some small improvements.. Let me know your thoughts and i can merge once CI passes.
Kudos again and thank you for the great work!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [FIP-37] Add bitmap aggregate functions: rb_build_agg, rb_or_agg, rb_and_agg and register via FlussCatalog [fluss]
Posted by "polyzos (via GitHub)" <gi...@apache.org>.
polyzos commented on code in PR #3398:
URL: https://github.com/apache/fluss/pull/3398#discussion_r3361072622
##########
fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/catalog/FlinkCatalog.java:
##########
@@ -746,19 +760,24 @@ public void alterPartition(
}
@Override
- public List<String> listFunctions(String s) throws DatabaseNotExistException, CatalogException {
- return Collections.emptyList();
+ public List<String> listFunctions(String dbName)
+ throws DatabaseNotExistException, CatalogException {
+ return new ArrayList<>(BUILTIN_BITMAP_FUNCTIONS.keySet());
}
@Override
- public CatalogFunction getFunction(ObjectPath functionPath)
- throws FunctionNotExistException, CatalogException {
- throw new FunctionNotExistException(getName(), functionPath);
+ public boolean functionExists(ObjectPath objectPath) throws CatalogException {
+ return BUILTIN_BITMAP_FUNCTIONS.containsKey(objectPath.getObjectName().toLowerCase());
}
@Override
- public boolean functionExists(ObjectPath objectPath) throws CatalogException {
- return false;
+ public CatalogFunction getFunction(ObjectPath functionPath)
+ throws FunctionNotExistException, CatalogException {
+ String className = BUILTIN_BITMAP_FUNCTIONS.get(functionPath.getObjectName().toLowerCase());
Review Comment:
uses the default locale.. `maybe use toLowerCase(Locale.ROOT)`?
##########
fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/functions/bitmap/RbAndAggFunction.java:
##########
@@ -0,0 +1,305 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.fluss.flink.functions.bitmap;
+
+import org.apache.fluss.exception.FlussRuntimeException;
+
+import org.apache.flink.api.common.ExecutionConfig;
+import org.apache.flink.api.common.typeinfo.TypeInformation;
+import org.apache.flink.api.common.typeutils.SimpleTypeSerializerSnapshot;
+import org.apache.flink.api.common.typeutils.TypeSerializer;
+import org.apache.flink.api.common.typeutils.TypeSerializerSnapshot;
+import org.apache.flink.api.common.typeutils.base.TypeSerializerSingleton;
+import org.apache.flink.core.memory.DataInputView;
+import org.apache.flink.core.memory.DataOutputView;
+import org.apache.flink.table.annotation.DataTypeHint;
+import org.apache.flink.table.annotation.FunctionHint;
+import org.apache.flink.table.functions.AggregateFunction;
+import org.roaringbitmap.RoaringBitmap;
+
+import javax.annotation.Nullable;
+import javax.annotation.concurrent.ThreadSafe;
+
+import java.io.IOException;
+import java.util.Objects;
+
+/**
+ * {@code rb_and_agg(bitmap BYTES) -> BYTES}
+ *
+ * <p>Intersects multiple serialized {@link RoaringBitmap} values using bitwise AND across rows.
+ *
+ * <p>Unlike {@link RbOrAggFunction}, this function requires a custom {@link Accumulator} that
+ * carries an {@code initialized} flag alongside the bitmap. This is necessary because an empty
+ * bitmap cannot be used as a sentinel for "no input received yet": once the AND result becomes the
+ * empty set, it must stay empty even if further inputs arrive, whereas a truly uninitialized
+ * accumulator must be seeded with the first input via OR before AND can proceed.
+ *
+ * <p>Note: there is no server-side {@code FieldRoaringBitmapAndAgg} counterpart. This function
+ * executes entirely in Flink. Users should be aware that combining it with {@code
+ * table.merge-engine=aggregation} may produce unexpected results during server-side compaction.
+ *
+ * <p>Returns {@code null} when all inputs are null or the input set is empty.
+ */
+@FunctionHint(
+ accumulator = @DataTypeHint(value = "RAW", bridgedTo = RbAndAggFunction.Accumulator.class))
+public class RbAndAggFunction extends AggregateFunction<byte[], RbAndAggFunction.Accumulator> {
Review Comment:
RbAndAggFunction has no retract; the other two throw a clear UnsupportedOperationException. In a non-append-only GROUP BY, Flink will fail with a less obvious message. Consider adding an explicit throwing retract for symmetry and clearer errors.
##########
fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/catalog/FlinkCatalog.java:
##########
@@ -134,6 +136,18 @@ public class FlinkCatalog extends AbstractCatalog {
protected Connection connection;
protected Admin admin;
+ private static final Map<String, String> BUILTIN_BITMAP_FUNCTIONS;
Review Comment:
could be wrapped in `Collections.unmodifiableMap` for safety.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [FIP-37] Add bitmap aggregate functions: rb_build_agg, rb_or_agg, rb_and_agg and register via FlussCatalog [fluss]
Posted by "Prajwal-banakar (via GitHub)" <gi...@apache.org>.
Prajwal-banakar commented on PR #3398:
URL: https://github.com/apache/fluss/pull/3398#issuecomment-4641531886
Hi @polyzos Thanks for review and rememberring this RbFunctionsCatalogITCase as important! initially i plan to add all the phase 1 functions and add `RbFunctionsCatalogITCase` howevever,
1) Added RbFunctionsCatalogITCase with four tests exercising all three functions through the catalog registration path using a real TableEnvironment. Happy to extend this further.
2) On the registration design question: I will wait for @platinumhamburg and @wuchong input on this before making changes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [FIP-37] Add bitmap aggregate functions: rb_build_agg, rb_or_agg, rb_and_agg and register via FlussCatalog [fluss]
Posted by "platinumhamburg (via GitHub)" <gi...@apache.org>.
platinumhamburg commented on PR #3398:
URL: https://github.com/apache/fluss/pull/3398#issuecomment-4646253496
> polyzos
Thanks to @Prajwal-banakar for the contribution and to polyzos for the thorough review. Regarding the built-in registration issue, I agree with polyzos’s view: given that we do not expect a large number of new functions to be added in the foreseeable future, and since these functions do not require authentication or categorized management, the current implementation is acceptable.
> Hi @polyzos Thanks for review and rememberring this RbFunctionsCatalogITCase as important! initially i plan to add all the phase 1 functions and after that add `RbFunctionsCatalogITCase` howevever,
>
> 1. Added RbFunctionsCatalogITCase with four tests exercising all three functions through the catalog registration path using a real TableEnvironment. Happy to extend this further.
> 2. On the registration design question: I will wait for @platinumhamburg and @wuchong input on this before making changes.
Thanks to @Prajwal-banakar for the contribution and to @polyzos for the thorough review. Regarding the built-in registration issue, I agree with @polyzos’s view: given that we do not expect a large number of new functions to be added in the foreseeable future, and since these functions do not require authentication or categorized management, the current implementation is acceptable.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [FIP-37] Add bitmap aggregate functions: rb_build_agg, rb_or_agg, rb_and_agg and register via FlussCatalog [fluss]
Posted by "Prajwal-banakar (via GitHub)" <gi...@apache.org>.
Prajwal-banakar commented on PR #3398:
URL: https://github.com/apache/fluss/pull/3398#issuecomment-4650760915
Thanks @polyzos, it looks good to me and I’m happy with the change. It’s been a great learning experience for me, and I’m really grateful to have your guidance!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [FIP-37] Add bitmap aggregate functions: rb_build_agg, rb_or_agg, rb_and_agg and register via FlussCatalog [fluss]
Posted by "Prajwal-banakar (via GitHub)" <gi...@apache.org>.
Prajwal-banakar commented on PR #3398:
URL: https://github.com/apache/fluss/pull/3398#issuecomment-4572239451
Hi @polyzos @wuchong could you please help review this?
The failure in CI appears to come from a forked JVM crash in fluss-server (pure virtual method called / SurefireBooterForkException) during unrelated server tests, not from the bitmap aggregation changes in this PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [FIP-37] Add bitmap aggregate functions: rb_build_agg, rb_or_agg, rb_and_agg and register via FlussCatalog [fluss]
Posted by "polyzos (via GitHub)" <gi...@apache.org>.
polyzos commented on PR #3398:
URL: https://github.com/apache/fluss/pull/3398#issuecomment-4629197893
Thanks for the clean, well-documented PR @Prajwal-banakar.
The code is in good shape and the rationale comments make it easy to follow.
I have a few suggestions before this is ready to merge, mostly one important test gap and one design question.
### 1. Add an end-to-end SQL ITCase (most important)
The current tests call `accumulate()`/`getValue()` directly, which bypasses the Flink planner. The riskiest part of this feature is the `@FunctionHint(accumulator = @DataTypeHint("RAW"))` type inference and the custom accumulator serializer flowing through real codegen, **plus** the new catalog registration resolving the function isn't exercised yet. RAW-accumulator UDFs commonly pass unit tests but break at planner time. Could we add an ITCase (the existing `AbstractRbAggFunctionITCase` from #3319 is a natural home) that runs something like:
```sql
USE CATALOG fluss_catalog;
SELECT rb_build_agg(id), rb_or_agg(b), rb_and_agg(b) FROM t GROUP BY k;
```
through a `TableEnvironment`? That would directly validate the "register via FlussCatalog" claim in the PR title.
### 2. Built-in registrationion
I think hardcoding a `name -> className` map inside the general-purpose `FlinkCatalog` means the functions get reported under *every* database via `listFunctions(dbName)`. Since we only have these functions i think its safe and this list won't keep growing, however I would like more people's thoughts just in case.. @platinumhamburg @wuchong WDYT?
I left a few more minor comments/
Once the end-to-end ITCase is added (1) and we align on the registration approach (2), this should be a quick approve. Thanks again!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [FIP-37] Add bitmap aggregate functions: rb_build_agg, rb_or_agg, rb_and_agg and register via FlussCatalog [fluss]
Posted by "Prajwal-banakar (via GitHub)" <gi...@apache.org>.
Prajwal-banakar commented on code in PR #3398:
URL: https://github.com/apache/fluss/pull/3398#discussion_r3368797547
##########
fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/functions/bitmap/RbAndAggFunction.java:
##########
@@ -0,0 +1,305 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.fluss.flink.functions.bitmap;
+
+import org.apache.fluss.exception.FlussRuntimeException;
+
+import org.apache.flink.api.common.ExecutionConfig;
+import org.apache.flink.api.common.typeinfo.TypeInformation;
+import org.apache.flink.api.common.typeutils.SimpleTypeSerializerSnapshot;
+import org.apache.flink.api.common.typeutils.TypeSerializer;
+import org.apache.flink.api.common.typeutils.TypeSerializerSnapshot;
+import org.apache.flink.api.common.typeutils.base.TypeSerializerSingleton;
+import org.apache.flink.core.memory.DataInputView;
+import org.apache.flink.core.memory.DataOutputView;
+import org.apache.flink.table.annotation.DataTypeHint;
+import org.apache.flink.table.annotation.FunctionHint;
+import org.apache.flink.table.functions.AggregateFunction;
+import org.roaringbitmap.RoaringBitmap;
+
+import javax.annotation.Nullable;
+import javax.annotation.concurrent.ThreadSafe;
+
+import java.io.IOException;
+import java.util.Objects;
+
+/**
+ * {@code rb_and_agg(bitmap BYTES) -> BYTES}
+ *
+ * <p>Intersects multiple serialized {@link RoaringBitmap} values using bitwise AND across rows.
+ *
+ * <p>Unlike {@link RbOrAggFunction}, this function requires a custom {@link Accumulator} that
+ * carries an {@code initialized} flag alongside the bitmap. This is necessary because an empty
+ * bitmap cannot be used as a sentinel for "no input received yet": once the AND result becomes the
+ * empty set, it must stay empty even if further inputs arrive, whereas a truly uninitialized
+ * accumulator must be seeded with the first input via OR before AND can proceed.
+ *
+ * <p>Note: there is no server-side {@code FieldRoaringBitmapAndAgg} counterpart. This function
+ * executes entirely in Flink. Users should be aware that combining it with {@code
+ * table.merge-engine=aggregation} may produce unexpected results during server-side compaction.
+ *
+ * <p>Returns {@code null} when all inputs are null or the input set is empty.
+ */
+@FunctionHint(
+ accumulator = @DataTypeHint(value = "RAW", bridgedTo = RbAndAggFunction.Accumulator.class))
+public class RbAndAggFunction extends AggregateFunction<byte[], RbAndAggFunction.Accumulator> {
Review Comment:
Added explicit retract() throwing UnsupportedOperationException for symmetry
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [FIP-37] Add bitmap aggregate functions: rb_build_agg, rb_or_agg, rb_and_agg and register via FlussCatalog [fluss]
Posted by "Prajwal-banakar (via GitHub)" <gi...@apache.org>.
Prajwal-banakar commented on code in PR #3398:
URL: https://github.com/apache/fluss/pull/3398#discussion_r3368797068
##########
fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/catalog/FlinkCatalog.java:
##########
@@ -746,19 +760,24 @@ public void alterPartition(
}
@Override
- public List<String> listFunctions(String s) throws DatabaseNotExistException, CatalogException {
- return Collections.emptyList();
+ public List<String> listFunctions(String dbName)
+ throws DatabaseNotExistException, CatalogException {
+ return new ArrayList<>(BUILTIN_BITMAP_FUNCTIONS.keySet());
}
@Override
- public CatalogFunction getFunction(ObjectPath functionPath)
- throws FunctionNotExistException, CatalogException {
- throw new FunctionNotExistException(getName(), functionPath);
+ public boolean functionExists(ObjectPath objectPath) throws CatalogException {
+ return BUILTIN_BITMAP_FUNCTIONS.containsKey(objectPath.getObjectName().toLowerCase());
}
@Override
- public boolean functionExists(ObjectPath objectPath) throws CatalogException {
- return false;
+ public CatalogFunction getFunction(ObjectPath functionPath)
+ throws FunctionNotExistException, CatalogException {
+ String className = BUILTIN_BITMAP_FUNCTIONS.get(functionPath.getObjectName().toLowerCase());
Review Comment:
Done, using Locale.ROOT
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [FIP-37] Add bitmap aggregate functions: rb_build_agg, rb_or_agg, rb_and_agg and register via FlussCatalog [fluss]
Posted by "Prajwal-banakar (via GitHub)" <gi...@apache.org>.
Prajwal-banakar commented on code in PR #3398:
URL: https://github.com/apache/fluss/pull/3398#discussion_r3368797876
##########
fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/catalog/FlinkCatalog.java:
##########
@@ -134,6 +136,18 @@ public class FlinkCatalog extends AbstractCatalog {
protected Connection connection;
protected Admin admin;
+ private static final Map<String, String> BUILTIN_BITMAP_FUNCTIONS;
Review Comment:
Wrapped in Collections.unmodifiableMap
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [FIP-37] Add bitmap aggregate functions: rb_build_agg, rb_or_agg, rb_and_agg and register via FlussCatalog [fluss]
Posted by "polyzos (via GitHub)" <gi...@apache.org>.
polyzos merged PR #3398:
URL: https://github.com/apache/fluss/pull/3398
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org