blazer 2.4.5 → 2.4.6

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: 256b02c0d10eeb150659e7ebc1ac2f954d80668d2c615dd70fbd17c059adc66b
4
- data.tar.gz: 19e6f582ee5e62df742d1fd2be4495a6fd60a5f8f11c2b880deef70fa71e4ce9
3
+ metadata.gz: '08400542eda5d82b7569d90dad5f6c700ceab0484bd339d096eee09626db97a5'
4
+ data.tar.gz: 609271bc5d4d07411b1505712ad2065fe91beff68092b66d28ecd42507d68d51
5
5
  SHA512:
6
- metadata.gz: 8b02fd069ed3fdde9b1a59e1b13a29c63eca1977f6f8028f1b1270fb8f60ab4b1a5feefcd3e283c5d88968782a46f783e19cda44985f4381c1334770bed95d5a
7
- data.tar.gz: b1ea01aaf738562070e1a5ffb7b02fd20f63f3734897b6a202aa7f193a2f914786f11b81fc0895718420e2798b1136ba0620aa3f2b91fbe6e5bbe6ac9433c502
6
+ metadata.gz: 246f1436dbe7ab10d06c345d3d31c45e5da2762865d4179a469b5d066f65f1a151dda065068d428ea19cc2fead84ba3e6e8844858a493b43fb04a17b081e4f0f
7
+ data.tar.gz: 436decf768b654fadb06e93a2414a087c816b509849d295e291275c7e69bcb73fdcabaf9496d2ee5c83146c29305aa2cc130a3b41b98617214c3033177931ae7
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 2.4.6 (2021-09-20)
2
+
3
+ - Added support for workgroup with Amazon Athena
4
+ - Added casting for timestamp with time zone columns with Amazon Athena
5
+ - Added support for setting credentials in config file with Amazon Athena
6
+ - Made output location optional with Amazon Athena
7
+ - Fixed casting error for `NULL` values with Amazon Athena
8
+ - Fixed issue with Google BigQuery only showing first page of results
9
+
1
10
  ## 2.4.5 (2021-09-15)
2
11
 
3
12
  - Improved fix for some forked queries not appearing on home page
data/README.md CHANGED
@@ -620,9 +620,49 @@ data_sources:
620
620
  my_source:
621
621
  adapter: athena
622
622
  database: database
623
+
624
+ # optional settings
623
625
  output_location: s3://some-bucket/
626
+ workgroup: primary
627
+ access_key_id: ...
628
+ secret_access_key: ...
629
+ ```
630
+
631
+ Here’s an example IAM policy:
632
+
633
+ ```json
634
+ {
635
+ "Version": "2012-10-17",
636
+ "Statement": [
637
+ {
638
+ "Effect": "Allow",
639
+ "Action": [
640
+ "athena:GetQueryExecution",
641
+ "athena:GetQueryResults",
642
+ "athena:StartQueryExecution"
643
+ ],
644
+ "Resource": [
645
+ "arn:aws:athena:region:account-id:workgroup/primary"
646
+ ]
647
+ },
648
+ {
649
+ "Effect": "Allow",
650
+ "Action": [
651
+ "glue:GetTable",
652
+ "glue:GetTables"
653
+ ],
654
+ "Resource": [
655
+ "arn:aws:glue:region:account-id:catalog",
656
+ "arn:aws:glue:region:account-id:database/default",
657
+ "arn:aws:glue:region:account-id:table/default/*"
658
+ ]
659
+ }
660
+ ]
661
+ }
624
662
  ```
625
663
 
664
+ You also need to configure [S3 permissions](https://aws.amazon.com/premiumsupport/knowledge-center/access-denied-athena/).
665
+
626
666
  ### Amazon Redshift
627
667
 
628
668
  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: