Hi community,
In https://ci.apache.org/projects/flink/flink-docs-stable/dev/python/python_config.html#python-options, > For each archive file, a target directory is specified. If the target directory name is specified, the archive file will be extracted to a name can directory with the specified name. Otherwise, the archive file will be extracted to a directory with the same name of the archive file. I don't get what does "the archive file will be extracted to a name can directory with the specified name" mean. Maybe there are typos? best, Yik San |
Hi Yik San,
It should be a typo issue. I guess it should be `If the target directory name is specified, the archive file will be extracted to a directory with the specified name.` Regards, Dian
|
Hi Dian, I wonder where can we specify the target directory? Best, Yik San On Mon, Apr 26, 2021 at 9:19 PM Dian Fu <[hidden email]> wrote:
|
There are multiple ways to specify the target directory depending on how to specify the python archives.
1) API: add_python_archive(“file:///path/to/py_env.zip", "myenv"), see [1] for more details, 2) configuration: python.archives, e.g. file:///path/to/py_env.zip#myenv 3) command line arguments: -pyarch file:///path/to/py_env.zip#myenv You can specify python archives via either of the above options and it will extract py_env.zip into directory myenv during execution. [1] https://ci.apache.org/projects/flink/flink-docs-release-1.12/dev/python/table-api-users-guide/dependency_management.html
|
For the command line arguments, it’s documented in https://ci.apache.org/projects/flink/flink-docs-release-1.11/ops/cli.html
|
On Tue, Apr 27, 2021 at 10:20 AM Dian Fu <[hidden email]> wrote:
|
Thank you a lot~
|
Free forum by Nabble | Edit this page |