lance-format/lance

Support `regexp_match` for `LargeUtf8`

Open

#904 创建于 2023年5月25日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Rust (695 fork)github user discovery
A-pythongood first issuehelp wantedrust

仓库指标

Star
 (6,582 star)
PR 合并指标
 (平均合并 6天 1小时) (30 天内合并 219 个 PR)

描述

#899 enabled regexp_match, but if we call with regexp_match(col, pattern) where col is of type LargeUtf8 the code panics.

a few notes:

  1. regexp_match on LargeUtf8 is probably highly inefficient, as the datasize practically doubles in memory (compare to Utf8)
  2. I'm not sure how to dispatch to arrow_cast function in datafusion expressions.

贡献者指南