You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.adoc
+3-18Lines changed: 3 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -72,18 +72,10 @@ cd {project-name}
72
72
Next, use Docker Compose to launch containers for Trino and Redis Stack:
73
73
[source,console]
74
74
----
75
-
docker-compose up
75
+
dockercompose up
76
76
----
77
77
78
-
This example uses a small data set describing a collection of beers.
79
-
To load the data set, you'll need to have https://developer.redis.com/riot/riot-file/index.html[riot-file] installed locally (see the https://developer.redis.com/riot/riot-file/index.html[riot-file] installation instructions).
80
-
81
-
Next, use `riot-file` to import the sample data set into Redis:
While still in the Redis CLI, you can create the required index by running the following `FT.CREATE` command:
99
-
[source,console]
100
-
----
101
-
127.0.0.1:6379> FT.CREATE beers ON HASH PREFIX 1 beer: SCHEMA id TAG SORTABLE brewery_id TAG SORTABLE name TEXT SORTABLE abv NUMERIC SORTABLE descript TEXT style_name TAG SORTABLE cat_name TAG SORTABLE
102
-
----
103
-
104
-
Now that you've indexed the data set, you can query it using SQL statements through Trino.
89
+
Now let's query the same data using SQL statements through Trino.
0 commit comments