printSchema,DataFrame-method {SparkR} | R Documentation |
Prints out the schema in tree format
## S4 method for signature 'DataFrame' printSchema(x)
x |
A SparkSQL DataFrame |
## Not run:
##D sc <- sparkR.init()
##D sqlContext <- sparkRSQL.init(sc)
##D path <- "path/to/file.json"
##D df <- jsonFile(sqlContext, path)
##D printSchema(df)
## End(Not run)