I have part of shell script as below..
spark_data=spark-shell << EOF spark.sql(query) EOF
i need the exit status of the spark.sql query.. Can someone help on this..
Awaiting your reply Thanks
I have part of shell script as below..
spark_data=spark-shell << EOF spark.sql(query) EOF
i need the exit status of the spark.sql query.. Can someone help on this..
Awaiting your reply Thanks
Copyright © 2021 Jogjafile Inc.
Since the assignment is part of another command, the exit status of the assignment is the exit status of the command substitution.