Apache Spark | Databricks | Convert JSON String to Struct - Spark Optimization | Azure Data Engineer

preview_player
Показать описание
#dataengineering #azure #apachespark
Apache Spark | Databricks | Convert JSON String to Struct - Spark Optimization | Azure Data Engineer

In this Video, we will learn the Spark Optimized way to convert JSON string to Struct Type using the SCHEMA_OF_JSON_AGG. It is available in Databricks runtime DBR 13.2 and later.

============================
Dataset:

Similar Case:

More Videos on Apache Spark in Databricks:

===================

Blog link to learn more on Spark:

Linkedin profile:

FB page:
Рекомендации по теме
Комментарии
Автор

Hi Sir, I have list of nested json, while reading these files from blob storage, I have converted it into Dataframe, Now why I apply df.select('Body.*') this line of code, for me its throwing error, as that column datatype is StringType(), now I have to converted it into StructType(). Could you please help me on this ? Awaiting for you response

RavindraVangalapudi
Автор

Hi

I have an usecase where I am facing challenges to do using pyspark. Could you please guide me through?

adarshverma