We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31413b5 commit 65f7a96Copy full SHA for 65f7a96
terraform/account-wide-infrastructure/modules/glue/src/pipeline.py
@@ -38,7 +38,11 @@ def run(self):
38
def extract(self):
39
"""Extract JSON data from S3"""
40
self.logger.info(f"Extracting data from {self.source_path} as JSON")
41
- return self.spark.read.schema(self.schema).json(self.source_path)
+ return (
42
+ self.spark.read.option("recursiveFileLookup", "true")
43
+ .schema(self.schema)
44
+ .json(self.source_path)
45
+ )
46
47
def transform(self, dataframe):
48
"""Apply a list of transformations on the dataframe"""
0 commit comments