Skip to content

Commit

Permalink
updating to remove extra operator file
Browse files Browse the repository at this point in the history
Signed-off-by: hallaroo <marla@planetscale.com>
  • Loading branch information
hallaroo committed Jan 4, 2021
1 parent 67e1566 commit b853647
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions content/en/docs/user-guides/migration/materialize.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,21 @@ In our example, we will be using `Materialize` to perform something similar to t
Let's start by simulating this situation by loading sample data:

```sql
mysql < ../common/insert_commerce_data.sql
# On helm and local installs:
mysql < /usr/local/vitess/examples/common/insert_commerce_data.sql
# With operator:
mysql --table < insert_commerce_data.sql
```

We can look at what we just inserted:

```sh
# On helm and local installs:
mysql --table < ../common/select_commerce_data.sql
mysql --table < /usr/local/vitess/examples/common/select_commerce_data.sql
# With operator:
mysql --table < select_commerce_data.sql

Using commerce/0
Using commerce
Customer
+-------------+--------------------+
| customer_id | email |
Expand Down Expand Up @@ -59,7 +62,7 @@ COrder
+----------+-------------+----------+-------+
```

Note that we are using keyspace `commerce/0` to select data from our tables.
Note that we are using keyspace `commerce` to select data from our tables.

## Planning to use Materialize

Expand Down

0 comments on commit b853647

Please sign in to comment.