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

44 lines
818 B
JSON

[
{
"AlterPos": 0,
"StatementEnd": 81,
"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": [
{
"FreezePos": 53,
"StatementEnd": 81,
"Partition": {
"PartitionPos": 60,
"Expr": {
"LiteralPos": 71,
"LiteralEnd": 81,
"Literal": "2023-07-18"
},
"ID": null,
"All": false
}
}
]
}
]