Skip to content

Commit 577383d

Browse files
authored
Add functional test related to bug #2850 (#2880)
## Changes Add a functional test that proves that #2850 is already fixed ### Linked issues Resolves #2850 ### Functionality None ### Tests - [x] added unit tests Co-authored-by: Eric Vergnaud <eric.vergnaud@databricks.com>
1 parent cb5e6ef commit 577383d

File tree

1 file changed

+8
-0
lines changed
  • tests/unit/source_code/samples/functional/file-access

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
df = (
2+
spark.readStream.format('cloudFiles')
3+
.option('cloudFiles.format', 'csv')
4+
.option('cloudFiles.schemaLocation', '/Volumes/playground/test/schemas/')
5+
.option('header', 'true')
6+
.option('compression', 'gzip')
7+
.load('/Volumes/playground/test/demo_data/')
8+
)

0 commit comments

Comments
 (0)