how to define variable in spark code example Example: how to define variable in psark val or val variable_name: variable_datatype = value;