blazer 2.4.4 → 2.4.8

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of blazer might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2dea9967abfcc8db6f94dfb2b7ef522d367264aacd7b104259aaf48b3894035f
4
- data.tar.gz: 84fa8ea6616dbcf0be9c7af3fe85d22085f4b75bf8b87f04d6eb7c62225ea24e
3
+ metadata.gz: af432d074376958f2b9f7efdeaae05a0f0c0a1fe34cc38ce537a0511985edfd1
4
+ data.tar.gz: dd0fab9ec30db7b870ae6a8afd352093cccf3be75d2c1a0e320ba7106df11f00
5
5
  SHA512:
6
- metadata.gz: 4d1ca32f82a4d973c9cd3aaf89ce12af78c6147fc9a939280cb3f6edadf144dd190597d43f893e34b0b116cbdcec6d60eabe947cc719e1e4d9ecc641f3de0369
7
- data.tar.gz: 26983796db57b66e9de5f49c971d5b2d2c467aa449d2e632afa7119abd57153bbc39266eeba26a7ed40fdcf23a30323c871649e91be270e48673050c3cee2df3
6
+ metadata.gz: 7a78f82ce3d5544598ad363c4d31f2c676bf4be76844d81b0b02bc778072f8557c1da458cd1040fb1c9464b61fd677c4fbece3e310068acb6c09f769bf032aa7
7
+ data.tar.gz: ca0eb25f4e9a5826116d4f2a76d5fe55f71772633b557accea0aa85678e3ff4895623e0832a85de4894f18c3620180d2b04e5f9f03db51730684198e8f914a8f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,29 @@
1
+ ## 2.4.8 (2021-12-07)
2
+
3
+ - Added support for OpenSearch
4
+ - Removed `elasticsearch-xpack` dependency for Elasticsearch
5
+
6
+ ## 2.4.7 (2021-09-25)
7
+
8
+ - Made Action Mailer optional
9
+ - Fixed error with multiple maps on dashboard
10
+
11
+ ## 2.4.6 (2021-09-20)
12
+
13
+ - Added support for workgroup with Amazon Athena
14
+ - Added casting for timestamp with time zone columns with Amazon Athena
15
+ - Added support for setting credentials in config file with Amazon Athena
16
+ - Made output location optional with Amazon Athena
17
+ - Fixed casting error for `NULL` values with Amazon Athena
18
+ - Fixed issue with Google BigQuery only showing first page of results
19
+
20
+ ## 2.4.5 (2021-09-15)
21
+
22
+ - Improved fix for some forked queries not appearing on home page
23
+
1
24
  ## 2.4.4 (2021-09-15)
2
25
 
3
- - Fixed issue with forked queries not appearing on home page
26
+ - Fixed issue with some forked queries not appearing on home page
4
27
 
5
28
  ## 2.4.3 (2021-07-27)
6
29
 
data/README.md CHANGED
@@ -592,6 +592,7 @@ data_sources:
592
592
  - [MongoDB](#mongodb-1)
593
593
  - [MySQL](#mysql-1)
594
594
  - [Neo4j](#neo4j)
595
+ - [OpenSearch](#opensearch)
595
596
  - [Oracle](#oracle)
596
597
  - [PostgreSQL](#postgresql-1)
597
598
  - [Presto](#presto)
@@ -620,9 +621,49 @@ data_sources:
620
621
  my_source:
621
622
  adapter: athena
622
623
  database: database
624
+
625
+ # optional settings
623
626
  output_location: s3://some-bucket/
627
+ workgroup: primary
628
+ access_key_id: ...
629
+ secret_access_key: ...
630
+ ```
631
+
632
+ Here’s an example IAM policy:
633
+
634
+ ```json
635
+ {
636
+ "Version": "2012-10-17",
637
+ "Statement": [
638
+ {
639
+ "Effect": "Allow",
640
+ "Action": [
641
+ "athena:GetQueryExecution",
642
+ "athena:GetQueryResults",
643
+ "athena:StartQueryExecution"
644
+ ],
645
+ "Resource": [
646
+ "arn:aws:athena:region:account-id:workgroup/primary"
647
+ ]
648
+ },
649
+ {
650
+ "Effect": "Allow",
651
+ "Action": [
652
+ "glue:GetTable",
653
+ "glue:GetTables"
654
+ ],
655
+ "Resource": [
656
+ "arn:aws:glue:region:account-id:catalog",
657
+ "arn:aws:glue:region:account-id:database/default",
658
+ "arn:aws:glue:region:account-id:table/default/*"
659
+ ]
660
+ }
661
+ ]
662
+ }
624
663
  ```
625
664
 
665
+ You also need to configure [S3 permissions](https://aws.amazon.com/premiumsupport/knowledge-center/access-denied-athena/).
666
+
626
667
  ### Amazon Redshift
627
668
 
628
669
  Add [activerecord6-redshift-adapter](https://github.com/kwent/activerecord6-redshift-adapter) or [activerecord5-redshift-adapter](https://github.com/ConsultingMD/activerecord5-redshift-adapter) to your Gemfile and set:
@@ -703,7 +744,7 @@ data_sources:
703
744
 
704
745
  ### Elasticsearch
705
746
 
706
- Add [elasticsearch](https://github.com/elastic/elasticsearch-ruby) and [elasticsearch-xpack](https://github.com/elastic/elasticsearch-ruby/tree/master/elasticsearch-xpack) to your Gemfile and set:
747
+ Add [elasticsearch](https://github.com/elastic/elasticsearch-ruby) to your Gemfile and set:
707
748
 
708
749
  ```yml
709
750
  data_sources:
@@ -780,6 +821,17 @@ data_sources:
780
821
  url: http://user:password@hostname:7474
781
822
  ```
782
823
 
824
+ ### OpenSearch
825
+
826
+ Add [opensearch-ruby](https://github.com/opensearch-project/opensearch-ruby) to your Gemfile and set:
827
+
828
+ ```yml
829
+ data_sources:
830
+ my_source:
831
+ adapter: opensearch
832
+ url: http://user:password@hostname:9200
833
+ ```
834
+
783
835
  ### Oracle
784
836
 
785
837
  Add [activerecord-oracle_enhanced-adapter](https://github.com/rsim/oracle-enhanced) and [ruby-oci8](https://github.com/kubo/ruby-oci8) to your Gemfile and set:
@@ -975,14 +1027,6 @@ override_csp: true
975
1027
 
976
1028
  ## Upgrading
977
1029
 
978
- ### 2.4.4
979
-
980
- Due to a bug, newly forked queries stopped appearing on the home page when archiving was enabled. To restore them, run:
981
-
982
- ```ruby
983
- Blazer::Query.where(status: nil).update_all(status: "active")
984
- ```
985
-
986
1030
  ### 2.3
987
1031
 
988
1032
  To archive queries, create a migration