4paradigm / 4paradigm/OpenMLDB
CREATE FUNCTION: test not covered for `CREATE FUNCTION ... OPTIONS (FILE = 'libxxx.so')`
- Lingua principale
- C++
- Stelle
- 1.7k
- Fork
- 331
- Merge medio
- 12g 12h
- PR unite (30g)
- 1
Descrizione
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`
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- sql
- Ambito
- databases, testing
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 65/100