4paradigm / 4paradigm/OpenMLDB

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

オープン 初心者向け
#3,375 コメント 1 件 リアクション 0 件 担当者 1 名 @aceforeverd が担当を希望しています GitHub で見る
bug test
主要言語
C++
スター
1.7k
フォーク
331
平均マージ
12日 12時間
マージ済み PR(30日)
1

説明

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`

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
sql
領域
databases, testing
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
65/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。