Business intelligence made simple
Alphabetize
Andrew7df773fc5ead
diff --git a/README.md b/README.mdindex 0e640d48..187f569a 100644--- a/README.md+++ b/README.md@@ -392,22 +392,22 @@ data_sources:### Full List-- [PostgreSQL](#postgresql-1)-- [MySQL](#mysql-1)-- [SQL Server](#sql-server)-- [Oracle](#oracle)-- [IBM DB2 and Informix](#ibm-db2-and-informix)-- [SQLite](#sqlite)-- [Amazon Redshift](#amazon-redshift)- [Amazon Athena](#amazon-athena)-- [Presto](#presto)+- [Amazon Redshift](#amazon-redshift)- [Apache Drill](#apache-drill)-- [Google BigQuery](#google-bigquery)-- [MongoDB](#mongodb-1)- [Cassandra](#cassandra)- [Druid](#druid)+- [Elasticsearch](#elasticsearch) [beta]+- [Google BigQuery](#google-bigquery)+- [IBM DB2 and Informix](#ibm-db2-and-informix)+- [MongoDB](#mongodb-1)+- [MySQL](#mysql-1)+- [Oracle](#oracle)+- [PostgreSQL](#postgresql-1)+- [Presto](#presto)- [Snowflake](#snowflake) [master]-- [Elasticsearch](#elasticsearch-beta) [beta]+- [SQLite](#sqlite)+- [SQL Server](#sql-server)You can also [create an adapter](#creating-an-adapter) for any other data store.@@ -419,95 +419,71 @@ data_sources:url: <%= ENV["BLAZER_MY_SOURCE_URL"] %>```-### PostgreSQL--Add [pg](https://bitbucket.org/ged/ruby-pg/wiki/Home) to your Gemfile (if it’s not there) and set:--```yml-data_sources:- my_source:- url: postgres://user:password@hostname:5432/database-```--### MySQL+### Amazon Athena-Add [mysql2](https://github.com/brianmario/mysql2) to your Gemfile (if it’s not there) and set:+Add [aws-sdk](https://github.com/aws/aws-sdk-ruby) `~> 2` to your Gemfile and set:```ymldata_sources:my_source:- url: mysql2://user:password@hostname:3306/database+ adapter: athena+ database: database+ output_location: s3://some-bucket/```-### SQL Server+### Amazon Redshift-Add [tiny_tds](https://github.com/rails-sqlserver/tiny_tds) and [activerecord-sqlserver-adapter](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter) to your Gemfile and set:+Add [activerecord4-redshift-adapter](https://github.com/aamine/activerecord4-redshift-adapter) or [activerecord5-redshift-adapter](https://github.com/ConsultingMD/activerecord5-redshift-adapter) to your Gemfile and set:```ymldata_sources:my_source:- url: sqlserver://user:password@hostname:1433/database+ url: redshift://user:password@hostname:5439/database```-### Oracle--Use [activerecord-oracle_enhanced-adapter](https://github.com/rsim/oracle-enhanced).--### IBM DB2 and Informix--Use [ibm_db](https://github.com/ibmdb/ruby-ibmdb).--### SQLite+### Apache Drill-Add [sqlite3](https://github.com/sparklemotion/sqlite3-ruby) to your Gemfile and set:+Add [drill-sergeant](https://github.com/ankane/drill-sergeant) to your Gemfile and set:```ymldata_sources:my_source:- url: sqlite3:path/to/database.sqlite3+ adapter: drill+ url: http://hostname:8047```-### Amazon Redshift+### Cassandra-Add [activerecord4-redshift-adapter](https://github.com/aamine/activerecord4-redshift-adapter) or [activerecord5-redshift-adapter](https://github.com/ConsultingMD/activerecord5-redshift-adapter) to your Gemfile and set:+Add [cassandra-driver](https://github.com/datastax/ruby-driver) to your Gemfile and set:```ymldata_sources:my_source:- url: redshift://user:password@hostname:5439/database+ url: cassandra://user:password@hostname:9042/keyspace```-### Amazon Athena--Add [aws-sdk](https://github.com/aws/aws-sdk-ruby) `~> 2` to your Gemfile and set:--```yml-data_sources:- my_source:- adapter: athena- database: database- output_location: s3://some-bucket/-```+### Druid-### Presto+First, [enable SQL support](http://druid.io/docs/latest/querying/sql.html#configuration) on the broker.-Add [presto-client](https://github.com/treasure-data/presto-client-ruby) to your Gemfile and set:+Set:```ymldata_sources:my_source:- url: presto://user@hostname:8080/catalog+ adapter: druid+ url: http://hostname:8082```-### Apache Drill+### Elasticsearch-Add [drill-sergeant](https://github.com/ankane/drill-sergeant) to your Gemfile and set:+Add [elasticsearch](https://github.com/elastic/elasticsearch-ruby) to your Gemfile and set:```ymldata_sources:my_source:- adapter: drill- url: http://hostname:8047+ adapter: elasticsearch+ url: http://user:password@hostname:9200```### Google BigQuery@@ -522,6 +498,10 @@ data_sources:keyfile: path/to/keyfile.json```+### IBM DB2 and Informix++Use [ibm_db](https://github.com/ibmdb/ruby-ibmdb).+### MongoDBAdd [mongo](https://github.com/mongodb/mongo-ruby-driver) to your Gemfile and set:@@ -532,27 +512,38 @@ data_sources:url: mongodb://user:password@hostname:27017/database```-### Cassandra+### MySQL-Add [cassandra-driver](https://github.com/datastax/ruby-driver) to your Gemfile and set:+Add [mysql2](https://github.com/brianmario/mysql2) to your Gemfile (if it’s not there) and set:```ymldata_sources:my_source:- url: cassandra://user:password@hostname:9042/keyspace+ url: mysql2://user:password@hostname:3306/database```-### Druid+### Oracle-First, [enable SQL support](http://druid.io/docs/latest/querying/sql.html#configuration) on the broker.+Use [activerecord-oracle_enhanced-adapter](https://github.com/rsim/oracle-enhanced).-Set:+### PostgreSQL++Add [pg](https://bitbucket.org/ged/ruby-pg/wiki/Home) to your Gemfile (if it’s not there) and set:```ymldata_sources:my_source:- adapter: druid- url: http://hostname:8082+ url: postgres://user:password@hostname:5432/database+```++### Presto++Add [presto-client](https://github.com/treasure-data/presto-client-ruby) to your Gemfile and set:++```yml+data_sources:+ my_source:+ url: presto://user@hostname:8080/catalog```### Snowflake@@ -566,15 +557,24 @@ data_sources:dsn: ProductionSnowflake```-### Elasticsearch [beta]+### SQLite-Add [elasticsearch](https://github.com/elastic/elasticsearch-ruby) to your Gemfile and set:+Add [sqlite3](https://github.com/sparklemotion/sqlite3-ruby) to your Gemfile and set:```ymldata_sources:my_source:- adapter: elasticsearch- url: http://user:password@hostname:9200+ url: sqlite3:path/to/database.sqlite3+```++### SQL Server++Add [tiny_tds](https://github.com/rails-sqlserver/tiny_tds) and [activerecord-sqlserver-adapter](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter) to your Gemfile and set:++```yml+data_sources:+ my_source:+ url: sqlserver://user:password@hostname:1433/database```## Creating an Adapter