4paradigm / 4paradigm/OpenMLDB

CREATE FUNCTION: test not covered for `CREATE FUNCTION ... OPTIONS (FILE = 'libxxx.so')`

Đang mở Phù hợp với người mới
#3,375 1 bình luận 0 reaction 1 người được giao Được @aceforeverd nhận Xem trên GitHub
bug test
Ngôn ngữ chính
C++
Star
1.7k
Fork
331
Merge trung bình
12 ngày 12 giờ
Pull request đã merge (30 ngày)
1

Mô tả

Current UTs for **CREATE FUNCTION** only covered `FILE = `, while the production advised usage: `FILE = ` is not covered, neither for online or offline.

Tests should covered for the case: `FILE = `, where `` do not contains any slash(`/`) character, is able to register the external function whose shared library located in `/../udf` or `/../udf`

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Look for existing unit tests for CREATE FUNCTION, likely in test files related to SQL or UDFs. The issue is about adding test coverage for the `FILE = 'libxxx.so'` syntax without slashes. Find where the UDF loading logic resolves filenames to paths in tablet_bin_dir/../udf or taskmanager_bin_dir/../udf. Write a test that creates a function with a simple filename and verifies it registers correctly.

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

Đánh giá

Công nghệ
sql
Lĩnh vực
databases, testing
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
65/100

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.