You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jia Fan (Jira)" <ji...@apache.org> on 2023/05/18 02:29:00 UTC
[jira] [Commented] (SPARK-43488) bitmap function
[ https://issues.apache.org/jira/browse/SPARK-43488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17723772#comment-17723772 ]
Jia Fan commented on SPARK-43488:
---------------------------------
Hi, [~cloud_fan] If we want achieve this feature. Are we should implement new datatype like BitMap, then BitMap can use Roaringbitmap(Or just bigint) as data layer? Or we just use datatype bigint, then bitmapBuild(array[int]) will return bigint. The second way will be easiler. The fisrt way will be more flexible, we can implement different data layer for different array size, just like `Roaringbitmap`.
I want to achieve this feature, but I have some wrong about which plan should I choose.
> bitmap function
> ---------------
>
> Key: SPARK-43488
> URL: https://issues.apache.org/jira/browse/SPARK-43488
> Project: Spark
> Issue Type: New Feature
> Components: SQL
> Affects Versions: 3.4.0
> Reporter: yiku123
> Priority: Major
>
> maybe spark need to have some bitmap functions? example like bitmapBuild 、bitmapAnd、bitmapAndCardinality in clickhouse or other OLAP engine。
> This is often used in user profiling applications but i don't find in spark
>
>
> h2.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org