I am trying to retrieve data from oracle using spark-sql-2.4.1 version. I tried to set the JdbcOptions as below :
.option(\"lowerBound\", \"31-MAR-02\");
all of the following options must be set in this way in order for it to work:
spark.read .option("header", true) .option("inferSchema", true) .option("timestampFormat", "MM/dd/yyyy h:mm:ss a") .csv("PATH_TO_CSV")