Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

DBD::SQLite: implement REGEXP for PerlOnJava

Chiusa
#1,400 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
perl, sqlite
Ambito
databases

Direzione di ricerca

Inizia con il percorso PerlOnJava DBI/SQLite e il livello di compatibilità SQLite incluso, quindi esegui la regressione mirata tramite PerlOnJava DBI usando la validazione del Perl di sistema. Il lavoro è completato quando il comportamento compatibile di REGEXP è registrato, la regressione passa sui backend JVM e dell’interprete e Locale::Unicode::Data v1.9.0 supera i test che usano REGEXP, mentre i fallimenti Unicode rimangono sotto l’issue #1374.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

Summary

The bundled PerlOnJava SQLite compatibility layer does not provide the SQLite REGEXP function expected by Locale::Unicode::Data v1.9.0.

Reproduction

CPAN random tester run: 20260916-111623-23683

Distribution: Locale::Unicode::Data v1.9.0

The upstream test suite exercises queries such as:

field REGEXP(?)

Under PerlOnJava, these queries fail with:

DBI prepare failed: no such function: REGEXP

The failure is observed in the collations and unit_aliases paths, and also prevents the related timezone-format query from completing.

Expected result

The unchanged upstream suite passes under system Perl: 11 test files and 741 tests successful.

Actual result

PerlOnJava reports 17 failed subtests out of 741. The failures include the separate Unicode mojibake problem already tracked in issue #1374; this issue is specifically for the missing SQLite REGEXP function.

The failure reproduces through the PerlOnJava DBI/SQLite path and is independent of an external database service.

Impact

DBD::SQLite has 588 unique released CPAN distributions with runtime dependencies, including 118 released within the last three years. Representative recent dependants include DBIx-Lite, Database-Join, Finance-Tiller2QIF, HTTP-Cookies-Chrome, and Punk-Queue.

Acceptance criteria

  • Add a focused, system-Perl-validated regression for a SQLite REGEXP query through PerlOnJava DBI.
  • Implement or register compatible REGEXP behavior in the bundled SQLite layer.
  • Verify Locale::Unicode::Data v1.9.0 passes its REGEXP-using tests on both JVM and interpreter backends.
  • Keep Unicode decoding failures tracked separately under issue #1374.
Lingua principale
Perl
Stelle
64
Fork
6
Merge medio
4h 34m
PR unite (30g)
181

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di fglock/PerlOnJava

Tutte le issue di fglock/PerlOnJava

Issue simili

Altre issue su Perl

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.