github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/sql/opt/testutils/opttester/testdata/inject-stats.json (about) 1 [ 2 { 3 "columns": [ 4 "city" 5 ], 6 "created_at": "2020-05-06 17:47:28.557622+00:00", 7 "distinct_count": 9, 8 "histo_buckets": [ 9 { 10 "distinct_range": 0, 11 "num_eq": 55, 12 "num_range": 0, 13 "upper_bound": "amsterdam" 14 }, 15 { 16 "distinct_range": 0, 17 "num_eq": 56, 18 "num_range": 0, 19 "upper_bound": "boston" 20 }, 21 { 22 "distinct_range": 0, 23 "num_eq": 56, 24 "num_range": 0, 25 "upper_bound": "los angeles" 26 }, 27 { 28 "distinct_range": 0, 29 "num_eq": 56, 30 "num_range": 0, 31 "upper_bound": "new york" 32 }, 33 { 34 "distinct_range": 0, 35 "num_eq": 56, 36 "num_range": 0, 37 "upper_bound": "paris" 38 }, 39 { 40 "distinct_range": 0, 41 "num_eq": 55, 42 "num_range": 0, 43 "upper_bound": "rome" 44 }, 45 { 46 "distinct_range": 0, 47 "num_eq": 55, 48 "num_range": 0, 49 "upper_bound": "san francisco" 50 }, 51 { 52 "distinct_range": 0, 53 "num_eq": 56, 54 "num_range": 0, 55 "upper_bound": "seattle" 56 }, 57 { 58 "distinct_range": 0, 59 "num_eq": 55, 60 "num_range": 0, 61 "upper_bound": "washington dc" 62 } 63 ], 64 "histo_col_type": "STRING", 65 "name": "foo", 66 "null_count": 0, 67 "row_count": 500 68 }, 69 { 70 "columns": [ 71 "city", 72 "id" 73 ], 74 "created_at": "2020-05-06 17:47:28.557622+00:00", 75 "distinct_count": 500, 76 "histo_col_type": "", 77 "name": "foo", 78 "null_count": 0, 79 "row_count": 500 80 }, 81 { 82 "columns": [ 83 "city", 84 "rider_id" 85 ], 86 "created_at": "2020-05-06 17:47:28.557622+00:00", 87 "distinct_count": 50, 88 "histo_col_type": "", 89 "name": "foo", 90 "null_count": 0, 91 "row_count": 500 92 }, 93 { 94 "columns": [ 95 "vehicle_city" 96 ], 97 "created_at": "2020-05-06 17:47:28.557622+00:00", 98 "distinct_count": 9, 99 "histo_buckets": [ 100 { 101 "distinct_range": 0, 102 "num_eq": 55, 103 "num_range": 0, 104 "upper_bound": "amsterdam" 105 }, 106 { 107 "distinct_range": 0, 108 "num_eq": 56, 109 "num_range": 0, 110 "upper_bound": "boston" 111 }, 112 { 113 "distinct_range": 0, 114 "num_eq": 56, 115 "num_range": 0, 116 "upper_bound": "los angeles" 117 }, 118 { 119 "distinct_range": 0, 120 "num_eq": 56, 121 "num_range": 0, 122 "upper_bound": "new york" 123 }, 124 { 125 "distinct_range": 0, 126 "num_eq": 56, 127 "num_range": 0, 128 "upper_bound": "paris" 129 }, 130 { 131 "distinct_range": 0, 132 "num_eq": 55, 133 "num_range": 0, 134 "upper_bound": "rome" 135 }, 136 { 137 "distinct_range": 0, 138 "num_eq": 55, 139 "num_range": 0, 140 "upper_bound": "san francisco" 141 }, 142 { 143 "distinct_range": 0, 144 "num_eq": 56, 145 "num_range": 0, 146 "upper_bound": "seattle" 147 }, 148 { 149 "distinct_range": 0, 150 "num_eq": 55, 151 "num_range": 0, 152 "upper_bound": "washington dc" 153 } 154 ], 155 "histo_col_type": "STRING", 156 "name": "foo", 157 "null_count": 0, 158 "row_count": 500 159 }, 160 { 161 "columns": [ 162 "vehicle_city", 163 "vehicle_id" 164 ], 165 "created_at": "2020-05-06 17:47:28.557622+00:00", 166 "distinct_count": 15, 167 "histo_col_type": "", 168 "name": "foo", 169 "null_count": 0, 170 "row_count": 500 171 }, 172 { 173 "columns": [ 174 "id" 175 ], 176 "created_at": "2020-05-06 17:47:28.557622+00:00", 177 "distinct_count": 500, 178 "histo_col_type": "", 179 "name": "foo", 180 "null_count": 0, 181 "row_count": 500 182 }, 183 { 184 "columns": [ 185 "rider_id" 186 ], 187 "created_at": "2020-05-06 17:47:28.557622+00:00", 188 "distinct_count": 50, 189 "histo_col_type": "", 190 "name": "foo", 191 "null_count": 0, 192 "row_count": 500 193 }, 194 { 195 "columns": [ 196 "vehicle_id" 197 ], 198 "created_at": "2020-05-06 17:47:28.557622+00:00", 199 "distinct_count": 15, 200 "histo_col_type": "", 201 "name": "foo", 202 "null_count": 0, 203 "row_count": 500 204 }, 205 { 206 "columns": [ 207 "start_address" 208 ], 209 "created_at": "2020-05-06 17:47:28.557622+00:00", 210 "distinct_count": 500, 211 "histo_col_type": "", 212 "name": "foo", 213 "null_count": 0, 214 "row_count": 500 215 }, 216 { 217 "columns": [ 218 "end_address" 219 ], 220 "created_at": "2020-05-06 17:47:28.557622+00:00", 221 "distinct_count": 500, 222 "histo_col_type": "", 223 "name": "foo", 224 "null_count": 0, 225 "row_count": 500 226 }, 227 { 228 "columns": [ 229 "start_time" 230 ], 231 "created_at": "2020-05-06 17:47:28.557622+00:00", 232 "distinct_count": 30, 233 "histo_col_type": "", 234 "name": "foo", 235 "null_count": 0, 236 "row_count": 500 237 }, 238 { 239 "columns": [ 240 "end_time" 241 ], 242 "created_at": "2020-05-06 17:47:28.557622+00:00", 243 "distinct_count": 367, 244 "histo_col_type": "", 245 "name": "foo", 246 "null_count": 0, 247 "row_count": 500 248 }, 249 { 250 "columns": [ 251 "revenue" 252 ], 253 "created_at": "2020-05-06 17:47:28.557622+00:00", 254 "distinct_count": 100, 255 "histo_col_type": "", 256 "name": "foo", 257 "null_count": 0, 258 "row_count": 500 259 } 260 ]