[SPARK-4035] Fix a wrong format specifier

Just found a typo. Should not use "%f" for Long.