|
@@ -373,9 +373,9 @@ data_sources:
|
|
- IBM DB2 and Informix
|
|
- IBM DB2 and Informix
|
|
- SQLite
|
|
- SQLite
|
|
- [Redshift](#redshift)
|
|
- [Redshift](#redshift)
|
|
|
|
+- [Presto](#presto)
|
|
- [MongoDB](#mongodb) [beta]
|
|
- [MongoDB](#mongodb) [beta]
|
|
- [Elasticsearch](#elasticsearch) [beta]
|
|
- [Elasticsearch](#elasticsearch) [beta]
|
|
-- [Presto](#presto) [beta]
|
|
|
|
|
|
|
|
You can also create an adapter for any other data store.
|
|
You can also create an adapter for any other data store.
|
|
|
|
|
|
@@ -397,35 +397,35 @@ data_sources:
|
|
url: redshift://user:password@hostname:5439/database
|
|
url: redshift://user:password@hostname:5439/database
|
|
```
|
|
```
|
|
|
|
|
|
-### MongoDB
|
|
|
|
|
|
+### Presto
|
|
|
|
|
|
-Add [mongo](https://github.com/mongodb/mongo-ruby-driver) to your Gemfile and set:
|
|
|
|
|
|
+Add [presto-client](https://github.com/treasure-data/presto-client-ruby) to your Gemfile and set:
|
|
|
|
|
|
```yml
|
|
```yml
|
|
data_sources:
|
|
data_sources:
|
|
my_source:
|
|
my_source:
|
|
- url: mongodb://user:password@hostname:27017/database
|
|
|
|
|
|
+ url: presto://user@hostname:8080/catalog
|
|
```
|
|
```
|
|
|
|
|
|
-### Elasticsearch
|
|
|
|
|
|
+### MongoDB
|
|
|
|
|
|
-Add [elasticsearch](https://github.com/elastic/elasticsearch-ruby) to your Gemfile and set:
|
|
|
|
|
|
+Add [mongo](https://github.com/mongodb/mongo-ruby-driver) to your Gemfile and set:
|
|
|
|
|
|
```yml
|
|
```yml
|
|
data_sources:
|
|
data_sources:
|
|
my_source:
|
|
my_source:
|
|
- adapter: elasticsearch
|
|
|
|
- url: http://user:password@hostname:9200/
|
|
|
|
|
|
+ url: mongodb://user:password@hostname:27017/database
|
|
```
|
|
```
|
|
|
|
|
|
-### Presto
|
|
|
|
|
|
+### Elasticsearch
|
|
|
|
|
|
-Add [presto-client](https://github.com/treasure-data/presto-client-ruby) to your Gemfile and set:
|
|
|
|
|
|
+Add [elasticsearch](https://github.com/elastic/elasticsearch-ruby) to your Gemfile and set:
|
|
|
|
|
|
```yml
|
|
```yml
|
|
data_sources:
|
|
data_sources:
|
|
my_source:
|
|
my_source:
|
|
- url: presto://user@hostname:8080/catalog
|
|
|
|
|
|
+ adapter: elasticsearch
|
|
|
|
+ url: http://user:password@hostname:9200/
|
|
```
|
|
```
|
|
|
|
|
|
## Query Permissions
|
|
## Query Permissions
|