Skip to content

Commit

Permalink
[DOCS] Fix typo in documentation for Java UDF registration
Browse files Browse the repository at this point in the history
This contribution is my original work and I license the work to the project under the project's open source license

Author: Matt Wise <[email protected]>

Closes apache#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
  • Loading branch information
wisematthew authored and rxin committed May 28, 2015
1 parent bd11b01 commit 3541061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sql-programming-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 3541061

Please sign in to comment.