Skip to content
Snippets Groups Projects
Commit 35410614 authored by Matt Wise's avatar Matt Wise Committed by Reynold Xin
Browse files

[DOCS] Fix typo in documentation for Java UDF registration

This contribution is my original work and I license the work to the project under the project's open source license

Author: Matt Wise <mwise@quixey.com>

Closes #6447 from wisematthew/fix-typo-in-java-udf-registration-doc and squashes the following commits:

e7ef5f7 [Matt Wise] Fix typo in documentation for Java UDF registration
parent bd11b01e
No related branches found
No related tags found
No related merge requests found
......@@ -1939,7 +1939,7 @@ sqlContext.udf.register("strLen", (s: String) => s.length())
<div data-lang="java" markdown="1">
{% highlight java %}
sqlContext.udf().register("strLen", (String s) -> { s.length(); });
sqlContext.udf().register("strLen", (String s) -> s.length(), DataTypes.IntegerType);
{% endhighlight %}
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment