How to load a json file in pyspark with colon character in file name

laus
New Contributor III

Hi,

I'm trying to load this json file which contains the colon character in its name: file_name.2022-03-05_11:30:00.json but I get the error in screenshot below saying that there is a relative path in an absolute url -

Any idea how to read this file?

file_name = file_name.2022-03-05_11:30:00.json

imageThanks for your help in advance!