-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move the udf-examples module to the external repository spark-rapids-examples [databricks] #4619
Changes from 8 commits
f9bdb79
5f62edf
d55a021
b689fde
f2dfb6d
675983f
c345ec8
21d7083
d80f7d9
0690bdc
0d73f94
cee16a3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -134,44 +134,10 @@ type `DECIMAL64(scale=-2)`. | |
|
||
## RAPIDS Accelerated UDF Examples | ||
|
||
Source code for examples of RAPIDS accelerated Hive UDFs is provided | ||
in the [udf-examples](../../udf-examples) project. | ||
|
||
### Spark Scala UDF Examples | ||
|
||
- [URLDecode](../../udf-examples/src/main/scala/com/nvidia/spark/rapids/udf/scala/URLDecode.scala) | ||
decodes URL-encoded strings using the | ||
[Java APIs of RAPIDS cudf](https://docs.rapids.ai/api/cudf-java/stable) | ||
- [URLEncode](../../udf-examples/src/main/scala/com/nvidia/spark/rapids/udf/scala/URLEncode.scala) | ||
URL-encodes strings using the | ||
[Java APIs of RAPIDS cudf](https://docs.rapids.ai/api/cudf-java/stable) | ||
|
||
### Spark Java UDF Examples | ||
|
||
- [URLDecode](../../udf-examples/src/main/java/com/nvidia/spark/rapids/udf/java/URLDecode.java) | ||
decodes URL-encoded strings using the | ||
[Java APIs of RAPIDS cudf](https://docs.rapids.ai/api/cudf-java/stable) | ||
- [URLEncode](../../udf-examples/src/main/java/com/nvidia/spark/rapids/udf/java/URLEncode.java) | ||
URL-encodes strings using the | ||
[Java APIs of RAPIDS cudf](https://docs.rapids.ai/api/cudf-java/stable) | ||
- [CosineSimilarity](../../udf-examples/src/main/java/com/nvidia/spark/rapids/udf/java/CosineSimilarity.java) | ||
computes the [cosine similarity](https://en.wikipedia.org/wiki/Cosine_similarity) | ||
between two float vectors using [native code](../../udf-examples/src/main/cpp/src) | ||
|
||
### Hive UDF Examples | ||
|
||
- [URLDecode](../../udf-examples/src/main/java/com/nvidia/spark/rapids/udf/hive/URLDecode.java) | ||
implements a Hive simple UDF using the | ||
[Java APIs of RAPIDS cudf](https://docs.rapids.ai/api/cudf-java/stable) | ||
to decode URL-encoded strings | ||
- [URLEncode](../../udf-examples/src/main/java/com/nvidia/spark/rapids/udf/hive/URLEncode.java) | ||
implements a Hive generic UDF using the | ||
[Java APIs of RAPIDS cudf](https://docs.rapids.ai/api/cudf-java/stable) | ||
to URL-encode strings | ||
- [StringWordCount](../../udf-examples/src/main/java/com/nvidia/spark/rapids/udf/hive/StringWordCount.java) | ||
implements a Hive simple UDF using | ||
[native code](../../udf-examples/src/main/cpp/src) to count words in strings | ||
Source code for examples of RAPIDS accelerated UDFs is provided | ||
|
||
<!-- Note: should update the branch name to tag when releasing--> | ||
in the [udf-examples](https://github.com/NVIDIA/spark-rapids-examples/tree/branch-22.04/examples/Spark-Rapids/udf-examples) project. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's unfortunate there isn't a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure, we can create a main branch for the latest release version. |
||
|
||
## GPU Support for Pandas UDF | ||
|
||
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The extra whitespace ends up disconnecting this sentence when it's rendered.