Files
sqlparser/parser/testdata/ddl/output/alter_table_drop_partition.sql.golden.json

45 lines
844 B
JSON

[
{
"AlterPos": 0,
"StatementEnd": 79,
"TableIdentifier": {
"Database": {
"Name": "test",
"QuoteType": 1,
"NamePos": 12,
"NameEnd": 16
},
"Table": {
"Name": "events",
"QuoteType": 1,
"NamePos": 17,
"NameEnd": 23
}
},
"OnCluster": {
"OnPos": 24,
"Expr": {
"LiteralPos": 36,
"LiteralEnd": 51,
"Literal": "default_cluster"
}
},
"AlterExprs": [
{
"DropPos": 53,
"HasDetached": false,
"Partition": {
"PartitionPos": 58,
"Expr": {
"LiteralPos": 69,
"LiteralEnd": 79,
"Literal": "2023-07-18"
},
"ID": null,
"All": false
},
"Settings": null
}
]
}
]