hive -f 传递参数 hive -f 传递参数hive -hiveconf log_id=1 -hiveconf ds=2022-03-08 --database datacenter \-f /opt/module/scripts/10-ads/01_大监督_招标采购/01_大监督_招标采购_比价信息_增量.sql 示例:sql文件内部参数编写方式 select * from test where log_id = ${hiveconf:log_id} and ds='${hiveconf:ds}'