Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
HPLSQL UDF is not working if it is applied on a column of type varchar/char/decimal in a table.
For example:
CREATE TABLE result (s varchar(20)); INSERT INTO result VALUES('alice'); INSERT INTO result VALUES('bob'); CREATE FUNCTION hello(p string) RETURNS STRING BEGIN RETURN 'Hello, ' || p; END; SELECT hello(s) FROM result;
--> It should return below
+----------------+ | _c0 | +----------------+ | Hello, alice | | Hello, bob | +----------------+
But actual result is
+----------------+ | _c0 | +----------------+ | Hello, | | Hello, | +----------------+
Attachments
Issue Links
- links to