I must change an attribute in an RDD, passing it to 1 if it is "A", and to 0 if it is "B". Even the new attribute should be integer, rather than the current one.
...
StructField("key", IntegerType(), True),
StructField("inf", Strin...
asked by
17.06.2018 / 13:52