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

     1  {
     2    "keyspaces": {
     3      "main": {
     4        "sharded": true,
     5        "vindexes": {
     6          "hash": {
     7            "type": "hash"
     8          }
     9        },
    10        "tables": {
    11          "customer1": {
    12            "column_vindexes": [
    13              {
    14                "column": "c_w_id",
    15                "name": "hash"
    16              }
    17            ]
    18          },
    19          "district1": {
    20            "column_vindexes": [
    21              {
    22                "column": "d_w_id",
    23                "name": "hash"
    24              }
    25            ]
    26          },
    27          "history1": {
    28            "column_vindexes": [
    29              {
    30                "column": "h_w_id",
    31                "name": "hash"
    32              }
    33            ]
    34          },
    35          "item1": {
    36            "column_vindexes": [
    37              {
    38                "column": "i_id",
    39                "name": "hash"
    40              }
    41            ]
    42          },
    43          "new_orders1": {
    44            "column_vindexes": [
    45              {
    46                "column": "no_w_id",
    47                "name": "hash"
    48              }
    49            ]
    50          },
    51          "order_line1": {
    52            "column_vindexes": [
    53              {
    54                "column": "ol_w_id",
    55                "name": "hash"
    56              }
    57            ]
    58          },
    59          "orders1": {
    60            "column_vindexes": [
    61              {
    62                "column": "o_w_id",
    63                "name": "hash"
    64              }
    65            ]
    66          },
    67          "stock1": {
    68            "column_vindexes": [
    69              {
    70                "column": "s_w_id",
    71                "name": "hash"
    72              }
    73            ]
    74          },
    75          "warehouse1": {
    76            "column_vindexes": [
    77              {
    78                "column": "w_id",
    79                "name": "hash"
    80              }
    81            ]
    82          }
    83        }
    84      }
    85    }
    86  }