I'm really new to Apache Airflow and am currently reviewing a Python script in GCP's qwiklabs. I noticed this syntax and I got a bit confused by it:
input_file = input_file = '/home/airflow/gcs/data/rose.txt'
in this chunk of code:
WORDCOUNT_JAR = (
'file:///usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'
)
input_file = input_file = '/home/airflow/gcs/data/rose.txt'
wordcount_args = ['wordcount', input_file, output_file]
Why is it input_file = input_file = file_path
? What does it mean?
Thanks xD
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…