Schema SQL Grammar
Schema support the listed SQL grammar for DDL workloads.
AI Data Platform supports all standard Spark SQL data types. For more information, see Apache Spark Documentation - Supported Data Types.
Table 22-2 List of Schema SQL Grammar
Operation | Grammar | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Create Schema |
Response
Error
|
||||||||||||||||||
Alter Schema |
Alter Schema Description
Response
Error
|
||||||||||||||||||
Delete Schema |
By default during DROP schema, all child objects will also get deleted |
||||||||||||||||||
List Schemas |
Examples:
Response:
Error
|
||||||||||||||||||
Describe Schema (get details) |
|
||||||||||||||||||
Drop Schema | drop schema [ IF EXISTS ] <<schema_name>> cascade |