Skip to content

jython udf support null#1011

Merged
allwefantasy merged 1 commit into
masterfrom
TRY
Apr 9, 2019
Merged

jython udf support null#1011
allwefantasy merged 1 commit into
masterfrom
TRY

Conversation

@allwefantasy

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

  • Finshed changes describe

How was this patch tested?

  • Testing done

Are there and DOC need to update?

  • Doc is finished

Spark Core Compatibility

set convert_data='''

def apply(self,m):
    return "data:" + str(m)
''';

load script.`convert_data` as scriptTable;

register ScriptUDF.`scriptTable` as convert_data
options lang="python" and dataType="string";

select convert_data(null) as a ,"c" as c as b;

@allwefantasy
allwefantasy merged commit bfe9d96 into master Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant