Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating to remove extra operator file #656

Merged
merged 1 commit into from
Jan 8, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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