vitess.io/vitess@v0.16.2/go/vt/vtgate/planbuilder/testdata/other_admin_cases.json (about)

     1  [
     2    {
     3      "comment": "Repair statement",
     4      "query": "repair table t1,t2 quick",
     5      "plan": {
     6        "QueryType": "OTHER",
     7        "Original": "repair table t1,t2 quick",
     8        "Instructions": {
     9          "OperatorType": "Send",
    10          "Keyspace": {
    11            "Name": "main",
    12            "Sharded": false
    13          },
    14          "TargetDestination": "AnyShard()",
    15          "Query": "repair table t1,t2 quick",
    16          "SingleShardOnly": true
    17        }
    18      }
    19    },
    20    {
    21      "comment": "Optimize statement",
    22      "query": "optimize table t1",
    23      "plan": {
    24        "QueryType": "OTHER",
    25        "Original": "optimize table t1",
    26        "Instructions": {
    27          "OperatorType": "Send",
    28          "Keyspace": {
    29            "Name": "main",
    30            "Sharded": false
    31          },
    32          "TargetDestination": "AnyShard()",
    33          "Query": "optimize table t1",
    34          "SingleShardOnly": true
    35        }
    36      }
    37    },
    38    {
    39      "comment": "DO statement",
    40      "query": "DO 1",
    41      "plan": {
    42        "QueryType": "OTHER",
    43        "Original": "DO 1",
    44        "Instructions": {
    45          "OperatorType": "Send",
    46          "Keyspace": {
    47            "Name": "main",
    48            "Sharded": false
    49          },
    50          "TargetDestination": "AnyShard()",
    51          "Query": "DO 1",
    52          "SingleShardOnly": true
    53        }
    54      }
    55    }
    56  ]