vitess.io/vitess@v0.16.2/go/vt/vtgate/planbuilder/testdata/show_cases_no_default_keyspace.json (about) 1 [ 2 { 3 "comment": "show columns from user keyspace", 4 "query": "show full columns from user_extra", 5 "plan": { 6 "QueryType": "SHOW", 7 "Original": "show full columns from user_extra", 8 "Instructions": { 9 "OperatorType": "Send", 10 "Keyspace": { 11 "Name": "user", 12 "Sharded": true 13 }, 14 "TargetDestination": "AnyShard()", 15 "Query": "show full columns from user_extra", 16 "SingleShardOnly": true 17 } 18 } 19 }, 20 { 21 "comment": "show columns from routed table", 22 "query": "show full fields from `route1`", 23 "plan": { 24 "QueryType": "SHOW", 25 "Original": "show full fields from `route1`", 26 "Instructions": { 27 "OperatorType": "Send", 28 "Keyspace": { 29 "Name": "user", 30 "Sharded": true 31 }, 32 "TargetDestination": "AnyShard()", 33 "Query": "show full columns from `user`", 34 "SingleShardOnly": true 35 } 36 } 37 }, 38 { 39 "comment": "show variables", 40 "query": "show variables", 41 "plan": { 42 "QueryType": "SHOW", 43 "Original": "show variables", 44 "Instructions": { 45 "OperatorType": "ReplaceVariables", 46 "Inputs": [ 47 { 48 "OperatorType": "Send", 49 "Keyspace": { 50 "Name": "main", 51 "Sharded": false 52 }, 53 "TargetDestination": "AnyShard()", 54 "Query": "show variables", 55 "SingleShardOnly": true 56 } 57 ] 58 } 59 } 60 }, 61 { 62 "comment": "show full columns from system schema", 63 "query": "show full columns from sys.sys_config", 64 "plan": { 65 "QueryType": "SHOW", 66 "Original": "show full columns from sys.sys_config", 67 "Instructions": { 68 "OperatorType": "Send", 69 "Keyspace": { 70 "Name": "main", 71 "Sharded": false 72 }, 73 "TargetDestination": "AnyShard()", 74 "Query": "show full columns from sys.sys_config", 75 "SingleShardOnly": true 76 } 77 } 78 }, 79 { 80 "comment": "show full columns from system schema replacing qualifier", 81 "query": "show full columns from x.sys_config from sys", 82 "plan": { 83 "QueryType": "SHOW", 84 "Original": "show full columns from x.sys_config from sys", 85 "Instructions": { 86 "OperatorType": "Send", 87 "Keyspace": { 88 "Name": "main", 89 "Sharded": false 90 }, 91 "TargetDestination": "AnyShard()", 92 "Query": "show full columns from sys.sys_config", 93 "SingleShardOnly": true 94 } 95 } 96 }, 97 { 98 "comment": "show global status", 99 "query": "show global status", 100 "plan": { 101 "QueryType": "SHOW", 102 "Original": "show global status", 103 "Instructions": { 104 "OperatorType": "Send", 105 "Keyspace": { 106 "Name": "main", 107 "Sharded": false 108 }, 109 "TargetDestination": "AnyShard()", 110 "Query": "show global status", 111 "SingleShardOnly": true 112 } 113 } 114 } 115 ]