Skip to content

Commit

Permalink
[Improve] update sql-udf document (#5197)
Browse files Browse the repository at this point in the history
  • Loading branch information
liunaijie authored Aug 26, 2023
1 parent cb7b794 commit 94c6e3e
Showing 1 changed file with 22 additions and 7 deletions.
29 changes: 22 additions & 7 deletions docs/en/transform-v2/sql-udf.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,31 @@ public interface ZetaUDF {

## UDF Implements Example

Add the dependency of transform-v2 and provided scope to your maven project:
Add these dependencies and provided scope to your maven project:

```xml

<dependency>
<groupId>org.apache.seatunnel</groupId>
<artifactId>seatunnel-transforms-v2</artifactId>
<version>2.3.x</version>
<scope>provided</scope>
</dependency>
<dependencies>
<dependency>
<groupId>org.apache.seatunnel</groupId>
<artifactId>seatunnel-transforms-v2</artifactId>
<version>2.3.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.seatunnel</groupId>
<artifactId>seatunnel-api</artifactId>
<version>2.3.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.auto.service</groupId>
<artifactId>auto-service</artifactId>
<version>1.0.1</version>
<scope>provided</scope>
</dependency>
</dependencies>

```

Add a Java Class implements of ZetaUDF like this:
Expand Down

0 comments on commit 94c6e3e

Please sign in to comment.