Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get schema of json pyspark

schema = StructType()
schema = map(lambda x: schema.add(x, StringType(), True), (data["json_data_schema"]))[0][0:]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #schema #json #pyspark
ADD COMMENT
Topic
Name
9+5 =