--options-file 与 --connection-param-file 有何不同

how does --options-file differ from --connection-param-file

Sqoop 文档将 --options-file 的示例显示为:

#
# Options file for Sqoop import
#

# Specifies the tool being invoked 
import

# Connect parameter and value
--connect
jdbc:mysql://localhost/db

# Username parameter and value
--username
foo
#
# Remaining options should be specified in the command line.
#

按照上面的说法,如果它只是连接信息,并且根据注释,所有剩余的选项都应该在命令行中指定,为什么它在 --options-file 而不是 --connection-param-file 中?

评论应在命令行中指定剩余选项具有误导性。它只是为了表明可以在选项文件中添加注释。但是,并不意味着您不能指定更多选项。

我正在使用 Sqoop 的选项文件,它们包含连接详细信息以及 --num-mappers--fields-terminated-by