lance-format/lance

Support `regexp_match` for `LargeUtf8`

Open

#904 aberto em 25 de mai. de 2023

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (695 forks)github user discovery
A-pythongood first issuehelp wantedrust

Métricas do repositório

Stars
 (6.582 stars)
Métricas de merge de PR
 (Mesclagem média 6d 1h) (219 fundiu PRs em 30d)

Description

#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.

Guia do colaborador