- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2024 06:19 AM - edited 01-26-2024 06:29 AM
Hi!
I am pulling data from a Blob storage to Databrick using Autoloader. This process is working well for almost 10 resources, but for a specific one I am getting this error java.lang.NullPointerException.
Looks like this issue in when I connect to the blob storage, but when I try to connect to this resource using spark.read.parquet("/mnt/path/to/files/*.parquet") the process works well.
So the issue is when I am runninng the Structure Streaming with format "couldFiles".
Below the code used:
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2024 09:32 AM - edited 01-26-2024 09:35 AM
@Maxi1693 - The value for the schemaEvolutionMode should be a string. could you please try changing the below from
.option("cloudFiles.schemaEvolutionMode", None)
.option("cloudFiles.schemaEvolutionMode", "none")
and let us know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2024 09:32 AM - edited 01-26-2024 09:35 AM
@Maxi1693 - The value for the schemaEvolutionMode should be a string. could you please try changing the below from
.option("cloudFiles.schemaEvolutionMode", None)
.option("cloudFiles.schemaEvolutionMode", "none")
and let us know.

