You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2022/10/19 00:13:00 UTC
[jira] [Commented] (ARROW-18090) Dictionary Style array for Keywords or Tags
[ https://issues.apache.org/jira/browse/ARROW-18090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17619896#comment-17619896 ]
David Li commented on ARROW-18090:
----------------------------------
I might be missing something, but would {{List<Dictionary<Int32, Utf8>>}} work?
> Dictionary Style array for Keywords or Tags
> --------------------------------------------
>
> Key: ARROW-18090
> URL: https://issues.apache.org/jira/browse/ARROW-18090
> Project: Apache Arrow
> Issue Type: New Feature
> Reporter: Sven Cattell
> Priority: Major
>
> I want to efficiently encode lists of tags for each element in my database. In my case I have 30 tags, and a few are assigned to each of my ~20m records. Here's a simplified example of 5 records:
> * pe, keylogger, cryptojack
> * pe, packed
> * pe, cryptojack, c2
> * pe, keylogger, c2
> * pe
> Right now I have to store these in a List<Utf8> and have huge amounts of duplicate data. The dictionary array looks almost perfect for this task. I just want to allow for a List<T> instead of just T for the allowed primitive index type in a dictionary.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)