Mike Dusenberry created SYSTEMML-654: ----------------------------------------
Summary: DML Functions Should Override Builtin Functions Key: SYSTEMML-654 URL: https://issues.apache.org/jira/browse/SYSTEMML-654 Project: SystemML Issue Type: Sub-task Reporter: Mike Dusenberry Currently, if a user defines a DML-bodied function that has the same name as a builtin function, an error will be returned. This occurs both if the function is defined in the same file as it is being called (which could look like a builtin function call, although the user does not wish it to be), or if the function is defined in a separate file and called with a namespace notation. As we grow the language with an increasing number of builtin functions, this is not the desired behavior. Instead, any DML functions should override any builtin functions. Example 1: {code} min = function(int i) { print("hi" + i) } tmp = min(1) # fail! {code} Example 2: {code} # util.dml min = function(int i) { print("hi" + i) } {code} {code} source("util.dml") as util tmp = util::min(1) # fail! {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)