You can try to use this way: spark.readStream .format("socket") .option("host", "localhost") .option("port", 9099) .option("timestampformat", "yyyy-MM-dd HH:mm:ss") .option("dateformat", "yyyy-MM-dd HH:mm:ss")
-- Sent from: http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/