vitess.io/vitess@v0.16.2/go/test/endtoend/vtgate/concurrentdml/sharded_vschema.json (about)

     1   {
     2    "sharded": true,
     3    "vindexes": {
     4      "xxhash": {
     5        "type": "xxhash"
     6      },
     7      "lookup_c2": {
     8        "type": "consistent_lookup_unique",
     9        "params": {
    10          "table": "lookup_t1",
    11          "from": "c2",
    12          "to": "keyspace_id",
    13          "ignore_nulls": "true"
    14        },
    15        "owner": "t1"
    16      },
    17      "lookup_c3": {
    18        "type": "consistent_lookup_unique",
    19        "params": {
    20          "table": "lookup_t2",
    21          "from": "c3",
    22          "to": "keyspace_id",
    23          "ignore_nulls": "true"
    24        },
    25        "owner": "t1"
    26      },
    27      "lookup_c4": {
    28        "type": "consistent_lookup_unique",
    29        "params": {
    30          "table": "lookup_t3",
    31          "from": "c4",
    32          "to": "keyspace_id",
    33          "ignore_nulls": "true"
    34        },
    35        "owner": "t1"
    36      }
    37    },
    38    "tables": {
    39      "t1": {
    40        "columnVindexes": [
    41          {
    42            "column": "c1",
    43            "name": "xxhash"
    44          },
    45          {
    46            "column": "c2",
    47            "name": "lookup_c2"
    48          },
    49          {
    50            "column": "c3",
    51            "name": "lookup_c3"
    52          },
    53          {
    54            "column": "c4",
    55            "name": "lookup_c4"
    56          }
    57        ],
    58        "columns": [
    59          {
    60            "name": "c1",
    61            "type": "INT64"
    62          },
    63          {
    64            "name": "c2",
    65            "type": "INT64"
    66          },
    67          {
    68            "name": "c3",
    69            "type": "INT64"
    70          },
    71          {
    72            "name": "c4",
    73            "type": "VARCHAR"
    74          }
    75        ],
    76        "autoIncrement": {
    77          "column": "c1",
    78          "sequence": "commerce.t1_seq"
    79        },
    80        "columnListAuthoritative": true
    81      },
    82      "lookup_t1": {
    83        "columnVindexes": [
    84          {
    85            "column": "c2",
    86            "name": "xxhash"
    87          }
    88        ]
    89      },
    90      "lookup_t2": {
    91        "columnVindexes": [
    92          {
    93            "column": "c3",
    94            "name": "xxhash"
    95          }
    96        ]
    97      },
    98      "lookup_t3": {
    99        "columnVindexes": [
   100          {
   101            "column": "c4",
   102            "name": "xxhash"
   103          }
   104        ]
   105      }
   106    }
   107  }