This is an automated email from the ASF dual-hosted git repository.
dzamo pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/drill.git
The following commit(s) were added to refs/heads/gh-pages by this push:
new 3dc61d5 Update 025-tutorial-develop-a-simple-function.md (#2276)
3dc61d5 is described below
commit 3dc61d5aac84309a65e223615bed332764b50288
Author: Gaurav Gahlot <[email protected]>
AuthorDate: Sun Jul 18 10:11:58 2021 +0530
Update 025-tutorial-develop-a-simple-function.md (#2276)
Many developers use apache drill within the docker container (which is
mentioned at https://drill.apache.org/docs/running-drill-on-docker/) and it is
tough getting through the copying of jars within it as that is the most crucial
step. I faced this problem and had to google a lot on dockers.
---
.../025-tutorial-develop-a-simple-function.md | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git
a/_docs/en/develop-custom-functions/025-tutorial-develop-a-simple-function.md
b/_docs/en/develop-custom-functions/025-tutorial-develop-a-simple-function.md
index 476deb2..59795e7 100644
---
a/_docs/en/develop-custom-functions/025-tutorial-develop-a-simple-function.md
+++
b/_docs/en/develop-custom-functions/025-tutorial-develop-a-simple-function.md
@@ -222,7 +222,13 @@ Add the JAR files to Drill, by copying them to the
following location:
`<Drill installation directory>/jars/3rdparty`
-**Note:** This tutorial shows the manual method for adding JAR files to Drill,
however as of Drill 1.9, the Dynamic UDF feature provides a new method for
users.
+**Note 1:** This tutorial shows the manual method for adding JAR files to
Drill, however as of Drill 1.9, the Dynamic UDF feature provides a new method
for users.
+
+**Note 2:** When your drill instance is attached to a docker and runs within a
container, you need to copy the two maven generated JAR files using docker's cp
command.
+
+ The syntax for the same is: docker cp SRC_PATH CONTAINER:<Drill
installation directory>/jars/3rdparty
+
+ Example: docker cp C:Users\apacheUser\xyz.jar
cfd0a7cf635b:/opt/drill/jars/3rdparty
## Test the New Function