Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

DBD::SQLite: implement REGEXP for PerlOnJava

Đang mở
#1,400 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
52/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
perl, sqlite
Lĩnh vực
databases

Hướng nghiên cứu

Bắt đầu với đường dẫn PerlOnJava DBI/SQLite và lớp tương thích SQLite đi kèm, sau đó chạy hồi quy tập trung thông qua PerlOnJava DBI bằng cách sử dụng việc xác thực Perl hệ thống. Được xem là hoàn tất khi hành vi REGEXP tương thích đã được đăng ký, hồi quy vượt qua trên các backend JVM và trình thông dịch, và Locale::Unicode::Data v1.9.0 vượt qua các bài kiểm thử sử dụng REGEXP, trong khi các lỗi Unicode vẫn nằm trong issue #1374.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Perl
Star
64
Fork
6
Merge trung bình
5 giờ 33 phút
Pull request đã merge (30 ngày)
170

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của fglock/PerlOnJava

Tất cả issue của fglock/PerlOnJava

Issue tương tự

Thêm issue về Perl

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.