Clone
Xikui Wang <xkkwww@gmail.com>
committed
on 23 Oct 17
[ISSUE PENDING][FUN] Prevent blind result write in external UDF
- user model changes: no
- storage format changes: no
- interface changes: n… Show more
[ISSUE PENDING][FUN] Prevent blind result write in external UDF

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Current the result from UDF doesn't have type check. It's possible to

write data into result frame with a different datatype. This will cause

unpredicted behavior when reading the data. Also, to keep things

simpler, when return data type is not valid, we throw exception instead

of return null.

Change-Id: Ifce4a9e882febe4529f5c53e54db78e0cfa326fe

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2082

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Steven Jacobs <sjaco002@ucr.edu>

Show less

master + 4 more