I am writing spark output to an external system that does not like file extensions (I know, I know, don't start).
Something like:
df.write.partitionBy("date").parquet(some_path)
creates files like: some/path/date=2021-01-01/part-00000-77dd02e8-1a67-4f0d-9c07-b55b4f2e5efc-c000.snappy.parquet
And that makes that external system unhappy. I am looking for a way to tell spark to write that file without extension. I know I can just rename it afterwards, but that seems ... stupid (and there's a lot of files) :/
Is there some option I could use to tell spark to just write it the way I want?