tag: sql

Data Definition Language (DDL) for defining Spark Schema

on 2021-10-04

If you want to transform a Spark’s dataframe schema into a String, you have two schema string representation available: JSON and DDL. DDL stands for Data Definition Language and provides a very concise way to represent a Spark Schema. But how do we represent a Spark’s schema in DDL ?

#spark #sql