diff --git a/tests/unit/source_code/samples/functional/file-access/volumes.py b/tests/unit/source_code/samples/functional/file-access/volumes.py new file mode 100644 index 0000000000..d9bfea9f10 --- /dev/null +++ b/tests/unit/source_code/samples/functional/file-access/volumes.py @@ -0,0 +1,8 @@ +df = ( + spark.readStream.format('cloudFiles') + .option('cloudFiles.format', 'csv') + .option('cloudFiles.schemaLocation', '/Volumes/playground/test/schemas/') + .option('header', 'true') + .option('compression', 'gzip') + .load('/Volumes/playground/test/demo_data/') +)