mirror of
https://github.com/hanzo-ds/sqlparser.git
synced 2026-10-30 20:53:50 +00:00
58 lines
1.2 KiB
JSON
58 lines
1.2 KiB
JSON
[
|
|
{
|
|
"AlterPos": 0,
|
|
"StatementEnd": 52,
|
|
"TableIdentifier": {
|
|
"Database": null,
|
|
"Table": {
|
|
"Name": "t1",
|
|
"QuoteType": 1,
|
|
"NamePos": 12,
|
|
"NameEnd": 14
|
|
}
|
|
},
|
|
"OnCluster": null,
|
|
"AlterExprs": [
|
|
{
|
|
"ModifyPos": 15,
|
|
"StatementEnd": 52,
|
|
"IfExists": false,
|
|
"Column": {
|
|
"NamePos": 29,
|
|
"ColumnEnd": 52,
|
|
"Name": {
|
|
"Ident": {
|
|
"Name": "f1",
|
|
"QuoteType": 1,
|
|
"NamePos": 29,
|
|
"NameEnd": 31
|
|
},
|
|
"DotIdent": null
|
|
},
|
|
"Type": {
|
|
"Name": {
|
|
"Name": "String",
|
|
"QuoteType": 1,
|
|
"NamePos": 32,
|
|
"NameEnd": 38
|
|
}
|
|
},
|
|
"NotNull": null,
|
|
"Nullable": null,
|
|
"DefaultExpr": null,
|
|
"MaterializedExpr": null,
|
|
"AliasExpr": null,
|
|
"Codec": null,
|
|
"TTL": null,
|
|
"Comment": {
|
|
"LiteralPos": 39,
|
|
"LiteralEnd": 52,
|
|
"Literal": "test"
|
|
},
|
|
"CompressionCodec": null
|
|
},
|
|
"RemovePropertyType": null
|
|
}
|
|
]
|
|
}
|
|
] |