active_reporter 0.5.9 → 0.5.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a20dbac1b69255c7219dcdbdb71bcc5884ae8d8964e7c87cf5c4f89baaf18d6a
4
- data.tar.gz: 5352fbc91177cee2b242a2164a6e05db8acaebc9d67efce43c8f0b4897df9b9c
3
+ metadata.gz: 22aa53dc93b2b59ad6d4c7bafa231c2010df9593703b5d098dc695080d2013be
4
+ data.tar.gz: ce2f222ec13b3618e9e2993990d471806f5a8337f2dee4edd463e302c07deb6c
5
5
  SHA512:
6
- metadata.gz: 943fe66295a65dd7984d4785f003d717f808c156787577932b217fc75923886771d887e81a09b10a2307c1536fc6293479178b39e658f00c41d8e6fa6a335fe8
7
- data.tar.gz: a55aa6e716224d20f15488a7d9a9308d3d7d630fb31e1ca1847fb7d72f35ec59e81f12b553667e47660ea6a0ba8aa341d64ab8575be0fb690fb45c4fd31640f7
6
+ metadata.gz: 37c23e44eaee1213950e478c56ba2e32d1794c48404e9555dd4160e94d1b5d2632b425d1185267a5ec201276446a0b16a321dc9d6ca65f4c0db6a58d8ebfe828
7
+ data.tar.gz: 17b09fa7abe69324fad835ca9b9693be9900e20838974eec1409ab3a22577a3835f1e401a62ad95fa8c3e8264aeee98622e77f39110a91d7465be784ca06649d
@@ -57,6 +57,10 @@ module ActiveReporter
57
57
  @evaluators ||= build_axes(self.class.evaluators.slice(*(Array(params[:evaluators])+Array(params[:aggregators])).collect(&:to_sym).uniq))
58
58
  end
59
59
 
60
+ def all_aggregators
61
+ aggregators.merge(calculators).merge(trackers).merge(evaluators)
62
+ end
63
+
60
64
  def fields
61
65
  [groupers, calculators.keys, trackers.keys, evaluators.keys].inject(&:merge)
62
66
  end
@@ -85,7 +85,7 @@ module ActiveReporter
85
85
  end
86
86
 
87
87
  def axis_summary
88
- y = human_aggregator_label(report.aggregators)
88
+ y = human_aggregator_label(report.all_aggregators)
89
89
  xes = report.groupers.map(&method(:human_dimension_label))
90
90
  count = "#{report.records.count} #{record_type.pluralize(report.records.count, :_gem_active_reporter)}"
91
91
  "#{y} by #{xes.to_sentence} for #{count}"
@@ -12,7 +12,7 @@ module ActiveReporter
12
12
  end
13
13
 
14
14
  def aggregator_options
15
- @agg_opts ||= report.aggregators.map { |name, agg| [human_aggregator_label(agg), name] }
15
+ @agg_opts ||= report.all_aggregators.map { |name, agg| [human_aggregator_label(agg), name] }
16
16
  end
17
17
 
18
18
  def dimension_options
@@ -2,8 +2,8 @@ module ActiveReporter
2
2
  module Serializer
3
3
  class HashTable < Base
4
4
  def table
5
- fields = (report.grouper_names + report.aggregators.keys)
6
- titles = report.groupers.map(&method(:human_dimension_label)) + report.aggregators.collect { |k, v| human_aggregator_label({ k => v }) }
5
+ fields = (report.grouper_names + report.all_aggregators.keys)
6
+ titles = report.groupers.map(&method(:human_dimension_label)) + report.all_aggregators.collect { |k, v| human_aggregator_label({ k => v }) }
7
7
 
8
8
  [fields.zip(titles).to_h] + report.hashed_data.collect { |row| row.map { |k,v| [k, (v.respond_to?(:min) ? v.min : v).to_s] }.to_h}
9
9
  end
@@ -94,7 +94,7 @@ module ActiveReporter
94
94
  when 1
95
95
  dim1 = report.groupers.first
96
96
  [{
97
- name: human_aggregator_label(report.aggregators),
97
+ name: human_aggregator_label(report.all_aggregators),
98
98
  data: report.data.map { |d1| {
99
99
  y: d1[:value].to_f,
100
100
  tooltip: tooltip_for(dim1 => d1),
@@ -115,8 +115,8 @@ module ActiveReporter
115
115
  ]
116
116
  end
117
117
  lines << [
118
- human_aggregator_label(report.aggregators),
119
- human_aggregator_value_label(report.aggregators, xes[report.groupers.first][:value])
118
+ human_aggregator_label(report.all_aggregators),
119
+ human_aggregator_value_label(report.all_aggregators, xes[report.groupers.first][:value])
120
120
  ]
121
121
  lines.map { |k, v| "<b>#{k}:</b> #{v}" }.join('<br/>')
122
122
  end
@@ -147,7 +147,7 @@ module ActiveReporter
147
147
  end
148
148
 
149
149
  def y_axis_title
150
- human_aggregator_label(report.aggregators)
150
+ human_aggregator_label(report.all_aggregators)
151
151
  end
152
152
 
153
153
  def highcharts_options
@@ -3,7 +3,7 @@ module ActiveReporter
3
3
  class NestedHash < Base
4
4
  def table
5
5
  report.hashed_data.collect { |row| row.map { |k,v| [k, (v.respond_to?(:min) ? v.min : v).to_s] }.to_h }.collect do |row|
6
- report.grouper_names.reverse.inject(row.slice(*report.aggregators.keys)) { |nested_row_data, group| { row[group] => nested_row_data } }
6
+ report.grouper_names.reverse.inject(row.slice(*report.all_aggregators.keys)) { |nested_row_data, group| { row[group] => nested_row_data } }
7
7
  end.reduce({}, :merge)
8
8
  end
9
9
  end
@@ -2,14 +2,14 @@ module ActiveReporter
2
2
  module Serializer
3
3
  class Table < Base
4
4
  def headers
5
- report.groupers.map(&method(:human_dimension_label)) + [human_aggregator_label(report.aggregators)]
5
+ report.groupers.map(&method(:human_dimension_label)) + [human_aggregator_label(report.all_aggregators)]
6
6
  end
7
7
 
8
8
  def each_row
9
9
  return to_enum(__method__) unless block_given?
10
10
 
11
11
  report.flat_data.each do |xes, y|
12
- yield report.groupers.zip(xes).map { |d, v| human_dimension_value_label(d, v) } + [human_aggregator_value_label(report.aggregators, y)]
12
+ yield report.groupers.zip(xes).map { |d, v| human_dimension_value_label(d, v) } + [human_aggregator_value_label(report.all_aggregators, y)]
13
13
  end
14
14
  end
15
15
 
@@ -1,3 +1,3 @@
1
1
  module ActiveReporter
2
- VERSION = "0.5.9"
2
+ VERSION = "0.5.10"
3
3
  end
@@ -39537,3 +39537,2669 @@
39537
39537
  END
39538
39538
  ) GROUP BY _active_reporter_dimension_created_at, _active_reporter_dimension_likes, _active_reporter_dimension_title ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
39539
39539
   (0.3ms) ROLLBACK
39540
+  (6.6ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
39541
+  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
39542
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
39543
+  (0.3ms) BEGIN
39544
+  (0.2ms) SAVEPOINT active_record_1
39545
+ Author Create (7.9ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:44.753363"], ["updated_at", "2020-10-06 18:13:44.753363"], ["name", "James Joyce"]]
39546
+  (0.3ms) RELEASE SAVEPOINT active_record_1
39547
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
39548
+  (0.2ms) SAVEPOINT active_record_1
39549
+ Post Create (5.8ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:13:44.788655"], ["updated_at", "2020-10-06 18:13:44.788655"], ["author_id", 894], ["status", 2], ["likes", 1], ["published_at", "2015-10-01 00:00:00"]]
39550
+  (0.3ms) RELEASE SAVEPOINT active_record_1
39551
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
39552
+  (0.2ms) SAVEPOINT active_record_1
39553
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:13:44.799049"], ["updated_at", "2020-10-06 18:13:44.799049"], ["author_id", 894], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
39554
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39555
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
39556
+  (0.2ms) SAVEPOINT active_record_1
39557
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:13:44.802963"], ["updated_at", "2020-10-06 18:13:44.802963"], ["author_id", 894], ["status", 2], ["likes", 1], ["published_at", "2015-11-01 00:00:00"]]
39558
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39559
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
39560
+  (0.2ms) SAVEPOINT active_record_1
39561
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:44.807479"], ["updated_at", "2020-10-06 18:13:44.807479"], ["author_id", 894], ["status", 2], ["likes", 3]]
39562
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39563
+  (0.2ms) SAVEPOINT active_record_1
39564
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:44.811900"], ["updated_at", "2020-10-06 18:13:44.811900"], ["name", "Virginia Woolf"]]
39565
+  (0.3ms) RELEASE SAVEPOINT active_record_1
39566
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
39567
+  (0.2ms) SAVEPOINT active_record_1
39568
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:13:44.817037"], ["updated_at", "2020-10-06 18:13:44.817037"], ["author_id", 895], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
39569
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39570
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
39571
+  (0.2ms) SAVEPOINT active_record_1
39572
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:13:44.820780"], ["updated_at", "2020-10-06 18:13:44.820780"], ["author_id", 895], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
39573
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39574
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
39575
+  (0.2ms) SAVEPOINT active_record_1
39576
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:44.825773"], ["updated_at", "2020-10-06 18:13:44.825773"], ["author_id", 895], ["status", 2], ["likes", 3]]
39577
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39578
+  (0.2ms) SAVEPOINT active_record_1
39579
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:44.829670"], ["updated_at", "2020-10-06 18:13:44.829670"], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
39580
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39581
+  (0.2ms) SAVEPOINT active_record_1
39582
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:44.832830"], ["updated_at", "2020-10-06 18:13:44.832830"], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
39583
+  (0.3ms) RELEASE SAVEPOINT active_record_1
39584
+ Post Load (2.3ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
39585
+  (0.8ms) SELECT MIN(posts.published_at) FROM "posts"
39586
+  (0.5ms) SELECT MAX(posts.published_at) FROM "posts"
39587
+ Post Exists? (0.4ms) SELECT 1 AS one FROM "posts" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
39588
+ Post Load (7.5ms) SELECT _active_reporter_dimension_published_at_bin_table.bin_text AS _active_reporter_dimension_published_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN (
39589
+ SELECT CAST(NULL AS timestamp with time zone) AS min, CAST(NULL AS timestamp with time zone) AS max, CAST(',' AS text) AS bin_text UNION
39590
+ SELECT CAST('2015-10-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-10-01 00:00:00 UTC,2015-11-01 00:00:00 UTC' AS text) AS bin_text UNION
39591
+ SELECT CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-12-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-11-01 00:00:00 UTC,2015-12-01 00:00:00 UTC' AS text) AS bin_text
39592
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
39593
+ CASE
39594
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL AND _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at IS NULL)
39595
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
39596
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
39597
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
39598
+ END
39599
+ ) GROUP BY _active_reporter_dimension_published_at
39600
+  (0.7ms) SELECT MIN(posts.likes) FROM "posts"
39601
+  (0.5ms) SELECT MAX(posts.likes) FROM "posts"
39602
+ Post Exists? (1.1ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
39603
+ Post Load (2.2ms) SELECT _active_reporter_dimension_likes_bin_table.bin_text AS _active_reporter_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN (
39604
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
39605
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text UNION
39606
+ SELECT 3.0 AS min, 4.0 AS max, CAST('3.0,4.0' AS text) AS bin_text
39607
+ ) AS _active_reporter_dimension_likes_bin_table ON (
39608
+ CASE
39609
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL AND _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
39610
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
39611
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
39612
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
39613
+ END
39614
+ ) GROUP BY _active_reporter_dimension_likes
39615
+  (1.1ms) ROLLBACK
39616
+  (0.2ms) BEGIN
39617
+  (0.2ms) SAVEPOINT active_record_1
39618
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:44.909574"], ["updated_at", "2020-10-06 18:13:44.909574"], ["name", "James Joyce"]]
39619
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39620
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
39621
+  (0.2ms) SAVEPOINT active_record_1
39622
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:13:44.923622"], ["updated_at", "2020-10-06 18:13:44.923622"], ["author_id", 896], ["status", 2], ["likes", 1], ["published_at", "2015-10-01 00:00:00"]]
39623
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39624
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
39625
+  (0.2ms) SAVEPOINT active_record_1
39626
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:13:44.926580"], ["updated_at", "2020-10-06 18:13:44.926580"], ["author_id", 896], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
39627
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39628
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
39629
+  (0.2ms) SAVEPOINT active_record_1
39630
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:13:44.929285"], ["updated_at", "2020-10-06 18:13:44.929285"], ["author_id", 896], ["status", 2], ["likes", 1], ["published_at", "2015-11-01 00:00:00"]]
39631
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39632
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
39633
+  (0.2ms) SAVEPOINT active_record_1
39634
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:44.932318"], ["updated_at", "2020-10-06 18:13:44.932318"], ["author_id", 896], ["status", 2], ["likes", 3]]
39635
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39636
+  (0.1ms) SAVEPOINT active_record_1
39637
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:44.934478"], ["updated_at", "2020-10-06 18:13:44.934478"], ["name", "Virginia Woolf"]]
39638
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39639
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
39640
+  (0.2ms) SAVEPOINT active_record_1
39641
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:13:44.936839"], ["updated_at", "2020-10-06 18:13:44.936839"], ["author_id", 897], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
39642
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39643
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
39644
+  (0.2ms) SAVEPOINT active_record_1
39645
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:13:44.939606"], ["updated_at", "2020-10-06 18:13:44.939606"], ["author_id", 897], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
39646
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39647
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
39648
+  (0.2ms) SAVEPOINT active_record_1
39649
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:44.942639"], ["updated_at", "2020-10-06 18:13:44.942639"], ["author_id", 897], ["status", 2], ["likes", 3]]
39650
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39651
+  (0.2ms) SAVEPOINT active_record_1
39652
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:44.945440"], ["updated_at", "2020-10-06 18:13:44.945440"], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
39653
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39654
+  (0.2ms) SAVEPOINT active_record_1
39655
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:44.947863"], ["updated_at", "2020-10-06 18:13:44.947863"], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
39656
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39657
+  (0.6ms) SELECT MIN(posts.published_at) FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id"
39658
+  (0.5ms) SELECT MAX(posts.published_at) FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id"
39659
+ Post Exists? (0.4ms) SELECT 1 AS one FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
39660
+ Post Load (1.2ms) SELECT _active_reporter_dimension_published_at_bin_table.bin_text AS _active_reporter_dimension_published_at, authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
39661
+ SELECT CAST(NULL AS timestamp with time zone) AS min, CAST(NULL AS timestamp with time zone) AS max, CAST(',' AS text) AS bin_text UNION
39662
+ SELECT CAST('2015-10-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-10-01 00:00:00 UTC,2015-11-01 00:00:00 UTC' AS text) AS bin_text UNION
39663
+ SELECT CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-12-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-11-01 00:00:00 UTC,2015-12-01 00:00:00 UTC' AS text) AS bin_text
39664
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
39665
+ CASE
39666
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL AND _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at IS NULL)
39667
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
39668
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
39669
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
39670
+ END
39671
+ ) GROUP BY _active_reporter_dimension_published_at, _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
39672
+  (0.4ms) ROLLBACK
39673
+  (0.1ms) BEGIN
39674
+  (0.1ms) SAVEPOINT active_record_1
39675
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:44.970346"], ["updated_at", "2020-10-06 18:13:44.970346"], ["name", "James Joyce"]]
39676
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39677
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
39678
+  (0.2ms) SAVEPOINT active_record_1
39679
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:13:44.973508"], ["updated_at", "2020-10-06 18:13:44.973508"], ["author_id", 898], ["status", 2], ["likes", 1], ["published_at", "2015-10-01 00:00:00"]]
39680
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39681
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
39682
+  (0.1ms) SAVEPOINT active_record_1
39683
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:13:44.976139"], ["updated_at", "2020-10-06 18:13:44.976139"], ["author_id", 898], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
39684
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39685
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
39686
+  (0.2ms) SAVEPOINT active_record_1
39687
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:13:44.978954"], ["updated_at", "2020-10-06 18:13:44.978954"], ["author_id", 898], ["status", 2], ["likes", 1], ["published_at", "2015-11-01 00:00:00"]]
39688
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39689
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
39690
+  (0.1ms) SAVEPOINT active_record_1
39691
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:44.981877"], ["updated_at", "2020-10-06 18:13:44.981877"], ["author_id", 898], ["status", 2], ["likes", 3]]
39692
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39693
+  (0.2ms) SAVEPOINT active_record_1
39694
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:44.984037"], ["updated_at", "2020-10-06 18:13:44.984037"], ["name", "Virginia Woolf"]]
39695
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39696
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
39697
+  (0.1ms) SAVEPOINT active_record_1
39698
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:13:44.986658"], ["updated_at", "2020-10-06 18:13:44.986658"], ["author_id", 899], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
39699
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39700
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
39701
+  (0.2ms) SAVEPOINT active_record_1
39702
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:13:44.989226"], ["updated_at", "2020-10-06 18:13:44.989226"], ["author_id", 899], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
39703
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39704
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
39705
+  (0.1ms) SAVEPOINT active_record_1
39706
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:44.991870"], ["updated_at", "2020-10-06 18:13:44.991870"], ["author_id", 899], ["status", 2], ["likes", 3]]
39707
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39708
+  (0.1ms) SAVEPOINT active_record_1
39709
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:44.993993"], ["updated_at", "2020-10-06 18:13:44.993993"], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
39710
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39711
+  (0.2ms) SAVEPOINT active_record_1
39712
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:44.995901"], ["updated_at", "2020-10-06 18:13:44.995901"], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
39713
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39714
+ Post Load (1.0ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author DESC NULLS LAST
39715
+  (0.4ms) SELECT MIN(posts.published_at) FROM "posts"
39716
+  (0.5ms) SELECT MAX(posts.published_at) FROM "posts"
39717
+ Post Exists? (0.4ms) SELECT 1 AS one FROM "posts" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
39718
+ Post Load (1.4ms) SELECT _active_reporter_dimension_published_at_bin_table.bin_text AS _active_reporter_dimension_published_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN (
39719
+ SELECT CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-12-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-11-01 00:00:00 UTC,2015-12-01 00:00:00 UTC' AS text) AS bin_text UNION
39720
+ SELECT CAST('2015-10-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-10-01 00:00:00 UTC,2015-11-01 00:00:00 UTC' AS text) AS bin_text UNION
39721
+ SELECT CAST(NULL AS timestamp with time zone) AS min, CAST(NULL AS timestamp with time zone) AS max, CAST(',' AS text) AS bin_text
39722
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
39723
+ CASE
39724
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL AND _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at IS NULL)
39725
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
39726
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
39727
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
39728
+ END
39729
+ ) GROUP BY _active_reporter_dimension_published_at
39730
+ Post Load (2.4ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS LAST
39731
+ Post Load (1.4ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author DESC NULLS FIRST
39732
+  (1.0ms) SELECT MIN(posts.published_at) FROM "posts"
39733
+  (0.5ms) SELECT MAX(posts.published_at) FROM "posts"
39734
+ Post Exists? (0.4ms) SELECT 1 AS one FROM "posts" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
39735
+ Post Load (1.4ms) SELECT _active_reporter_dimension_published_at_bin_table.bin_text AS _active_reporter_dimension_published_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN (
39736
+ SELECT CAST('2015-10-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-10-01 00:00:00 UTC,2015-11-01 00:00:00 UTC' AS text) AS bin_text UNION
39737
+ SELECT CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-12-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-11-01 00:00:00 UTC,2015-12-01 00:00:00 UTC' AS text) AS bin_text UNION
39738
+ SELECT CAST(NULL AS timestamp with time zone) AS min, CAST(NULL AS timestamp with time zone) AS max, CAST(',' AS text) AS bin_text
39739
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
39740
+ CASE
39741
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL AND _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at IS NULL)
39742
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
39743
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
39744
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
39745
+ END
39746
+ ) GROUP BY _active_reporter_dimension_published_at
39747
+  (0.7ms) SELECT MIN(posts.published_at) FROM "posts"
39748
+  (0.4ms) SELECT MAX(posts.published_at) FROM "posts"
39749
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
39750
+ Post Load (1.3ms) SELECT _active_reporter_dimension_published_at_bin_table.bin_text AS _active_reporter_dimension_published_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN (
39751
+ SELECT CAST(NULL AS timestamp with time zone) AS min, CAST(NULL AS timestamp with time zone) AS max, CAST(',' AS text) AS bin_text UNION
39752
+ SELECT CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-12-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-11-01 00:00:00 UTC,2015-12-01 00:00:00 UTC' AS text) AS bin_text UNION
39753
+ SELECT CAST('2015-10-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-10-01 00:00:00 UTC,2015-11-01 00:00:00 UTC' AS text) AS bin_text
39754
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
39755
+ CASE
39756
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL AND _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at IS NULL)
39757
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
39758
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
39759
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
39760
+ END
39761
+ ) GROUP BY _active_reporter_dimension_published_at
39762
+  (0.3ms) ROLLBACK
39763
+  (0.2ms) BEGIN
39764
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
39765
+  (0.2ms) SAVEPOINT active_record_1
39766
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.053509"], ["updated_at", "2020-10-06 18:13:45.053509"], ["name", "Alice"]]
39767
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39768
+  (0.2ms) SAVEPOINT active_record_1
39769
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.055344"], ["updated_at", "2020-10-06 18:13:45.055344"], ["author_id", 900], ["status", 2], ["likes", 3]]
39770
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39771
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
39772
+  (0.2ms) SAVEPOINT active_record_1
39773
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.058366"], ["updated_at", "2020-10-06 18:13:45.058366"], ["author_id", 900], ["status", 2], ["likes", 2]]
39774
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39775
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
39776
+  (0.1ms) SAVEPOINT active_record_1
39777
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.061391"], ["updated_at", "2020-10-06 18:13:45.061391"], ["name", "Bob"]]
39778
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39779
+  (0.2ms) SAVEPOINT active_record_1
39780
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.062908"], ["updated_at", "2020-10-06 18:13:45.062908"], ["author_id", 901], ["status", 2], ["likes", 4]]
39781
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39782
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
39783
+  (0.2ms) SAVEPOINT active_record_1
39784
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.065970"], ["updated_at", "2020-10-06 18:13:45.065970"], ["author_id", 901], ["status", 2], ["likes", 1]]
39785
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39786
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
39787
+  (0.2ms) SAVEPOINT active_record_1
39788
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.068587"], ["updated_at", "2020-10-06 18:13:45.068587"], ["author_id", 901], ["status", 2], ["likes", 5]]
39789
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39790
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
39791
+  (0.2ms) SAVEPOINT active_record_1
39792
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.071650"], ["updated_at", "2020-10-06 18:13:45.071650"], ["name", "Chester"]]
39793
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39794
+  (0.2ms) SAVEPOINT active_record_1
39795
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.073290"], ["updated_at", "2020-10-06 18:13:45.073290"], ["author_id", 902], ["status", 2], ["likes", 10]]
39796
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39797
+ Post Load (0.8ms) SELECT authors.name AS _active_reporter_dimension_author, posts.status AS _active_reporter_dimension_status, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_status ORDER BY _active_reporter_dimension_author ASC NULLS FIRST, _active_reporter_dimension_status ASC NULLS FIRST
39798
+  (0.2ms) ROLLBACK
39799
+  (0.2ms) BEGIN
39800
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
39801
+  (0.2ms) SAVEPOINT active_record_1
39802
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.081101"], ["updated_at", "2020-10-06 18:13:45.081101"], ["name", "Alice"]]
39803
+  (0.3ms) RELEASE SAVEPOINT active_record_1
39804
+  (0.2ms) SAVEPOINT active_record_1
39805
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.083242"], ["updated_at", "2020-10-06 18:13:45.083242"], ["author_id", 903], ["status", 2], ["likes", 3]]
39806
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39807
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
39808
+  (0.3ms) SAVEPOINT active_record_1
39809
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.086867"], ["updated_at", "2020-10-06 18:13:45.086867"], ["author_id", 903], ["status", 2], ["likes", 2]]
39810
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39811
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
39812
+  (0.1ms) SAVEPOINT active_record_1
39813
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.090227"], ["updated_at", "2020-10-06 18:13:45.090227"], ["name", "Bob"]]
39814
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39815
+  (0.2ms) SAVEPOINT active_record_1
39816
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.091988"], ["updated_at", "2020-10-06 18:13:45.091988"], ["author_id", 904], ["status", 2], ["likes", 4]]
39817
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39818
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
39819
+  (0.2ms) SAVEPOINT active_record_1
39820
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.094950"], ["updated_at", "2020-10-06 18:13:45.094950"], ["author_id", 904], ["status", 2], ["likes", 1]]
39821
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39822
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
39823
+  (0.2ms) SAVEPOINT active_record_1
39824
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.097865"], ["updated_at", "2020-10-06 18:13:45.097865"], ["author_id", 904], ["status", 2], ["likes", 5]]
39825
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39826
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
39827
+  (0.2ms) SAVEPOINT active_record_1
39828
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.101052"], ["updated_at", "2020-10-06 18:13:45.101052"], ["name", "Chester"]]
39829
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39830
+  (0.2ms) SAVEPOINT active_record_1
39831
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.102974"], ["updated_at", "2020-10-06 18:13:45.102974"], ["author_id", 905], ["status", 2], ["likes", 10]]
39832
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39833
+ Post Load (0.9ms) SELECT authors.name AS _active_reporter_dimension_author, posts.status AS _active_reporter_dimension_status, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_status ORDER BY _active_reporter_dimension_author ASC NULLS FIRST, _active_reporter_dimension_status ASC NULLS FIRST
39834
+  (0.3ms) ROLLBACK
39835
+  (0.1ms) BEGIN
39836
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
39837
+  (0.1ms) SAVEPOINT active_record_1
39838
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.109955"], ["updated_at", "2020-10-06 18:13:45.109955"], ["name", "Alice"]]
39839
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39840
+  (0.1ms) SAVEPOINT active_record_1
39841
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.111718"], ["updated_at", "2020-10-06 18:13:45.111718"], ["author_id", 906], ["status", 2], ["likes", 3]]
39842
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39843
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
39844
+  (0.2ms) SAVEPOINT active_record_1
39845
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.114674"], ["updated_at", "2020-10-06 18:13:45.114674"], ["author_id", 906], ["status", 2], ["likes", 2]]
39846
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39847
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
39848
+  (0.2ms) SAVEPOINT active_record_1
39849
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.117427"], ["updated_at", "2020-10-06 18:13:45.117427"], ["name", "Bob"]]
39850
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39851
+  (0.3ms) SAVEPOINT active_record_1
39852
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.119241"], ["updated_at", "2020-10-06 18:13:45.119241"], ["author_id", 907], ["status", 2], ["likes", 4]]
39853
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39854
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
39855
+  (0.2ms) SAVEPOINT active_record_1
39856
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.122366"], ["updated_at", "2020-10-06 18:13:45.122366"], ["author_id", 907], ["status", 2], ["likes", 1]]
39857
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39858
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
39859
+  (0.2ms) SAVEPOINT active_record_1
39860
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.125921"], ["updated_at", "2020-10-06 18:13:45.125921"], ["author_id", 907], ["status", 2], ["likes", 5]]
39861
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39862
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
39863
+  (0.1ms) SAVEPOINT active_record_1
39864
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.128821"], ["updated_at", "2020-10-06 18:13:45.128821"], ["name", "Chester"]]
39865
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39866
+  (0.2ms) SAVEPOINT active_record_1
39867
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.130594"], ["updated_at", "2020-10-06 18:13:45.130594"], ["author_id", 908], ["status", 2], ["likes", 10]]
39868
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39869
+ Post Load (0.7ms) SELECT authors.name AS _active_reporter_dimension_author, posts.status AS _active_reporter_dimension_status, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_status ORDER BY _active_reporter_dimension_author ASC NULLS FIRST, _active_reporter_dimension_status ASC NULLS FIRST
39870
+  (0.2ms) ROLLBACK
39871
+  (0.1ms) BEGIN
39872
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
39873
+  (0.1ms) SAVEPOINT active_record_1
39874
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.138462"], ["updated_at", "2020-10-06 18:13:45.138462"], ["name", "Alice"]]
39875
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39876
+  (0.2ms) SAVEPOINT active_record_1
39877
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.140279"], ["updated_at", "2020-10-06 18:13:45.140279"], ["author_id", 909], ["status", 2], ["likes", 3]]
39878
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39879
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
39880
+  (0.1ms) SAVEPOINT active_record_1
39881
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.143196"], ["updated_at", "2020-10-06 18:13:45.143196"], ["author_id", 909], ["status", 2], ["likes", 2]]
39882
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39883
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
39884
+  (0.1ms) SAVEPOINT active_record_1
39885
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.146038"], ["updated_at", "2020-10-06 18:13:45.146038"], ["name", "Bob"]]
39886
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39887
+  (0.2ms) SAVEPOINT active_record_1
39888
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.147775"], ["updated_at", "2020-10-06 18:13:45.147775"], ["author_id", 910], ["status", 2], ["likes", 4]]
39889
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39890
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
39891
+  (0.2ms) SAVEPOINT active_record_1
39892
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.151123"], ["updated_at", "2020-10-06 18:13:45.151123"], ["author_id", 910], ["status", 2], ["likes", 1]]
39893
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39894
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
39895
+  (0.2ms) SAVEPOINT active_record_1
39896
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.154316"], ["updated_at", "2020-10-06 18:13:45.154316"], ["author_id", 910], ["status", 2], ["likes", 5]]
39897
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39898
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
39899
+  (0.2ms) SAVEPOINT active_record_1
39900
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.157395"], ["updated_at", "2020-10-06 18:13:45.157395"], ["name", "Chester"]]
39901
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39902
+  (0.1ms) SAVEPOINT active_record_1
39903
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.159029"], ["updated_at", "2020-10-06 18:13:45.159029"], ["author_id", 911], ["status", 2], ["likes", 10]]
39904
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39905
+ Post Load (0.6ms) SELECT authors.name AS _active_reporter_dimension_author, posts.status AS _active_reporter_dimension_status, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_status ORDER BY _active_reporter_dimension_author ASC NULLS FIRST, _active_reporter_dimension_status ASC NULLS FIRST
39906
+  (0.3ms) ROLLBACK
39907
+  (0.1ms) BEGIN
39908
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
39909
+  (0.2ms) SAVEPOINT active_record_1
39910
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.166060"], ["updated_at", "2020-10-06 18:13:45.166060"], ["name", "Alice"]]
39911
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39912
+  (0.2ms) SAVEPOINT active_record_1
39913
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.167975"], ["updated_at", "2020-10-06 18:13:45.167975"], ["author_id", 912], ["status", 2], ["likes", 3]]
39914
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39915
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
39916
+  (0.1ms) SAVEPOINT active_record_1
39917
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.170889"], ["updated_at", "2020-10-06 18:13:45.170889"], ["author_id", 912], ["status", 2], ["likes", 2]]
39918
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39919
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
39920
+  (0.2ms) SAVEPOINT active_record_1
39921
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.173821"], ["updated_at", "2020-10-06 18:13:45.173821"], ["name", "Bob"]]
39922
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39923
+  (0.2ms) SAVEPOINT active_record_1
39924
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.175394"], ["updated_at", "2020-10-06 18:13:45.175394"], ["author_id", 913], ["status", 2], ["likes", 4]]
39925
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39926
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
39927
+  (0.1ms) SAVEPOINT active_record_1
39928
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.177933"], ["updated_at", "2020-10-06 18:13:45.177933"], ["author_id", 913], ["status", 2], ["likes", 1]]
39929
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39930
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
39931
+  (0.2ms) SAVEPOINT active_record_1
39932
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.180716"], ["updated_at", "2020-10-06 18:13:45.180716"], ["author_id", 913], ["status", 2], ["likes", 5]]
39933
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39934
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
39935
+  (0.2ms) SAVEPOINT active_record_1
39936
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.183727"], ["updated_at", "2020-10-06 18:13:45.183727"], ["name", "Chester"]]
39937
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39938
+  (0.1ms) SAVEPOINT active_record_1
39939
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.185584"], ["updated_at", "2020-10-06 18:13:45.185584"], ["author_id", 914], ["status", 2], ["likes", 10]]
39940
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39941
+ Post Load (0.9ms) SELECT authors.name AS _active_reporter_dimension_author, posts.status AS _active_reporter_dimension_status, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_status ORDER BY _active_reporter_dimension_author ASC NULLS FIRST, _active_reporter_dimension_status ASC NULLS FIRST
39942
+  (0.2ms) ROLLBACK
39943
+  (0.1ms) BEGIN
39944
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
39945
+  (0.2ms) SAVEPOINT active_record_1
39946
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.192422"], ["updated_at", "2020-10-06 18:13:45.192422"], ["name", "Alice"]]
39947
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39948
+  (0.1ms) SAVEPOINT active_record_1
39949
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.194088"], ["updated_at", "2020-10-06 18:13:45.194088"], ["author_id", 915], ["status", 2], ["likes", 3]]
39950
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39951
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
39952
+  (0.2ms) SAVEPOINT active_record_1
39953
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.196636"], ["updated_at", "2020-10-06 18:13:45.196636"], ["author_id", 915], ["status", 2], ["likes", 2]]
39954
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39955
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
39956
+  (0.2ms) SAVEPOINT active_record_1
39957
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.199990"], ["updated_at", "2020-10-06 18:13:45.199990"], ["name", "Bob"]]
39958
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39959
+  (0.2ms) SAVEPOINT active_record_1
39960
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.201873"], ["updated_at", "2020-10-06 18:13:45.201873"], ["author_id", 916], ["status", 2], ["likes", 4]]
39961
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39962
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
39963
+  (0.2ms) SAVEPOINT active_record_1
39964
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.204795"], ["updated_at", "2020-10-06 18:13:45.204795"], ["author_id", 916], ["status", 2], ["likes", 1]]
39965
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39966
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
39967
+  (0.2ms) SAVEPOINT active_record_1
39968
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.207349"], ["updated_at", "2020-10-06 18:13:45.207349"], ["author_id", 916], ["status", 2], ["likes", 5]]
39969
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39970
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
39971
+  (0.1ms) SAVEPOINT active_record_1
39972
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.209941"], ["updated_at", "2020-10-06 18:13:45.209941"], ["name", "Chester"]]
39973
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39974
+  (0.2ms) SAVEPOINT active_record_1
39975
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:13:45.211492"], ["updated_at", "2020-10-06 18:13:45.211492"], ["author_id", 917], ["status", 2], ["likes", 10]]
39976
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39977
+ Post Load (0.7ms) SELECT authors.name AS _active_reporter_dimension_author, posts.status AS _active_reporter_dimension_status, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_status ORDER BY _active_reporter_dimension_author ASC NULLS FIRST, _active_reporter_dimension_status ASC NULLS FIRST
39978
+  (0.2ms) ROLLBACK
39979
+  (0.1ms) BEGIN
39980
+  (0.1ms) ROLLBACK
39981
+  (0.2ms) BEGIN
39982
+  (0.2ms) ROLLBACK
39983
+  (0.1ms) BEGIN
39984
+  (0.1ms) ROLLBACK
39985
+  (0.1ms) BEGIN
39986
+  (0.1ms) ROLLBACK
39987
+  (0.1ms) BEGIN
39988
+  (0.1ms) ROLLBACK
39989
+  (0.1ms) BEGIN
39990
+  (0.1ms) ROLLBACK
39991
+  (0.1ms) BEGIN
39992
+  (0.2ms) ROLLBACK
39993
+  (0.1ms) BEGIN
39994
+  (0.1ms) ROLLBACK
39995
+  (0.1ms) BEGIN
39996
+  (0.1ms) ROLLBACK
39997
+  (0.2ms) BEGIN
39998
+  (0.2ms) ROLLBACK
39999
+  (0.1ms) BEGIN
40000
+  (0.1ms) ROLLBACK
40001
+  (0.2ms) BEGIN
40002
+  (0.1ms) ROLLBACK
40003
+  (0.2ms) BEGIN
40004
+  (0.1ms) ROLLBACK
40005
+  (0.1ms) BEGIN
40006
+  (0.1ms) ROLLBACK
40007
+  (0.1ms) BEGIN
40008
+  (0.1ms) ROLLBACK
40009
+  (0.1ms) BEGIN
40010
+  (0.2ms) ROLLBACK
40011
+  (0.1ms) BEGIN
40012
+  (0.2ms) ROLLBACK
40013
+  (0.1ms) BEGIN
40014
+  (0.2ms) ROLLBACK
40015
+  (0.1ms) BEGIN
40016
+  (0.2ms) ROLLBACK
40017
+  (0.2ms) BEGIN
40018
+  (0.5ms) SELECT MIN(posts.likes) FROM "posts"
40019
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
40020
+  (0.2ms) SAVEPOINT active_record_1
40021
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 18:13:45.248241"], ["updated_at", "2020-10-06 18:13:45.248241"], ["status", 2], ["likes", 3]]
40022
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40023
+  (0.2ms) SAVEPOINT active_record_1
40024
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 18:13:45.250312"], ["updated_at", "2020-10-06 18:13:45.250312"], ["status", 2], ["likes", 10]]
40025
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40026
+  (0.2ms) SAVEPOINT active_record_1
40027
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 18:13:45.252501"], ["updated_at", "2020-10-06 18:13:45.252501"], ["status", 2], ["likes", 1]]
40028
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40029
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
40030
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
40031
+  (0.2ms) ROLLBACK
40032
+  (0.1ms) BEGIN
40033
+  (0.3ms) ROLLBACK
40034
+  (0.1ms) BEGIN
40035
+  (0.1ms) SAVEPOINT active_record_1
40036
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 18:13:45.273012"], ["updated_at", "2020-10-06 18:13:45.273012"], ["status", 2], ["likes", 2]]
40037
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40038
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
40039
+ Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
40040
+  (0.1ms) ROLLBACK
40041
+  (0.1ms) BEGIN
40042
+  (0.2ms) ROLLBACK
40043
+  (0.1ms) BEGIN
40044
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
40045
+  (0.1ms) SAVEPOINT active_record_1
40046
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.279182"], ["updated_at", "2020-10-06 18:13:45.279182"], ["name", "Alice"]]
40047
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40048
+  (0.1ms) SAVEPOINT active_record_1
40049
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 18:13:45.280785"], ["updated_at", "2020-10-06 18:13:45.280785"], ["author_id", 918], ["status", 2]]
40050
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40051
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
40052
+  (0.1ms) SAVEPOINT active_record_1
40053
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.283407"], ["updated_at", "2020-10-06 18:13:45.283407"], ["name", "Bob"]]
40054
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40055
+  (0.1ms) SAVEPOINT active_record_1
40056
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 18:13:45.284938"], ["updated_at", "2020-10-06 18:13:45.284938"], ["author_id", 919], ["status", 2]]
40057
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40058
+  (0.1ms) SAVEPOINT active_record_1
40059
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.286568"], ["updated_at", "2020-10-06 18:13:45.286568"], ["status", 2]]
40060
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40061
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice'))
40062
+ Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL))
40063
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice'))
40064
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob'))
40065
+ Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))
40066
+  (0.1ms) ROLLBACK
40067
+  (0.1ms) BEGIN
40068
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
40069
+  (0.2ms) SAVEPOINT active_record_1
40070
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.295405"], ["updated_at", "2020-10-06 18:13:45.295405"], ["name", "Alice"]]
40071
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40072
+  (0.1ms) SAVEPOINT active_record_1
40073
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 18:13:45.296958"], ["updated_at", "2020-10-06 18:13:45.296958"], ["author_id", 920], ["status", 2]]
40074
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40075
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
40076
+  (0.2ms) SAVEPOINT active_record_1
40077
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 18:13:45.299514"], ["updated_at", "2020-10-06 18:13:45.299514"], ["author_id", 920], ["status", 2]]
40078
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40079
+  (0.2ms) SAVEPOINT active_record_1
40080
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.301659"], ["updated_at", "2020-10-06 18:13:45.301659"], ["status", 2]]
40081
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40082
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
40083
+  (0.1ms) SAVEPOINT active_record_1
40084
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.304055"], ["updated_at", "2020-10-06 18:13:45.304055"], ["name", "Bob"]]
40085
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40086
+  (0.2ms) SAVEPOINT active_record_1
40087
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 18:13:45.305423"], ["updated_at", "2020-10-06 18:13:45.305423"], ["author_id", 921], ["status", 2]]
40088
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40089
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
40090
+  (0.1ms) SAVEPOINT active_record_1
40091
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 18:13:45.307592"], ["updated_at", "2020-10-06 18:13:45.307592"], ["author_id", 921], ["status", 2]]
40092
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40093
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
40094
+  (0.1ms) SAVEPOINT active_record_1
40095
+ Post Create (0.2ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 18:13:45.309652"], ["updated_at", "2020-10-06 18:13:45.309652"], ["author_id", 921], ["status", 2]]
40096
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40097
+ Post Load (0.6ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
40098
+  (0.2ms) ROLLBACK
40099
+  (0.1ms) BEGIN
40100
+  (0.1ms) ROLLBACK
40101
+  (0.2ms) BEGIN
40102
+  (0.3ms) ROLLBACK
40103
+  (0.2ms) BEGIN
40104
+  (0.2ms) ROLLBACK
40105
+  (0.2ms) BEGIN
40106
+  (0.1ms) ROLLBACK
40107
+  (0.2ms) BEGIN
40108
+  (0.2ms) ROLLBACK
40109
+  (0.2ms) BEGIN
40110
+  (0.2ms) ROLLBACK
40111
+  (0.1ms) BEGIN
40112
+  (0.1ms) ROLLBACK
40113
+  (0.1ms) BEGIN
40114
+  (0.2ms) ROLLBACK
40115
+  (0.1ms) BEGIN
40116
+  (0.2ms) ROLLBACK
40117
+  (0.2ms) BEGIN
40118
+  (0.1ms) ROLLBACK
40119
+  (0.1ms) BEGIN
40120
+  (0.1ms) ROLLBACK
40121
+  (0.1ms) BEGIN
40122
+  (0.2ms) ROLLBACK
40123
+  (0.1ms) BEGIN
40124
+  (0.2ms) ROLLBACK
40125
+  (0.1ms) BEGIN
40126
+  (0.1ms) ROLLBACK
40127
+  (0.1ms) BEGIN
40128
+  (0.1ms) ROLLBACK
40129
+  (0.1ms) BEGIN
40130
+  (0.1ms) ROLLBACK
40131
+  (0.1ms) BEGIN
40132
+  (0.1ms) ROLLBACK
40133
+  (0.1ms) BEGIN
40134
+  (0.2ms) ROLLBACK
40135
+  (0.1ms) BEGIN
40136
+  (0.2ms) ROLLBACK
40137
+  (0.1ms) BEGIN
40138
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40139
+  (0.2ms) SAVEPOINT active_record_1
40140
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.351757"], ["updated_at", "2020-10-06 18:13:45.351757"], ["name", "Tammy"]]
40141
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40142
+  (0.2ms) SAVEPOINT active_record_1
40143
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2018-12-18 00:00:00"], ["updated_at", "2020-10-06 18:13:45.353692"], ["author_id", 922], ["status", 2], ["likes", 23]]
40144
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40145
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40146
+  (0.2ms) SAVEPOINT active_record_1
40147
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.356863"], ["author_id", 922], ["status", 2], ["likes", 7]]
40148
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40149
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40150
+  (0.2ms) SAVEPOINT active_record_1
40151
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-06 18:13:45.359720"], ["author_id", 922], ["status", 2], ["likes", 4]]
40152
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40153
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40154
+  (0.2ms) SAVEPOINT active_record_1
40155
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-08 00:00:00"], ["updated_at", "2020-10-06 18:13:45.362810"], ["author_id", 922], ["status", 2], ["likes", 11]]
40156
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40157
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40158
+  (0.2ms) SAVEPOINT active_record_1
40159
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.366303"], ["updated_at", "2020-10-06 18:13:45.366303"], ["name", "Timmy"]]
40160
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40161
+  (0.2ms) SAVEPOINT active_record_1
40162
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-06 18:13:45.368217"], ["author_id", 923], ["status", 2], ["likes", 3]]
40163
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40164
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40165
+  (0.2ms) SAVEPOINT active_record_1
40166
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-02-27 00:00:00"], ["updated_at", "2020-10-06 18:13:45.371629"], ["author_id", 923], ["status", 2], ["likes", 24]]
40167
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40168
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40169
+  (0.2ms) SAVEPOINT active_record_1
40170
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-02-28 00:00:00"], ["updated_at", "2020-10-06 18:13:45.374595"], ["author_id", 923], ["status", 2]]
40171
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40172
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40173
+  (0.2ms) SAVEPOINT active_record_1
40174
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.377676"], ["author_id", 923], ["status", 2], ["likes", 19]]
40175
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40176
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40177
+  (0.2ms) SAVEPOINT active_record_1
40178
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-04-08 00:00:00"], ["updated_at", "2020-10-06 18:13:45.381661"], ["author_id", 923], ["status", 2], ["likes", 8]]
40179
+  (0.3ms) RELEASE SAVEPOINT active_record_1
40180
+  (6.0ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00')
40181
+ Post Exists? (0.6ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
40182
+ Post Load (1.4ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
40183
+ SELECT CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-01-01 00:00:00 UTC,2019-02-01 00:00:00 UTC' AS text) AS bin_text UNION
40184
+ SELECT CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-02-01 00:00:00 UTC,2019-03-01 00:00:00 UTC' AS text) AS bin_text UNION
40185
+ SELECT CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-03-01 00:00:00 UTC,2019-04-01 00:00:00 UTC' AS text) AS bin_text UNION
40186
+ SELECT CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-04-01 00:00:00 UTC,2019-05-01 00:00:00 UTC' AS text) AS bin_text
40187
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
40188
+ CASE
40189
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
40190
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
40191
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
40192
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
40193
+ END
40194
+ ) WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
40195
+  (0.3ms) ROLLBACK
40196
+  (0.2ms) BEGIN
40197
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40198
+  (0.3ms) SAVEPOINT active_record_1
40199
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.409714"], ["updated_at", "2020-10-06 18:13:45.409714"], ["name", "Tammy"]]
40200
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40201
+  (0.2ms) SAVEPOINT active_record_1
40202
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2018-12-18 00:00:00"], ["updated_at", "2020-10-06 18:13:45.411978"], ["author_id", 924], ["status", 2], ["likes", 23]]
40203
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40204
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40205
+  (0.2ms) SAVEPOINT active_record_1
40206
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.415735"], ["author_id", 924], ["status", 2], ["likes", 7]]
40207
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40208
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40209
+  (0.2ms) SAVEPOINT active_record_1
40210
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-06 18:13:45.419547"], ["author_id", 924], ["status", 2], ["likes", 4]]
40211
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40212
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40213
+  (0.2ms) SAVEPOINT active_record_1
40214
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-08 00:00:00"], ["updated_at", "2020-10-06 18:13:45.422358"], ["author_id", 924], ["status", 2], ["likes", 11]]
40215
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40216
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40217
+  (0.2ms) SAVEPOINT active_record_1
40218
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.424894"], ["updated_at", "2020-10-06 18:13:45.424894"], ["name", "Timmy"]]
40219
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40220
+  (0.1ms) SAVEPOINT active_record_1
40221
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-06 18:13:45.426683"], ["author_id", 925], ["status", 2], ["likes", 3]]
40222
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40223
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40224
+  (0.3ms) SAVEPOINT active_record_1
40225
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-02-27 00:00:00"], ["updated_at", "2020-10-06 18:13:45.429425"], ["author_id", 925], ["status", 2], ["likes", 24]]
40226
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40227
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40228
+  (0.2ms) SAVEPOINT active_record_1
40229
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-02-28 00:00:00"], ["updated_at", "2020-10-06 18:13:45.432639"], ["author_id", 925], ["status", 2]]
40230
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40231
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40232
+  (0.2ms) SAVEPOINT active_record_1
40233
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.435864"], ["author_id", 925], ["status", 2], ["likes", 19]]
40234
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40235
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40236
+  (0.2ms) SAVEPOINT active_record_1
40237
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-04-08 00:00:00"], ["updated_at", "2020-10-06 18:13:45.438626"], ["author_id", 925], ["status", 2], ["likes", 8]]
40238
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40239
+  (0.6ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00')
40240
+ Post Exists? (0.6ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
40241
+ Post Load (1.6ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
40242
+ SELECT CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-01-01 00:00:00 UTC,2019-02-01 00:00:00 UTC' AS text) AS bin_text UNION
40243
+ SELECT CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-02-01 00:00:00 UTC,2019-03-01 00:00:00 UTC' AS text) AS bin_text UNION
40244
+ SELECT CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-03-01 00:00:00 UTC,2019-04-01 00:00:00 UTC' AS text) AS bin_text UNION
40245
+ SELECT CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-04-01 00:00:00 UTC,2019-05-01 00:00:00 UTC' AS text) AS bin_text
40246
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
40247
+ CASE
40248
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
40249
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
40250
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
40251
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
40252
+ END
40253
+ ) WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
40254
+  (0.3ms) ROLLBACK
40255
+  (0.2ms) BEGIN
40256
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40257
+  (0.2ms) SAVEPOINT active_record_1
40258
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.460344"], ["updated_at", "2020-10-06 18:13:45.460344"], ["name", "Tammy"]]
40259
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40260
+  (0.1ms) SAVEPOINT active_record_1
40261
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2018-12-18 00:00:00"], ["updated_at", "2020-10-06 18:13:45.462220"], ["author_id", 926], ["status", 2], ["likes", 23]]
40262
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40263
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40264
+  (0.2ms) SAVEPOINT active_record_1
40265
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.465275"], ["author_id", 926], ["status", 2], ["likes", 7]]
40266
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40267
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40268
+  (0.2ms) SAVEPOINT active_record_1
40269
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-06 18:13:45.468732"], ["author_id", 926], ["status", 2], ["likes", 4]]
40270
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40271
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40272
+  (0.2ms) SAVEPOINT active_record_1
40273
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-08 00:00:00"], ["updated_at", "2020-10-06 18:13:45.471748"], ["author_id", 926], ["status", 2], ["likes", 11]]
40274
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40275
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40276
+  (0.1ms) SAVEPOINT active_record_1
40277
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.474820"], ["updated_at", "2020-10-06 18:13:45.474820"], ["name", "Timmy"]]
40278
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40279
+  (0.2ms) SAVEPOINT active_record_1
40280
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-06 18:13:45.476305"], ["author_id", 927], ["status", 2], ["likes", 3]]
40281
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40282
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40283
+  (0.2ms) SAVEPOINT active_record_1
40284
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-02-27 00:00:00"], ["updated_at", "2020-10-06 18:13:45.478987"], ["author_id", 927], ["status", 2], ["likes", 24]]
40285
+  (0.3ms) RELEASE SAVEPOINT active_record_1
40286
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40287
+  (0.2ms) SAVEPOINT active_record_1
40288
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-02-28 00:00:00"], ["updated_at", "2020-10-06 18:13:45.482590"], ["author_id", 927], ["status", 2]]
40289
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40290
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40291
+  (0.2ms) SAVEPOINT active_record_1
40292
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.485982"], ["author_id", 927], ["status", 2], ["likes", 19]]
40293
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40294
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40295
+  (0.2ms) SAVEPOINT active_record_1
40296
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-04-08 00:00:00"], ["updated_at", "2020-10-06 18:13:45.489643"], ["author_id", 927], ["status", 2], ["likes", 8]]
40297
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40298
+  (0.7ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00')
40299
+ Post Exists? (0.5ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
40300
+ Post Load (1.5ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
40301
+ SELECT CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-01-01 00:00:00 UTC,2019-02-01 00:00:00 UTC' AS text) AS bin_text UNION
40302
+ SELECT CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-02-01 00:00:00 UTC,2019-03-01 00:00:00 UTC' AS text) AS bin_text UNION
40303
+ SELECT CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-03-01 00:00:00 UTC,2019-04-01 00:00:00 UTC' AS text) AS bin_text UNION
40304
+ SELECT CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-04-01 00:00:00 UTC,2019-05-01 00:00:00 UTC' AS text) AS bin_text
40305
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
40306
+ CASE
40307
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
40308
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
40309
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
40310
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
40311
+ END
40312
+ ) WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
40313
+  (0.4ms) ROLLBACK
40314
+  (0.1ms) BEGIN
40315
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40316
+  (0.2ms) SAVEPOINT active_record_1
40317
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.509414"], ["updated_at", "2020-10-06 18:13:45.509414"], ["name", "Tammy"]]
40318
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40319
+  (0.2ms) SAVEPOINT active_record_1
40320
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2018-12-18 00:00:00"], ["updated_at", "2020-10-06 18:13:45.511354"], ["author_id", 928], ["status", 2], ["likes", 23]]
40321
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40322
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40323
+  (0.1ms) SAVEPOINT active_record_1
40324
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.514362"], ["author_id", 928], ["status", 2], ["likes", 7]]
40325
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40326
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40327
+  (0.2ms) SAVEPOINT active_record_1
40328
+ Post Create (0.6ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-06 18:13:45.517740"], ["author_id", 928], ["status", 2], ["likes", 4]]
40329
+  (0.7ms) RELEASE SAVEPOINT active_record_1
40330
+ Author Load (0.5ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40331
+  (0.2ms) SAVEPOINT active_record_1
40332
+ Post Create (1.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-08 00:00:00"], ["updated_at", "2020-10-06 18:13:45.522886"], ["author_id", 928], ["status", 2], ["likes", 11]]
40333
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40334
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40335
+  (0.3ms) SAVEPOINT active_record_1
40336
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.527669"], ["updated_at", "2020-10-06 18:13:45.527669"], ["name", "Timmy"]]
40337
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40338
+  (0.2ms) SAVEPOINT active_record_1
40339
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-06 18:13:45.529535"], ["author_id", 929], ["status", 2], ["likes", 3]]
40340
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40341
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40342
+  (0.2ms) SAVEPOINT active_record_1
40343
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-02-27 00:00:00"], ["updated_at", "2020-10-06 18:13:45.533019"], ["author_id", 929], ["status", 2], ["likes", 24]]
40344
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40345
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40346
+  (0.2ms) SAVEPOINT active_record_1
40347
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-02-28 00:00:00"], ["updated_at", "2020-10-06 18:13:45.536287"], ["author_id", 929], ["status", 2]]
40348
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40349
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40350
+  (0.2ms) SAVEPOINT active_record_1
40351
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.539102"], ["author_id", 929], ["status", 2], ["likes", 19]]
40352
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40353
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40354
+  (0.2ms) SAVEPOINT active_record_1
40355
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-04-08 00:00:00"], ["updated_at", "2020-10-06 18:13:45.542091"], ["author_id", 929], ["status", 2], ["likes", 8]]
40356
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40357
+  (0.7ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00')
40358
+ Post Exists? (0.6ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
40359
+ Post Load (1.5ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
40360
+ SELECT CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-01-01 00:00:00 UTC,2019-02-01 00:00:00 UTC' AS text) AS bin_text UNION
40361
+ SELECT CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-02-01 00:00:00 UTC,2019-03-01 00:00:00 UTC' AS text) AS bin_text UNION
40362
+ SELECT CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-03-01 00:00:00 UTC,2019-04-01 00:00:00 UTC' AS text) AS bin_text UNION
40363
+ SELECT CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-04-01 00:00:00 UTC,2019-05-01 00:00:00 UTC' AS text) AS bin_text
40364
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
40365
+ CASE
40366
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
40367
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
40368
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
40369
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
40370
+ END
40371
+ ) WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
40372
+ Post Load (0.8ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
40373
+ Post Load (0.7ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
40374
+  (0.4ms) ROLLBACK
40375
+  (0.2ms) BEGIN
40376
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40377
+  (0.1ms) SAVEPOINT active_record_1
40378
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.570231"], ["updated_at", "2020-10-06 18:13:45.570231"], ["name", "Tammy"]]
40379
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40380
+  (0.2ms) SAVEPOINT active_record_1
40381
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2018-12-18 00:00:00"], ["updated_at", "2020-10-06 18:13:45.572003"], ["author_id", 930], ["status", 2], ["likes", 23]]
40382
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40383
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40384
+  (0.2ms) SAVEPOINT active_record_1
40385
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.575313"], ["author_id", 930], ["status", 2], ["likes", 7]]
40386
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40387
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40388
+  (0.1ms) SAVEPOINT active_record_1
40389
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-06 18:13:45.578195"], ["author_id", 930], ["status", 2], ["likes", 4]]
40390
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40391
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40392
+  (0.2ms) SAVEPOINT active_record_1
40393
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-08 00:00:00"], ["updated_at", "2020-10-06 18:13:45.581182"], ["author_id", 930], ["status", 2], ["likes", 11]]
40394
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40395
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40396
+  (0.2ms) SAVEPOINT active_record_1
40397
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.584283"], ["updated_at", "2020-10-06 18:13:45.584283"], ["name", "Timmy"]]
40398
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40399
+  (0.1ms) SAVEPOINT active_record_1
40400
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-06 18:13:45.586025"], ["author_id", 931], ["status", 2], ["likes", 3]]
40401
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40402
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40403
+  (0.2ms) SAVEPOINT active_record_1
40404
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-02-27 00:00:00"], ["updated_at", "2020-10-06 18:13:45.589128"], ["author_id", 931], ["status", 2], ["likes", 24]]
40405
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40406
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40407
+  (0.2ms) SAVEPOINT active_record_1
40408
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-02-28 00:00:00"], ["updated_at", "2020-10-06 18:13:45.591973"], ["author_id", 931], ["status", 2]]
40409
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40410
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40411
+  (0.2ms) SAVEPOINT active_record_1
40412
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.594517"], ["author_id", 931], ["status", 2], ["likes", 19]]
40413
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40414
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40415
+  (0.1ms) SAVEPOINT active_record_1
40416
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-04-08 00:00:00"], ["updated_at", "2020-10-06 18:13:45.597249"], ["author_id", 931], ["status", 2], ["likes", 8]]
40417
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40418
+  (0.6ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00')
40419
+ Post Exists? (0.8ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
40420
+ Post Exists? (0.7ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.created_at >= '2018-12-01 00:00:00' AND posts.created_at < '2019-01-01 00:00:00')) AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
40421
+ Post Load (0.9ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
40422
+ SELECT CAST('2018-12-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS max, CAST('2018-12-01 00:00:00 UTC,2019-01-01 00:00:00 UTC' AS text) AS bin_text
40423
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
40424
+ CASE
40425
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
40426
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
40427
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
40428
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
40429
+ END
40430
+ ) WHERE ((posts.created_at >= '2018-12-01 00:00:00' AND posts.created_at < '2019-01-01 00:00:00')) GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST LIMIT $1 [["LIMIT", 1]]
40431
+ Post Load (0.9ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
40432
+ SELECT CAST('2018-12-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS max, CAST('2018-12-01 00:00:00 UTC,2019-01-01 00:00:00 UTC' AS text) AS bin_text
40433
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
40434
+ CASE
40435
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
40436
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
40437
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
40438
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
40439
+ END
40440
+ ) WHERE ((posts.created_at >= '2018-12-01 00:00:00' AND posts.created_at < '2019-01-01 00:00:00')) GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
40441
+ Post Load (1.5ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
40442
+ SELECT CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-01-01 00:00:00 UTC,2019-02-01 00:00:00 UTC' AS text) AS bin_text UNION
40443
+ SELECT CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-02-01 00:00:00 UTC,2019-03-01 00:00:00 UTC' AS text) AS bin_text UNION
40444
+ SELECT CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-03-01 00:00:00 UTC,2019-04-01 00:00:00 UTC' AS text) AS bin_text UNION
40445
+ SELECT CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-04-01 00:00:00 UTC,2019-05-01 00:00:00 UTC' AS text) AS bin_text
40446
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
40447
+ CASE
40448
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
40449
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
40450
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
40451
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
40452
+ END
40453
+ ) WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
40454
+  (0.4ms) ROLLBACK
40455
+  (0.2ms) BEGIN
40456
+  (0.2ms) ROLLBACK
40457
+  (0.1ms) BEGIN
40458
+  (0.2ms) ROLLBACK
40459
+  (0.1ms) BEGIN
40460
+  (0.2ms) ROLLBACK
40461
+  (0.2ms) BEGIN
40462
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
40463
+  (0.2ms) SAVEPOINT active_record_1
40464
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.632931"], ["updated_at", "2020-10-06 18:13:45.632931"], ["name", "Phil"]]
40465
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40466
+  (0.2ms) SAVEPOINT active_record_1
40467
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.634973"], ["author_id", 932], ["status", 2]]
40468
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40469
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
40470
+  (0.2ms) SAVEPOINT active_record_1
40471
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.638012"], ["author_id", 932], ["status", 2]]
40472
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40473
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phyllis"], ["LIMIT", 1]]
40474
+  (0.1ms) SAVEPOINT active_record_1
40475
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.640649"], ["updated_at", "2020-10-06 18:13:45.640649"], ["name", "Phyllis"]]
40476
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40477
+  (0.2ms) SAVEPOINT active_record_1
40478
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.642297"], ["author_id", 933], ["status", 2]]
40479
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40480
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phyllis"], ["LIMIT", 1]]
40481
+  (0.2ms) SAVEPOINT active_record_1
40482
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.644876"], ["author_id", 933], ["status", 2]]
40483
+  (0.3ms) RELEASE SAVEPOINT active_record_1
40484
+ Post Load (0.4ms) SELECT "posts".* FROM "posts"
40485
+  (0.2ms) ROLLBACK
40486
+  (0.1ms) BEGIN
40487
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
40488
+  (0.3ms) SAVEPOINT active_record_1
40489
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.651230"], ["updated_at", "2020-10-06 18:13:45.651230"], ["name", "Phil"]]
40490
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40491
+  (0.2ms) SAVEPOINT active_record_1
40492
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.653195"], ["author_id", 934], ["status", 2]]
40493
+  (0.3ms) RELEASE SAVEPOINT active_record_1
40494
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
40495
+  (0.2ms) SAVEPOINT active_record_1
40496
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.656347"], ["author_id", 934], ["status", 2]]
40497
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40498
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phyllis"], ["LIMIT", 1]]
40499
+  (0.2ms) SAVEPOINT active_record_1
40500
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.659137"], ["updated_at", "2020-10-06 18:13:45.659137"], ["name", "Phyllis"]]
40501
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40502
+  (0.1ms) SAVEPOINT active_record_1
40503
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.660984"], ["author_id", 935], ["status", 2]]
40504
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40505
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phyllis"], ["LIMIT", 1]]
40506
+  (0.2ms) SAVEPOINT active_record_1
40507
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.663739"], ["author_id", 935], ["status", 2]]
40508
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40509
+ Post Load (0.3ms) SELECT "posts".* FROM "posts"
40510
+  (0.2ms) ROLLBACK
40511
+  (0.2ms) BEGIN
40512
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
40513
+  (0.2ms) SAVEPOINT active_record_1
40514
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.670222"], ["updated_at", "2020-10-06 18:13:45.670222"], ["name", "Phil"]]
40515
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40516
+  (0.1ms) SAVEPOINT active_record_1
40517
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.671993"], ["author_id", 936], ["status", 2]]
40518
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40519
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
40520
+  (0.2ms) SAVEPOINT active_record_1
40521
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.674641"], ["author_id", 936], ["status", 2]]
40522
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40523
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (authors.name IN ('Phil'))
40524
+  (0.3ms) ROLLBACK
40525
+  (0.1ms) BEGIN
40526
+ Post Exists? (0.5ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (authors.name IN ('')) LIMIT $1 [["LIMIT", 1]]
40527
+  (0.2ms) ROLLBACK
40528
+  (0.1ms) BEGIN
40529
+ Post Exists? (0.6ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (authors.name IS NULL OR authors.name IN (NULL)) LIMIT $1 [["LIMIT", 1]]
40530
+  (0.3ms) ROLLBACK
40531
+  (0.2ms) BEGIN
40532
+  (0.2ms) ROLLBACK
40533
+  (0.1ms) BEGIN
40534
+  (0.1ms) ROLLBACK
40535
+  (0.2ms) BEGIN
40536
+  (0.1ms) ROLLBACK
40537
+  (0.1ms) BEGIN
40538
+  (0.2ms) ROLLBACK
40539
+  (0.2ms) BEGIN
40540
+  (0.2ms) ROLLBACK
40541
+  (0.2ms) BEGIN
40542
+  (0.3ms) ROLLBACK
40543
+  (0.2ms) BEGIN
40544
+  (0.2ms) ROLLBACK
40545
+  (0.1ms) BEGIN
40546
+  (0.2ms) ROLLBACK
40547
+  (0.2ms) BEGIN
40548
+  (0.1ms) ROLLBACK
40549
+  (0.2ms) BEGIN
40550
+  (0.2ms) ROLLBACK
40551
+  (0.1ms) BEGIN
40552
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40553
+  (0.2ms) SAVEPOINT active_record_1
40554
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.709127"], ["updated_at", "2020-10-06 18:13:45.709127"], ["name", "Timmy"]]
40555
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40556
+  (0.1ms) SAVEPOINT active_record_1
40557
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.711043"], ["author_id", 937], ["status", 2], ["likes", 1]]
40558
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40559
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40560
+  (0.2ms) SAVEPOINT active_record_1
40561
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-06 18:13:45.713677"], ["author_id", 937], ["status", 2], ["likes", 2]]
40562
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40563
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40564
+  (0.2ms) SAVEPOINT active_record_1
40565
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.717004"], ["updated_at", "2020-10-06 18:13:45.717004"], ["name", "Tammy"]]
40566
+  (0.3ms) RELEASE SAVEPOINT active_record_1
40567
+  (0.2ms) SAVEPOINT active_record_1
40568
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-06 18:13:45.718873"], ["author_id", 938], ["status", 2], ["likes", 3]]
40569
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40570
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40571
+  (0.1ms) SAVEPOINT active_record_1
40572
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.721724"], ["author_id", 938], ["status", 2], ["likes", 4]]
40573
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40574
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40575
+  (0.1ms) SAVEPOINT active_record_1
40576
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-15 00:00:00"], ["updated_at", "2020-10-06 18:13:45.724380"], ["author_id", 938], ["status", 2], ["likes", 2]]
40577
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40578
+ Post Load (0.5ms) SELECT 'totals' AS _active_reporter_dimension_totals, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" GROUP BY _active_reporter_dimension_totals ORDER BY _active_reporter_dimension_totals ASC NULLS FIRST
40579
+  (0.3ms) ROLLBACK
40580
+  (0.2ms) BEGIN
40581
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40582
+  (0.2ms) SAVEPOINT active_record_1
40583
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.730977"], ["updated_at", "2020-10-06 18:13:45.730977"], ["name", "Timmy"]]
40584
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40585
+  (0.1ms) SAVEPOINT active_record_1
40586
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.733066"], ["author_id", 939], ["status", 2], ["likes", 1]]
40587
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40588
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
40589
+  (0.2ms) SAVEPOINT active_record_1
40590
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-06 18:13:45.736378"], ["author_id", 939], ["status", 2], ["likes", 2]]
40591
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40592
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40593
+  (0.2ms) SAVEPOINT active_record_1
40594
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:13:45.739433"], ["updated_at", "2020-10-06 18:13:45.739433"], ["name", "Tammy"]]
40595
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40596
+  (0.2ms) SAVEPOINT active_record_1
40597
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-06 18:13:45.741171"], ["author_id", 940], ["status", 2], ["likes", 3]]
40598
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40599
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40600
+  (0.2ms) SAVEPOINT active_record_1
40601
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.743860"], ["author_id", 940], ["status", 2], ["likes", 4]]
40602
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40603
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
40604
+  (0.1ms) SAVEPOINT active_record_1
40605
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-15 00:00:00"], ["updated_at", "2020-10-06 18:13:45.746406"], ["author_id", 940], ["status", 2], ["likes", 2]]
40606
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40607
+ Post Load (0.7ms) SELECT 'totals' AS _active_reporter_dimension_totals, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (authors.name IN ('Tammy')) GROUP BY _active_reporter_dimension_totals ORDER BY _active_reporter_dimension_totals ASC NULLS FIRST
40608
+ Post Load (0.5ms) SELECT 'totals' AS _active_reporter_dimension_totals, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" GROUP BY _active_reporter_dimension_totals ORDER BY _active_reporter_dimension_totals ASC NULLS FIRST
40609
+  (0.2ms) ROLLBACK
40610
+  (0.2ms) BEGIN
40611
+  (0.2ms) SAVEPOINT active_record_1
40612
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.755150"], ["title", "A"], ["status", 2], ["likes", 2]]
40613
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40614
+  (0.2ms) SAVEPOINT active_record_1
40615
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.757452"], ["title", "A"], ["status", 2], ["likes", 2]]
40616
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40617
+  (0.1ms) SAVEPOINT active_record_1
40618
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.759531"], ["title", "B"], ["status", 2], ["likes", 1]]
40619
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40620
+  (0.1ms) SAVEPOINT active_record_1
40621
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-06 18:13:45.761322"], ["title", "A"], ["status", 2], ["likes", 1]]
40622
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40623
+  (0.2ms) ROLLBACK
40624
+  (0.3ms) BEGIN
40625
+  (0.2ms) SAVEPOINT active_record_1
40626
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.765556"], ["title", "A"], ["status", 2], ["likes", 2]]
40627
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40628
+  (0.2ms) SAVEPOINT active_record_1
40629
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.767895"], ["title", "A"], ["status", 2], ["likes", 2]]
40630
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40631
+  (0.1ms) SAVEPOINT active_record_1
40632
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.770126"], ["title", "B"], ["status", 2], ["likes", 1]]
40633
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40634
+  (0.1ms) SAVEPOINT active_record_1
40635
+ Post Create (0.9ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-06 18:13:45.772039"], ["title", "A"], ["status", 2], ["likes", 1]]
40636
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40637
+  (0.2ms) ROLLBACK
40638
+  (0.3ms) BEGIN
40639
+  (0.2ms) SAVEPOINT active_record_1
40640
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.777454"], ["title", "A"], ["status", 2], ["likes", 2]]
40641
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40642
+  (0.1ms) SAVEPOINT active_record_1
40643
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.779916"], ["title", "A"], ["status", 2], ["likes", 2]]
40644
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40645
+  (0.2ms) SAVEPOINT active_record_1
40646
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.782081"], ["title", "B"], ["status", 2], ["likes", 1]]
40647
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40648
+  (0.2ms) SAVEPOINT active_record_1
40649
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-06 18:13:45.784368"], ["title", "A"], ["status", 2], ["likes", 1]]
40650
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40651
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
40652
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
40653
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
40654
+ Post Load (1.1ms) SELECT posts.title AS _active_reporter_dimension_title, _active_reporter_dimension_likes_bin_table.bin_text AS _active_reporter_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
40655
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
40656
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
40657
+ ) AS _active_reporter_dimension_likes_bin_table ON (
40658
+ CASE
40659
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL AND _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
40660
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
40661
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
40662
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
40663
+ END
40664
+ ) GROUP BY _active_reporter_dimension_title, _active_reporter_dimension_likes ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
40665
+  (0.2ms) ROLLBACK
40666
+  (0.2ms) BEGIN
40667
+  (0.1ms) SAVEPOINT active_record_1
40668
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.793175"], ["title", "A"], ["status", 2], ["likes", 2]]
40669
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40670
+  (0.2ms) SAVEPOINT active_record_1
40671
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.795371"], ["title", "A"], ["status", 2], ["likes", 2]]
40672
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40673
+  (0.2ms) SAVEPOINT active_record_1
40674
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.797550"], ["title", "B"], ["status", 2], ["likes", 1]]
40675
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40676
+  (0.3ms) SAVEPOINT active_record_1
40677
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-06 18:13:45.799952"], ["title", "A"], ["status", 2], ["likes", 1]]
40678
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40679
+  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"
40680
+  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"
40681
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
40682
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
40683
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
40684
+ Post Exists? (0.4ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
40685
+ Post Load (1.2ms) SELECT posts.title AS _active_reporter_dimension_title, _active_reporter_dimension_likes_bin_table.bin_text AS _active_reporter_dimension_likes, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
40686
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
40687
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
40688
+ ) AS _active_reporter_dimension_likes_bin_table ON (
40689
+ CASE
40690
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL AND _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
40691
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
40692
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
40693
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
40694
+ END
40695
+ ) INNER JOIN (
40696
+ SELECT CAST('2016-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
40697
+ SELECT CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
40698
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
40699
+ CASE
40700
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
40701
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
40702
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
40703
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
40704
+ END
40705
+ ) GROUP BY _active_reporter_dimension_title, _active_reporter_dimension_likes, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
40706
+  (0.3ms) ROLLBACK
40707
+  (0.2ms) BEGIN
40708
+  (0.2ms) SAVEPOINT active_record_1
40709
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.815803"], ["title", "A"], ["status", 2], ["likes", 2]]
40710
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40711
+  (0.2ms) SAVEPOINT active_record_1
40712
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.818086"], ["title", "A"], ["status", 2], ["likes", 2]]
40713
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40714
+  (0.1ms) SAVEPOINT active_record_1
40715
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.820243"], ["title", "B"], ["status", 2], ["likes", 1]]
40716
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40717
+  (0.2ms) SAVEPOINT active_record_1
40718
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-06 18:13:45.822250"], ["title", "A"], ["status", 2], ["likes", 1]]
40719
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40720
+  (0.2ms) ROLLBACK
40721
+  (0.1ms) BEGIN
40722
+  (0.2ms) SAVEPOINT active_record_1
40723
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.826401"], ["title", "A"], ["status", 2], ["likes", 2]]
40724
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40725
+  (0.2ms) SAVEPOINT active_record_1
40726
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.828722"], ["title", "A"], ["status", 2], ["likes", 2]]
40727
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40728
+  (0.2ms) SAVEPOINT active_record_1
40729
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.830895"], ["title", "B"], ["status", 2], ["likes", 1]]
40730
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40731
+  (0.2ms) SAVEPOINT active_record_1
40732
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-06 18:13:45.833132"], ["title", "A"], ["status", 2], ["likes", 1]]
40733
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40734
+  (0.3ms) ROLLBACK
40735
+  (0.1ms) BEGIN
40736
+  (0.3ms) SAVEPOINT active_record_1
40737
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.840798"], ["title", "A"], ["status", 2], ["likes", 2]]
40738
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40739
+  (0.1ms) SAVEPOINT active_record_1
40740
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.843381"], ["title", "A"], ["status", 2], ["likes", 2]]
40741
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40742
+  (0.1ms) SAVEPOINT active_record_1
40743
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:13:45.845369"], ["title", "B"], ["status", 2], ["likes", 1]]
40744
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40745
+  (0.2ms) SAVEPOINT active_record_1
40746
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-06 18:13:45.847273"], ["title", "A"], ["status", 2], ["likes", 1]]
40747
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40748
+  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"
40749
+  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"
40750
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
40751
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
40752
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
40753
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
40754
+ Post Load (1.6ms) SELECT _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, _active_reporter_dimension_likes_bin_table.bin_text AS _active_reporter_dimension_likes, posts.title AS _active_reporter_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
40755
+ SELECT CAST('2016-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
40756
+ SELECT CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
40757
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
40758
+ CASE
40759
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
40760
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
40761
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
40762
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
40763
+ END
40764
+ ) INNER JOIN (
40765
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
40766
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
40767
+ ) AS _active_reporter_dimension_likes_bin_table ON (
40768
+ CASE
40769
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL AND _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
40770
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
40771
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
40772
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
40773
+ END
40774
+ ) GROUP BY _active_reporter_dimension_created_at, _active_reporter_dimension_likes, _active_reporter_dimension_title ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
40775
+  (0.2ms) ROLLBACK
40776
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" LIMIT $1 [["LIMIT", 11]]
40777
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" LIMIT $1 [["LIMIT", 11]]
40778
+ Post Load (0.9ms) SELECT posts.title AS _active_reporter_dimension_title, _active_reporter_dimension_likes_bin_table.bin_text AS _active_reporter_dimension_likes FROM "posts" INNER JOIN (
40779
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
40780
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
40781
+ ) AS _active_reporter_dimension_likes_bin_table ON (
40782
+ CASE
40783
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL AND _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
40784
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
40785
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
40786
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
40787
+ END
40788
+ ) GROUP BY _active_reporter_dimension_title, _active_reporter_dimension_likes ORDER BY _active_reporter_dimension_title ASC NULLS FIRST LIMIT $1 [["LIMIT", 11]]
40789
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" LIMIT $1 [["LIMIT", 11]]
40790
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" LIMIT $1 [["LIMIT", 11]]
40791
+ Post Load (0.7ms) SELECT posts.title AS _active_reporter_dimension_title, _active_reporter_dimension_likes_bin_table.bin_text AS _active_reporter_dimension_likes FROM "posts" INNER JOIN (
40792
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
40793
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
40794
+ ) AS _active_reporter_dimension_likes_bin_table ON (
40795
+ CASE
40796
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL AND _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
40797
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
40798
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
40799
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
40800
+ END
40801
+ ) GROUP BY _active_reporter_dimension_title, _active_reporter_dimension_likes ORDER BY _active_reporter_dimension_title ASC NULLS FIRST LIMIT $1 [["LIMIT", 11]]
40802
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" LIMIT $1 [["LIMIT", 11]]
40803
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" LIMIT $1 [["LIMIT", 11]]
40804
+ Post Load (0.7ms) SELECT posts.title AS _active_reporter_dimension_title, _active_reporter_dimension_likes_bin_table.bin_text AS _active_reporter_dimension_likes FROM "posts" INNER JOIN (
40805
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
40806
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
40807
+ ) AS _active_reporter_dimension_likes_bin_table ON (
40808
+ CASE
40809
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL AND _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
40810
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
40811
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
40812
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
40813
+ END
40814
+ ) GROUP BY _active_reporter_dimension_title, _active_reporter_dimension_likes ORDER BY _active_reporter_dimension_title ASC NULLS FIRST LIMIT $1 [["LIMIT", 11]]
40815
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" LIMIT $1 [["LIMIT", 11]]
40816
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" LIMIT $1 [["LIMIT", 11]]
40817
+ Post Load (1.3ms) SELECT posts.title AS _active_reporter_dimension_title, _active_reporter_dimension_likes_bin_table.bin_text AS _active_reporter_dimension_likes, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at FROM "posts" INNER JOIN (
40818
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
40819
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
40820
+ ) AS _active_reporter_dimension_likes_bin_table ON (
40821
+ CASE
40822
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL AND _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
40823
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
40824
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
40825
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
40826
+ END
40827
+ ) INNER JOIN (
40828
+ SELECT CAST('2016-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
40829
+ SELECT CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
40830
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
40831
+ CASE
40832
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
40833
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
40834
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
40835
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
40836
+ END
40837
+ ) GROUP BY _active_reporter_dimension_title, _active_reporter_dimension_likes, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_title ASC NULLS FIRST LIMIT $1 [["LIMIT", 11]]
40838
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" LIMIT $1 [["LIMIT", 11]]
40839
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" LIMIT $1 [["LIMIT", 11]]
40840
+ Post Load (0.9ms) SELECT posts.title AS _active_reporter_dimension_title, _active_reporter_dimension_likes_bin_table.bin_text AS _active_reporter_dimension_likes, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at FROM "posts" INNER JOIN (
40841
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
40842
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
40843
+ ) AS _active_reporter_dimension_likes_bin_table ON (
40844
+ CASE
40845
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL AND _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
40846
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
40847
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
40848
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
40849
+ END
40850
+ ) INNER JOIN (
40851
+ SELECT CAST('2016-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
40852
+ SELECT CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
40853
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
40854
+ CASE
40855
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
40856
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
40857
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
40858
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
40859
+ END
40860
+ ) GROUP BY _active_reporter_dimension_title, _active_reporter_dimension_likes, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_title ASC NULLS FIRST LIMIT $1 [["LIMIT", 11]]
40861
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" LIMIT $1 [["LIMIT", 11]]
40862
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" LIMIT $1 [["LIMIT", 11]]
40863
+ Post Load (0.9ms) SELECT posts.title AS _active_reporter_dimension_title, _active_reporter_dimension_likes_bin_table.bin_text AS _active_reporter_dimension_likes, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at FROM "posts" INNER JOIN (
40864
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
40865
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
40866
+ ) AS _active_reporter_dimension_likes_bin_table ON (
40867
+ CASE
40868
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL AND _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
40869
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
40870
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
40871
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
40872
+ END
40873
+ ) INNER JOIN (
40874
+ SELECT CAST('2016-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
40875
+ SELECT CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
40876
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
40877
+ CASE
40878
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
40879
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
40880
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
40881
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
40882
+ END
40883
+ ) GROUP BY _active_reporter_dimension_title, _active_reporter_dimension_likes, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_title ASC NULLS FIRST LIMIT $1 [["LIMIT", 11]]
40884
+ Post Load (0.4ms) SELECT "posts".* FROM "posts" LIMIT $1 [["LIMIT", 11]]
40885
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" LIMIT $1 [["LIMIT", 11]]
40886
+ Post Load (0.9ms) SELECT _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, _active_reporter_dimension_likes_bin_table.bin_text AS _active_reporter_dimension_likes, posts.title AS _active_reporter_dimension_title FROM "posts" INNER JOIN (
40887
+ SELECT CAST('2016-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
40888
+ SELECT CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
40889
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
40890
+ CASE
40891
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
40892
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
40893
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
40894
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
40895
+ END
40896
+ ) INNER JOIN (
40897
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
40898
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
40899
+ ) AS _active_reporter_dimension_likes_bin_table ON (
40900
+ CASE
40901
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL AND _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
40902
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
40903
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
40904
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
40905
+ END
40906
+ ) GROUP BY _active_reporter_dimension_created_at, _active_reporter_dimension_likes, _active_reporter_dimension_title ORDER BY _active_reporter_dimension_title ASC NULLS FIRST LIMIT $1 [["LIMIT", 11]]
40907
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" LIMIT $1 [["LIMIT", 11]]
40908
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" LIMIT $1 [["LIMIT", 11]]
40909
+ Post Load (1.4ms) SELECT _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, _active_reporter_dimension_likes_bin_table.bin_text AS _active_reporter_dimension_likes, posts.title AS _active_reporter_dimension_title FROM "posts" INNER JOIN (
40910
+ SELECT CAST('2016-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
40911
+ SELECT CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
40912
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
40913
+ CASE
40914
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
40915
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
40916
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
40917
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
40918
+ END
40919
+ ) INNER JOIN (
40920
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
40921
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
40922
+ ) AS _active_reporter_dimension_likes_bin_table ON (
40923
+ CASE
40924
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL AND _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
40925
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
40926
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
40927
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
40928
+ END
40929
+ ) GROUP BY _active_reporter_dimension_created_at, _active_reporter_dimension_likes, _active_reporter_dimension_title ORDER BY _active_reporter_dimension_title ASC NULLS FIRST LIMIT $1 [["LIMIT", 11]]
40930
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" LIMIT $1 [["LIMIT", 11]]
40931
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" LIMIT $1 [["LIMIT", 11]]
40932
+ Post Load (1.4ms) SELECT _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, _active_reporter_dimension_likes_bin_table.bin_text AS _active_reporter_dimension_likes, posts.title AS _active_reporter_dimension_title FROM "posts" INNER JOIN (
40933
+ SELECT CAST('2016-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
40934
+ SELECT CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
40935
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
40936
+ CASE
40937
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
40938
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
40939
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
40940
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
40941
+ END
40942
+ ) INNER JOIN (
40943
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
40944
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
40945
+ ) AS _active_reporter_dimension_likes_bin_table ON (
40946
+ CASE
40947
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL AND _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
40948
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
40949
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
40950
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
40951
+ END
40952
+ ) GROUP BY _active_reporter_dimension_created_at, _active_reporter_dimension_likes, _active_reporter_dimension_title ORDER BY _active_reporter_dimension_title ASC NULLS FIRST LIMIT $1 [["LIMIT", 11]]
40953
+  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
40954
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
40955
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
40956
+  (0.4ms) BEGIN
40957
+  (0.3ms) SAVEPOINT active_record_1
40958
+ Author Create (0.8ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:31.496255"], ["updated_at", "2020-10-06 18:17:31.496255"], ["name", "James Joyce"]]
40959
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40960
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
40961
+  (0.2ms) SAVEPOINT active_record_1
40962
+ Post Create (0.6ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:17:31.535097"], ["updated_at", "2020-10-06 18:17:31.535097"], ["author_id", 941], ["status", 2], ["likes", 1], ["published_at", "2015-10-01 00:00:00"]]
40963
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40964
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
40965
+  (0.2ms) SAVEPOINT active_record_1
40966
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:17:31.539421"], ["updated_at", "2020-10-06 18:17:31.539421"], ["author_id", 941], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
40967
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40968
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
40969
+  (0.2ms) SAVEPOINT active_record_1
40970
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:17:31.543939"], ["updated_at", "2020-10-06 18:17:31.543939"], ["author_id", 941], ["status", 2], ["likes", 1], ["published_at", "2015-11-01 00:00:00"]]
40971
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40972
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
40973
+  (0.2ms) SAVEPOINT active_record_1
40974
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.548819"], ["updated_at", "2020-10-06 18:17:31.548819"], ["author_id", 941], ["status", 2], ["likes", 3]]
40975
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40976
+  (0.2ms) SAVEPOINT active_record_1
40977
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:31.552188"], ["updated_at", "2020-10-06 18:17:31.552188"], ["name", "Virginia Woolf"]]
40978
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40979
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
40980
+  (0.1ms) SAVEPOINT active_record_1
40981
+ Post Create (6.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:17:31.556092"], ["updated_at", "2020-10-06 18:17:31.556092"], ["author_id", 942], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
40982
+  (0.3ms) RELEASE SAVEPOINT active_record_1
40983
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
40984
+  (0.2ms) SAVEPOINT active_record_1
40985
+ Post Create (1.1ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:17:31.567918"], ["updated_at", "2020-10-06 18:17:31.567918"], ["author_id", 942], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
40986
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40987
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
40988
+  (0.2ms) SAVEPOINT active_record_1
40989
+ Post Create (1.1ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.572608"], ["updated_at", "2020-10-06 18:17:31.572608"], ["author_id", 942], ["status", 2], ["likes", 3]]
40990
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40991
+  (0.2ms) SAVEPOINT active_record_1
40992
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.577863"], ["updated_at", "2020-10-06 18:17:31.577863"], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
40993
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40994
+  (0.2ms) SAVEPOINT active_record_1
40995
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.580873"], ["updated_at", "2020-10-06 18:17:31.580873"], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
40996
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40997
+ Post Load (2.5ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
40998
+  (0.9ms) SELECT MIN(posts.published_at) FROM "posts"
40999
+  (0.4ms) SELECT MAX(posts.published_at) FROM "posts"
41000
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
41001
+ Post Load (1.8ms) SELECT _active_reporter_dimension_published_at_bin_table.bin_text AS _active_reporter_dimension_published_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN (
41002
+ SELECT CAST(NULL AS timestamp with time zone) AS min, CAST(NULL AS timestamp with time zone) AS max, CAST(',' AS text) AS bin_text UNION
41003
+ SELECT CAST('2015-10-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-10-01 00:00:00 UTC,2015-11-01 00:00:00 UTC' AS text) AS bin_text UNION
41004
+ SELECT CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-12-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-11-01 00:00:00 UTC,2015-12-01 00:00:00 UTC' AS text) AS bin_text
41005
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
41006
+ CASE
41007
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL AND _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at IS NULL)
41008
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
41009
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
41010
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
41011
+ END
41012
+ ) GROUP BY _active_reporter_dimension_published_at
41013
+  (0.5ms) SELECT MIN(posts.likes) FROM "posts"
41014
+  (0.5ms) SELECT MAX(posts.likes) FROM "posts"
41015
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
41016
+ Post Load (1.9ms) SELECT _active_reporter_dimension_likes_bin_table.bin_text AS _active_reporter_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN (
41017
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
41018
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text UNION
41019
+ SELECT 3.0 AS min, 4.0 AS max, CAST('3.0,4.0' AS text) AS bin_text
41020
+ ) AS _active_reporter_dimension_likes_bin_table ON (
41021
+ CASE
41022
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL AND _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
41023
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
41024
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
41025
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
41026
+ END
41027
+ ) GROUP BY _active_reporter_dimension_likes
41028
+  (0.5ms) ROLLBACK
41029
+  (0.1ms) BEGIN
41030
+  (0.2ms) SAVEPOINT active_record_1
41031
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:31.636456"], ["updated_at", "2020-10-06 18:17:31.636456"], ["name", "James Joyce"]]
41032
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41033
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
41034
+  (0.2ms) SAVEPOINT active_record_1
41035
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:17:31.639786"], ["updated_at", "2020-10-06 18:17:31.639786"], ["author_id", 943], ["status", 2], ["likes", 1], ["published_at", "2015-10-01 00:00:00"]]
41036
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41037
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
41038
+  (0.2ms) SAVEPOINT active_record_1
41039
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:17:31.643384"], ["updated_at", "2020-10-06 18:17:31.643384"], ["author_id", 943], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
41040
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41041
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
41042
+  (0.2ms) SAVEPOINT active_record_1
41043
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:17:31.646698"], ["updated_at", "2020-10-06 18:17:31.646698"], ["author_id", 943], ["status", 2], ["likes", 1], ["published_at", "2015-11-01 00:00:00"]]
41044
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41045
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
41046
+  (0.1ms) SAVEPOINT active_record_1
41047
+ Post Create (1.1ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.649775"], ["updated_at", "2020-10-06 18:17:31.649775"], ["author_id", 943], ["status", 2], ["likes", 3]]
41048
+  (4.3ms) RELEASE SAVEPOINT active_record_1
41049
+  (0.2ms) SAVEPOINT active_record_1
41050
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:31.657145"], ["updated_at", "2020-10-06 18:17:31.657145"], ["name", "Virginia Woolf"]]
41051
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41052
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
41053
+  (0.1ms) SAVEPOINT active_record_1
41054
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:17:31.659733"], ["updated_at", "2020-10-06 18:17:31.659733"], ["author_id", 944], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
41055
+  (0.3ms) RELEASE SAVEPOINT active_record_1
41056
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
41057
+  (0.2ms) SAVEPOINT active_record_1
41058
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:17:31.663011"], ["updated_at", "2020-10-06 18:17:31.663011"], ["author_id", 944], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
41059
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41060
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
41061
+  (0.2ms) SAVEPOINT active_record_1
41062
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.665754"], ["updated_at", "2020-10-06 18:17:31.665754"], ["author_id", 944], ["status", 2], ["likes", 3]]
41063
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41064
+  (0.2ms) SAVEPOINT active_record_1
41065
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.668306"], ["updated_at", "2020-10-06 18:17:31.668306"], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
41066
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41067
+  (0.1ms) SAVEPOINT active_record_1
41068
+ Post Create (0.6ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.670380"], ["updated_at", "2020-10-06 18:17:31.670380"], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
41069
+  (0.3ms) RELEASE SAVEPOINT active_record_1
41070
+  (0.5ms) SELECT MIN(posts.published_at) FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id"
41071
+  (0.5ms) SELECT MAX(posts.published_at) FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id"
41072
+ Post Exists? (0.5ms) SELECT 1 AS one FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
41073
+ Post Load (2.1ms) SELECT _active_reporter_dimension_published_at_bin_table.bin_text AS _active_reporter_dimension_published_at, authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
41074
+ SELECT CAST(NULL AS timestamp with time zone) AS min, CAST(NULL AS timestamp with time zone) AS max, CAST(',' AS text) AS bin_text UNION
41075
+ SELECT CAST('2015-10-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-10-01 00:00:00 UTC,2015-11-01 00:00:00 UTC' AS text) AS bin_text UNION
41076
+ SELECT CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-12-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-11-01 00:00:00 UTC,2015-12-01 00:00:00 UTC' AS text) AS bin_text
41077
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
41078
+ CASE
41079
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL AND _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at IS NULL)
41080
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
41081
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
41082
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
41083
+ END
41084
+ ) GROUP BY _active_reporter_dimension_published_at, _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
41085
+  (0.4ms) ROLLBACK
41086
+  (0.1ms) BEGIN
41087
+  (0.2ms) SAVEPOINT active_record_1
41088
+ Author Create (1.0ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:31.695504"], ["updated_at", "2020-10-06 18:17:31.695504"], ["name", "James Joyce"]]
41089
+  (0.6ms) RELEASE SAVEPOINT active_record_1
41090
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
41091
+  (0.2ms) SAVEPOINT active_record_1
41092
+ Post Create (0.6ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:17:31.701315"], ["updated_at", "2020-10-06 18:17:31.701315"], ["author_id", 945], ["status", 2], ["likes", 1], ["published_at", "2015-10-01 00:00:00"]]
41093
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41094
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
41095
+  (0.2ms) SAVEPOINT active_record_1
41096
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:17:31.704905"], ["updated_at", "2020-10-06 18:17:31.704905"], ["author_id", 945], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
41097
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41098
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
41099
+  (0.2ms) SAVEPOINT active_record_1
41100
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:17:31.707959"], ["updated_at", "2020-10-06 18:17:31.707959"], ["author_id", 945], ["status", 2], ["likes", 1], ["published_at", "2015-11-01 00:00:00"]]
41101
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41102
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
41103
+  (0.2ms) SAVEPOINT active_record_1
41104
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.711022"], ["updated_at", "2020-10-06 18:17:31.711022"], ["author_id", 945], ["status", 2], ["likes", 3]]
41105
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41106
+  (0.1ms) SAVEPOINT active_record_1
41107
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:31.713860"], ["updated_at", "2020-10-06 18:17:31.713860"], ["name", "Virginia Woolf"]]
41108
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41109
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
41110
+  (0.2ms) SAVEPOINT active_record_1
41111
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:17:31.716542"], ["updated_at", "2020-10-06 18:17:31.716542"], ["author_id", 946], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
41112
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41113
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
41114
+  (0.2ms) SAVEPOINT active_record_1
41115
+ Post Create (0.7ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 18:17:31.720046"], ["updated_at", "2020-10-06 18:17:31.720046"], ["author_id", 946], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
41116
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41117
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
41118
+  (0.1ms) SAVEPOINT active_record_1
41119
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.723287"], ["updated_at", "2020-10-06 18:17:31.723287"], ["author_id", 946], ["status", 2], ["likes", 3]]
41120
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41121
+  (0.2ms) SAVEPOINT active_record_1
41122
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.725527"], ["updated_at", "2020-10-06 18:17:31.725527"], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
41123
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41124
+  (0.2ms) SAVEPOINT active_record_1
41125
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.727643"], ["updated_at", "2020-10-06 18:17:31.727643"], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
41126
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41127
+ Post Load (1.1ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author DESC NULLS LAST
41128
+  (0.5ms) SELECT MIN(posts.published_at) FROM "posts"
41129
+  (0.5ms) SELECT MAX(posts.published_at) FROM "posts"
41130
+ Post Exists? (0.5ms) SELECT 1 AS one FROM "posts" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
41131
+ Post Load (1.2ms) SELECT _active_reporter_dimension_published_at_bin_table.bin_text AS _active_reporter_dimension_published_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN (
41132
+ SELECT CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-12-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-11-01 00:00:00 UTC,2015-12-01 00:00:00 UTC' AS text) AS bin_text UNION
41133
+ SELECT CAST('2015-10-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-10-01 00:00:00 UTC,2015-11-01 00:00:00 UTC' AS text) AS bin_text UNION
41134
+ SELECT CAST(NULL AS timestamp with time zone) AS min, CAST(NULL AS timestamp with time zone) AS max, CAST(',' AS text) AS bin_text
41135
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
41136
+ CASE
41137
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL AND _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at IS NULL)
41138
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
41139
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
41140
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
41141
+ END
41142
+ ) GROUP BY _active_reporter_dimension_published_at
41143
+ Post Load (0.9ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS LAST
41144
+ Post Load (0.9ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author DESC NULLS FIRST
41145
+  (0.5ms) SELECT MIN(posts.published_at) FROM "posts"
41146
+  (0.4ms) SELECT MAX(posts.published_at) FROM "posts"
41147
+ Post Exists? (0.4ms) SELECT 1 AS one FROM "posts" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
41148
+ Post Load (1.2ms) SELECT _active_reporter_dimension_published_at_bin_table.bin_text AS _active_reporter_dimension_published_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN (
41149
+ SELECT CAST('2015-10-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-10-01 00:00:00 UTC,2015-11-01 00:00:00 UTC' AS text) AS bin_text UNION
41150
+ SELECT CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-12-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-11-01 00:00:00 UTC,2015-12-01 00:00:00 UTC' AS text) AS bin_text UNION
41151
+ SELECT CAST(NULL AS timestamp with time zone) AS min, CAST(NULL AS timestamp with time zone) AS max, CAST(',' AS text) AS bin_text
41152
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
41153
+ CASE
41154
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL AND _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at IS NULL)
41155
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
41156
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
41157
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
41158
+ END
41159
+ ) GROUP BY _active_reporter_dimension_published_at
41160
+  (0.7ms) SELECT MIN(posts.published_at) FROM "posts"
41161
+  (0.4ms) SELECT MAX(posts.published_at) FROM "posts"
41162
+ Post Exists? (0.4ms) SELECT 1 AS one FROM "posts" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
41163
+ Post Load (1.2ms) SELECT _active_reporter_dimension_published_at_bin_table.bin_text AS _active_reporter_dimension_published_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN (
41164
+ SELECT CAST(NULL AS timestamp with time zone) AS min, CAST(NULL AS timestamp with time zone) AS max, CAST(',' AS text) AS bin_text UNION
41165
+ SELECT CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-12-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-11-01 00:00:00 UTC,2015-12-01 00:00:00 UTC' AS text) AS bin_text UNION
41166
+ SELECT CAST('2015-10-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-10-01 00:00:00 UTC,2015-11-01 00:00:00 UTC' AS text) AS bin_text
41167
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
41168
+ CASE
41169
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL AND _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at IS NULL)
41170
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
41171
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
41172
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
41173
+ END
41174
+ ) GROUP BY _active_reporter_dimension_published_at
41175
+  (0.3ms) ROLLBACK
41176
+  (0.1ms) BEGIN
41177
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
41178
+  (0.2ms) SAVEPOINT active_record_1
41179
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:31.778309"], ["updated_at", "2020-10-06 18:17:31.778309"], ["name", "Alice"]]
41180
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41181
+  (0.1ms) SAVEPOINT active_record_1
41182
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.780147"], ["updated_at", "2020-10-06 18:17:31.780147"], ["author_id", 947], ["status", 2], ["likes", 3]]
41183
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41184
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
41185
+  (0.2ms) SAVEPOINT active_record_1
41186
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.782745"], ["updated_at", "2020-10-06 18:17:31.782745"], ["author_id", 947], ["status", 2], ["likes", 2]]
41187
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41188
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
41189
+  (0.2ms) SAVEPOINT active_record_1
41190
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:31.786194"], ["updated_at", "2020-10-06 18:17:31.786194"], ["name", "Bob"]]
41191
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41192
+  (0.1ms) SAVEPOINT active_record_1
41193
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.787951"], ["updated_at", "2020-10-06 18:17:31.787951"], ["author_id", 948], ["status", 2], ["likes", 4]]
41194
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41195
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
41196
+  (0.1ms) SAVEPOINT active_record_1
41197
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.790490"], ["updated_at", "2020-10-06 18:17:31.790490"], ["author_id", 948], ["status", 2], ["likes", 1]]
41198
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41199
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
41200
+  (0.3ms) SAVEPOINT active_record_1
41201
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.793093"], ["updated_at", "2020-10-06 18:17:31.793093"], ["author_id", 948], ["status", 2], ["likes", 5]]
41202
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41203
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
41204
+  (0.2ms) SAVEPOINT active_record_1
41205
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:31.795974"], ["updated_at", "2020-10-06 18:17:31.795974"], ["name", "Chester"]]
41206
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41207
+  (0.1ms) SAVEPOINT active_record_1
41208
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.797536"], ["updated_at", "2020-10-06 18:17:31.797536"], ["author_id", 949], ["status", 2], ["likes", 10]]
41209
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41210
+ Post Load (0.8ms) SELECT authors.name AS _active_reporter_dimension_author, posts.status AS _active_reporter_dimension_status, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_status ORDER BY _active_reporter_dimension_author ASC NULLS FIRST, _active_reporter_dimension_status ASC NULLS FIRST
41211
+  (0.3ms) ROLLBACK
41212
+  (0.1ms) BEGIN
41213
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
41214
+  (0.2ms) SAVEPOINT active_record_1
41215
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:31.804643"], ["updated_at", "2020-10-06 18:17:31.804643"], ["name", "Alice"]]
41216
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41217
+  (0.2ms) SAVEPOINT active_record_1
41218
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.806388"], ["updated_at", "2020-10-06 18:17:31.806388"], ["author_id", 950], ["status", 2], ["likes", 3]]
41219
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41220
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
41221
+  (0.2ms) SAVEPOINT active_record_1
41222
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.809181"], ["updated_at", "2020-10-06 18:17:31.809181"], ["author_id", 950], ["status", 2], ["likes", 2]]
41223
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41224
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
41225
+  (0.2ms) SAVEPOINT active_record_1
41226
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:31.812485"], ["updated_at", "2020-10-06 18:17:31.812485"], ["name", "Bob"]]
41227
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41228
+  (0.1ms) SAVEPOINT active_record_1
41229
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.814394"], ["updated_at", "2020-10-06 18:17:31.814394"], ["author_id", 951], ["status", 2], ["likes", 4]]
41230
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41231
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
41232
+  (0.2ms) SAVEPOINT active_record_1
41233
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.817280"], ["updated_at", "2020-10-06 18:17:31.817280"], ["author_id", 951], ["status", 2], ["likes", 1]]
41234
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41235
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
41236
+  (0.1ms) SAVEPOINT active_record_1
41237
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.820101"], ["updated_at", "2020-10-06 18:17:31.820101"], ["author_id", 951], ["status", 2], ["likes", 5]]
41238
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41239
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
41240
+  (0.2ms) SAVEPOINT active_record_1
41241
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:31.822733"], ["updated_at", "2020-10-06 18:17:31.822733"], ["name", "Chester"]]
41242
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41243
+  (0.2ms) SAVEPOINT active_record_1
41244
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.824308"], ["updated_at", "2020-10-06 18:17:31.824308"], ["author_id", 952], ["status", 2], ["likes", 10]]
41245
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41246
+ Post Load (0.6ms) SELECT authors.name AS _active_reporter_dimension_author, posts.status AS _active_reporter_dimension_status, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_status ORDER BY _active_reporter_dimension_author ASC NULLS FIRST, _active_reporter_dimension_status ASC NULLS FIRST
41247
+  (0.2ms) ROLLBACK
41248
+  (0.1ms) BEGIN
41249
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
41250
+  (0.2ms) SAVEPOINT active_record_1
41251
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:31.831221"], ["updated_at", "2020-10-06 18:17:31.831221"], ["name", "Alice"]]
41252
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41253
+  (0.2ms) SAVEPOINT active_record_1
41254
+ Post Create (6.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.833070"], ["updated_at", "2020-10-06 18:17:31.833070"], ["author_id", 953], ["status", 2], ["likes", 3]]
41255
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41256
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
41257
+  (0.2ms) SAVEPOINT active_record_1
41258
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.842266"], ["updated_at", "2020-10-06 18:17:31.842266"], ["author_id", 953], ["status", 2], ["likes", 2]]
41259
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41260
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
41261
+  (0.2ms) SAVEPOINT active_record_1
41262
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:31.845088"], ["updated_at", "2020-10-06 18:17:31.845088"], ["name", "Bob"]]
41263
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41264
+  (0.1ms) SAVEPOINT active_record_1
41265
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.846873"], ["updated_at", "2020-10-06 18:17:31.846873"], ["author_id", 954], ["status", 2], ["likes", 4]]
41266
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41267
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
41268
+  (0.2ms) SAVEPOINT active_record_1
41269
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.849634"], ["updated_at", "2020-10-06 18:17:31.849634"], ["author_id", 954], ["status", 2], ["likes", 1]]
41270
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41271
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
41272
+  (0.2ms) SAVEPOINT active_record_1
41273
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.852459"], ["updated_at", "2020-10-06 18:17:31.852459"], ["author_id", 954], ["status", 2], ["likes", 5]]
41274
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41275
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
41276
+  (0.1ms) SAVEPOINT active_record_1
41277
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:31.855176"], ["updated_at", "2020-10-06 18:17:31.855176"], ["name", "Chester"]]
41278
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41279
+  (0.2ms) SAVEPOINT active_record_1
41280
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.856672"], ["updated_at", "2020-10-06 18:17:31.856672"], ["author_id", 955], ["status", 2], ["likes", 10]]
41281
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41282
+ Post Load (0.7ms) SELECT authors.name AS _active_reporter_dimension_author, posts.status AS _active_reporter_dimension_status, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_status ORDER BY _active_reporter_dimension_author ASC NULLS FIRST, _active_reporter_dimension_status ASC NULLS FIRST
41283
+  (0.2ms) ROLLBACK
41284
+  (0.2ms) BEGIN
41285
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
41286
+  (0.2ms) SAVEPOINT active_record_1
41287
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:31.863130"], ["updated_at", "2020-10-06 18:17:31.863130"], ["name", "Alice"]]
41288
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41289
+  (0.2ms) SAVEPOINT active_record_1
41290
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.864914"], ["updated_at", "2020-10-06 18:17:31.864914"], ["author_id", 956], ["status", 2], ["likes", 3]]
41291
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41292
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
41293
+  (0.1ms) SAVEPOINT active_record_1
41294
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.867590"], ["updated_at", "2020-10-06 18:17:31.867590"], ["author_id", 956], ["status", 2], ["likes", 2]]
41295
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41296
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
41297
+  (0.2ms) SAVEPOINT active_record_1
41298
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:31.870047"], ["updated_at", "2020-10-06 18:17:31.870047"], ["name", "Bob"]]
41299
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41300
+  (0.1ms) SAVEPOINT active_record_1
41301
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.871637"], ["updated_at", "2020-10-06 18:17:31.871637"], ["author_id", 957], ["status", 2], ["likes", 4]]
41302
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41303
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
41304
+  (0.1ms) SAVEPOINT active_record_1
41305
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.874239"], ["updated_at", "2020-10-06 18:17:31.874239"], ["author_id", 957], ["status", 2], ["likes", 1]]
41306
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41307
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
41308
+  (0.1ms) SAVEPOINT active_record_1
41309
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.876675"], ["updated_at", "2020-10-06 18:17:31.876675"], ["author_id", 957], ["status", 2], ["likes", 5]]
41310
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41311
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
41312
+  (0.2ms) SAVEPOINT active_record_1
41313
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:31.879486"], ["updated_at", "2020-10-06 18:17:31.879486"], ["name", "Chester"]]
41314
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41315
+  (0.2ms) SAVEPOINT active_record_1
41316
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.881097"], ["updated_at", "2020-10-06 18:17:31.881097"], ["author_id", 958], ["status", 2], ["likes", 10]]
41317
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41318
+ Post Load (0.8ms) SELECT authors.name AS _active_reporter_dimension_author, posts.status AS _active_reporter_dimension_status, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_status ORDER BY _active_reporter_dimension_author ASC NULLS FIRST, _active_reporter_dimension_status ASC NULLS FIRST
41319
+  (0.2ms) ROLLBACK
41320
+  (0.2ms) BEGIN
41321
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
41322
+  (0.2ms) SAVEPOINT active_record_1
41323
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:31.888871"], ["updated_at", "2020-10-06 18:17:31.888871"], ["name", "Alice"]]
41324
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41325
+  (0.1ms) SAVEPOINT active_record_1
41326
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.890756"], ["updated_at", "2020-10-06 18:17:31.890756"], ["author_id", 959], ["status", 2], ["likes", 3]]
41327
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41328
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
41329
+  (0.2ms) SAVEPOINT active_record_1
41330
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.893439"], ["updated_at", "2020-10-06 18:17:31.893439"], ["author_id", 959], ["status", 2], ["likes", 2]]
41331
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41332
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
41333
+  (0.2ms) SAVEPOINT active_record_1
41334
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:31.896270"], ["updated_at", "2020-10-06 18:17:31.896270"], ["name", "Bob"]]
41335
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41336
+  (0.2ms) SAVEPOINT active_record_1
41337
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.897905"], ["updated_at", "2020-10-06 18:17:31.897905"], ["author_id", 960], ["status", 2], ["likes", 4]]
41338
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41339
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
41340
+  (0.2ms) SAVEPOINT active_record_1
41341
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.900601"], ["updated_at", "2020-10-06 18:17:31.900601"], ["author_id", 960], ["status", 2], ["likes", 1]]
41342
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41343
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
41344
+  (0.2ms) SAVEPOINT active_record_1
41345
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.903477"], ["updated_at", "2020-10-06 18:17:31.903477"], ["author_id", 960], ["status", 2], ["likes", 5]]
41346
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41347
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
41348
+  (0.2ms) SAVEPOINT active_record_1
41349
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:31.906143"], ["updated_at", "2020-10-06 18:17:31.906143"], ["name", "Chester"]]
41350
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41351
+  (0.1ms) SAVEPOINT active_record_1
41352
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.907787"], ["updated_at", "2020-10-06 18:17:31.907787"], ["author_id", 961], ["status", 2], ["likes", 10]]
41353
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41354
+ Post Load (0.8ms) SELECT authors.name AS _active_reporter_dimension_author, posts.status AS _active_reporter_dimension_status, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_status ORDER BY _active_reporter_dimension_author ASC NULLS FIRST, _active_reporter_dimension_status ASC NULLS FIRST
41355
+  (0.2ms) ROLLBACK
41356
+  (0.2ms) BEGIN
41357
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
41358
+  (0.2ms) SAVEPOINT active_record_1
41359
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:31.915178"], ["updated_at", "2020-10-06 18:17:31.915178"], ["name", "Alice"]]
41360
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41361
+  (0.1ms) SAVEPOINT active_record_1
41362
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.916968"], ["updated_at", "2020-10-06 18:17:31.916968"], ["author_id", 962], ["status", 2], ["likes", 3]]
41363
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41364
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
41365
+  (0.2ms) SAVEPOINT active_record_1
41366
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.919994"], ["updated_at", "2020-10-06 18:17:31.919994"], ["author_id", 962], ["status", 2], ["likes", 2]]
41367
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41368
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
41369
+  (0.1ms) SAVEPOINT active_record_1
41370
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:31.923148"], ["updated_at", "2020-10-06 18:17:31.923148"], ["name", "Bob"]]
41371
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41372
+  (0.1ms) SAVEPOINT active_record_1
41373
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.924777"], ["updated_at", "2020-10-06 18:17:31.924777"], ["author_id", 963], ["status", 2], ["likes", 4]]
41374
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41375
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
41376
+  (0.2ms) SAVEPOINT active_record_1
41377
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.927201"], ["updated_at", "2020-10-06 18:17:31.927201"], ["author_id", 963], ["status", 2], ["likes", 1]]
41378
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41379
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
41380
+  (0.2ms) SAVEPOINT active_record_1
41381
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.929929"], ["updated_at", "2020-10-06 18:17:31.929929"], ["author_id", 963], ["status", 2], ["likes", 5]]
41382
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41383
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
41384
+  (0.2ms) SAVEPOINT active_record_1
41385
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:31.932943"], ["updated_at", "2020-10-06 18:17:31.932943"], ["name", "Chester"]]
41386
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41387
+  (0.2ms) SAVEPOINT active_record_1
41388
+ Post Create (0.6ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 18:17:31.934775"], ["updated_at", "2020-10-06 18:17:31.934775"], ["author_id", 964], ["status", 2], ["likes", 10]]
41389
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41390
+ Post Load (0.9ms) SELECT authors.name AS _active_reporter_dimension_author, posts.status AS _active_reporter_dimension_status, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_status ORDER BY _active_reporter_dimension_author ASC NULLS FIRST, _active_reporter_dimension_status ASC NULLS FIRST
41391
+  (0.2ms) ROLLBACK
41392
+  (0.2ms) BEGIN
41393
+  (0.2ms) ROLLBACK
41394
+  (0.1ms) BEGIN
41395
+  (0.2ms) ROLLBACK
41396
+  (0.1ms) BEGIN
41397
+  (0.2ms) ROLLBACK
41398
+  (0.2ms) BEGIN
41399
+  (0.1ms) ROLLBACK
41400
+  (0.2ms) BEGIN
41401
+  (0.2ms) ROLLBACK
41402
+  (0.6ms) BEGIN
41403
+  (0.2ms) ROLLBACK
41404
+  (0.5ms) BEGIN
41405
+  (0.3ms) ROLLBACK
41406
+  (0.1ms) BEGIN
41407
+  (0.2ms) ROLLBACK
41408
+  (0.2ms) BEGIN
41409
+  (0.2ms) ROLLBACK
41410
+  (0.2ms) BEGIN
41411
+  (0.1ms) ROLLBACK
41412
+  (0.1ms) BEGIN
41413
+  (0.2ms) ROLLBACK
41414
+  (0.1ms) BEGIN
41415
+  (0.2ms) ROLLBACK
41416
+  (0.2ms) BEGIN
41417
+  (0.2ms) ROLLBACK
41418
+  (0.1ms) BEGIN
41419
+  (0.2ms) ROLLBACK
41420
+  (0.2ms) BEGIN
41421
+  (0.3ms) ROLLBACK
41422
+  (0.2ms) BEGIN
41423
+  (0.3ms) ROLLBACK
41424
+  (0.2ms) BEGIN
41425
+  (0.2ms) ROLLBACK
41426
+  (0.1ms) BEGIN
41427
+  (0.2ms) ROLLBACK
41428
+  (0.2ms) BEGIN
41429
+  (0.2ms) ROLLBACK
41430
+  (0.2ms) BEGIN
41431
+  (0.5ms) SELECT MIN(posts.likes) FROM "posts"
41432
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
41433
+  (0.2ms) SAVEPOINT active_record_1
41434
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 18:17:31.977365"], ["updated_at", "2020-10-06 18:17:31.977365"], ["status", 2], ["likes", 3]]
41435
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41436
+  (0.2ms) SAVEPOINT active_record_1
41437
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 18:17:31.979638"], ["updated_at", "2020-10-06 18:17:31.979638"], ["status", 2], ["likes", 10]]
41438
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41439
+  (0.2ms) SAVEPOINT active_record_1
41440
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 18:17:31.982056"], ["updated_at", "2020-10-06 18:17:31.982056"], ["status", 2], ["likes", 1]]
41441
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41442
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
41443
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
41444
+  (0.2ms) ROLLBACK
41445
+  (0.1ms) BEGIN
41446
+  (0.3ms) ROLLBACK
41447
+  (0.2ms) BEGIN
41448
+  (0.2ms) SAVEPOINT active_record_1
41449
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 18:17:31.998535"], ["updated_at", "2020-10-06 18:17:31.998535"], ["status", 2], ["likes", 2]]
41450
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41451
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
41452
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
41453
+  (0.3ms) ROLLBACK
41454
+  (0.1ms) BEGIN
41455
+  (0.1ms) ROLLBACK
41456
+  (0.2ms) BEGIN
41457
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
41458
+  (0.2ms) SAVEPOINT active_record_1
41459
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:32.007525"], ["updated_at", "2020-10-06 18:17:32.007525"], ["name", "Alice"]]
41460
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41461
+  (0.2ms) SAVEPOINT active_record_1
41462
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 18:17:32.009674"], ["updated_at", "2020-10-06 18:17:32.009674"], ["author_id", 965], ["status", 2]]
41463
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41464
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
41465
+  (0.3ms) SAVEPOINT active_record_1
41466
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:32.013274"], ["updated_at", "2020-10-06 18:17:32.013274"], ["name", "Bob"]]
41467
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41468
+  (0.2ms) SAVEPOINT active_record_1
41469
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 18:17:32.015585"], ["updated_at", "2020-10-06 18:17:32.015585"], ["author_id", 966], ["status", 2]]
41470
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41471
+  (0.2ms) SAVEPOINT active_record_1
41472
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:32.017879"], ["updated_at", "2020-10-06 18:17:32.017879"], ["status", 2]]
41473
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41474
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice'))
41475
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL))
41476
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice'))
41477
+ Post Load (0.7ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob'))
41478
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))
41479
+  (0.2ms) ROLLBACK
41480
+  (0.2ms) BEGIN
41481
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
41482
+  (0.2ms) SAVEPOINT active_record_1
41483
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:32.029615"], ["updated_at", "2020-10-06 18:17:32.029615"], ["name", "Alice"]]
41484
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41485
+  (0.2ms) SAVEPOINT active_record_1
41486
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 18:17:32.031669"], ["updated_at", "2020-10-06 18:17:32.031669"], ["author_id", 967], ["status", 2]]
41487
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41488
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
41489
+  (0.2ms) SAVEPOINT active_record_1
41490
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 18:17:32.034977"], ["updated_at", "2020-10-06 18:17:32.034977"], ["author_id", 967], ["status", 2]]
41491
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41492
+  (0.2ms) SAVEPOINT active_record_1
41493
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:32.037109"], ["updated_at", "2020-10-06 18:17:32.037109"], ["status", 2]]
41494
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41495
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
41496
+  (0.2ms) SAVEPOINT active_record_1
41497
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:32.039766"], ["updated_at", "2020-10-06 18:17:32.039766"], ["name", "Bob"]]
41498
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41499
+  (0.2ms) SAVEPOINT active_record_1
41500
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 18:17:32.041369"], ["updated_at", "2020-10-06 18:17:32.041369"], ["author_id", 968], ["status", 2]]
41501
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41502
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
41503
+  (0.2ms) SAVEPOINT active_record_1
41504
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 18:17:32.044528"], ["updated_at", "2020-10-06 18:17:32.044528"], ["author_id", 968], ["status", 2]]
41505
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41506
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
41507
+  (0.2ms) SAVEPOINT active_record_1
41508
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 18:17:32.048081"], ["updated_at", "2020-10-06 18:17:32.048081"], ["author_id", 968], ["status", 2]]
41509
+  (0.3ms) RELEASE SAVEPOINT active_record_1
41510
+ Post Load (0.7ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
41511
+  (0.2ms) ROLLBACK
41512
+  (0.2ms) BEGIN
41513
+  (0.1ms) ROLLBACK
41514
+  (0.1ms) BEGIN
41515
+  (0.1ms) ROLLBACK
41516
+  (0.1ms) BEGIN
41517
+  (0.1ms) ROLLBACK
41518
+  (0.2ms) BEGIN
41519
+  (0.2ms) ROLLBACK
41520
+  (0.2ms) BEGIN
41521
+  (0.2ms) ROLLBACK
41522
+  (0.1ms) BEGIN
41523
+  (0.2ms) ROLLBACK
41524
+  (0.1ms) BEGIN
41525
+  (0.2ms) ROLLBACK
41526
+  (0.1ms) BEGIN
41527
+  (0.2ms) ROLLBACK
41528
+  (0.1ms) BEGIN
41529
+  (0.2ms) ROLLBACK
41530
+  (0.1ms) BEGIN
41531
+  (0.2ms) ROLLBACK
41532
+  (0.1ms) BEGIN
41533
+  (0.2ms) ROLLBACK
41534
+  (0.1ms) BEGIN
41535
+  (0.2ms) ROLLBACK
41536
+  (0.2ms) BEGIN
41537
+  (0.1ms) ROLLBACK
41538
+  (0.2ms) BEGIN
41539
+  (0.2ms) ROLLBACK
41540
+  (0.2ms) BEGIN
41541
+  (0.2ms) ROLLBACK
41542
+  (0.1ms) BEGIN
41543
+  (0.2ms) ROLLBACK
41544
+  (0.1ms) BEGIN
41545
+  (0.1ms) ROLLBACK
41546
+  (0.1ms) BEGIN
41547
+  (0.1ms) ROLLBACK
41548
+  (0.1ms) BEGIN
41549
+  (0.2ms) ROLLBACK
41550
+  (0.1ms) BEGIN
41551
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
41552
+  (0.2ms) SAVEPOINT active_record_1
41553
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:32.092232"], ["updated_at", "2020-10-06 18:17:32.092232"], ["name", "Tammy"]]
41554
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41555
+  (0.1ms) SAVEPOINT active_record_1
41556
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2018-12-18 00:00:00"], ["updated_at", "2020-10-06 18:17:32.093877"], ["author_id", 969], ["status", 2], ["likes", 23]]
41557
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41558
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
41559
+  (0.2ms) SAVEPOINT active_record_1
41560
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.097055"], ["author_id", 969], ["status", 2], ["likes", 7]]
41561
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41562
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
41563
+  (0.2ms) SAVEPOINT active_record_1
41564
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-06 18:17:32.100490"], ["author_id", 969], ["status", 2], ["likes", 4]]
41565
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41566
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
41567
+  (0.2ms) SAVEPOINT active_record_1
41568
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-08 00:00:00"], ["updated_at", "2020-10-06 18:17:32.103653"], ["author_id", 969], ["status", 2], ["likes", 11]]
41569
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41570
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41571
+  (0.1ms) SAVEPOINT active_record_1
41572
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:32.106592"], ["updated_at", "2020-10-06 18:17:32.106592"], ["name", "Timmy"]]
41573
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41574
+  (0.1ms) SAVEPOINT active_record_1
41575
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-06 18:17:32.108056"], ["author_id", 970], ["status", 2], ["likes", 3]]
41576
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41577
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41578
+  (0.1ms) SAVEPOINT active_record_1
41579
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-02-27 00:00:00"], ["updated_at", "2020-10-06 18:17:32.110490"], ["author_id", 970], ["status", 2], ["likes", 24]]
41580
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41581
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41582
+  (0.1ms) SAVEPOINT active_record_1
41583
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-02-28 00:00:00"], ["updated_at", "2020-10-06 18:17:32.113138"], ["author_id", 970], ["status", 2]]
41584
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41585
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41586
+  (0.2ms) SAVEPOINT active_record_1
41587
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.116283"], ["author_id", 970], ["status", 2], ["likes", 19]]
41588
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41589
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41590
+  (0.2ms) SAVEPOINT active_record_1
41591
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-04-08 00:00:00"], ["updated_at", "2020-10-06 18:17:32.119656"], ["author_id", 970], ["status", 2], ["likes", 8]]
41592
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41593
+  (0.9ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00')
41594
+ Post Exists? (0.5ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
41595
+ Post Load (1.2ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
41596
+ SELECT CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-01-01 00:00:00 UTC,2019-02-01 00:00:00 UTC' AS text) AS bin_text UNION
41597
+ SELECT CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-02-01 00:00:00 UTC,2019-03-01 00:00:00 UTC' AS text) AS bin_text UNION
41598
+ SELECT CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-03-01 00:00:00 UTC,2019-04-01 00:00:00 UTC' AS text) AS bin_text UNION
41599
+ SELECT CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-04-01 00:00:00 UTC,2019-05-01 00:00:00 UTC' AS text) AS bin_text
41600
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
41601
+ CASE
41602
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
41603
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
41604
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
41605
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
41606
+ END
41607
+ ) WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
41608
+  (0.3ms) ROLLBACK
41609
+  (0.1ms) BEGIN
41610
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
41611
+  (0.2ms) SAVEPOINT active_record_1
41612
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:32.137366"], ["updated_at", "2020-10-06 18:17:32.137366"], ["name", "Tammy"]]
41613
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41614
+  (0.1ms) SAVEPOINT active_record_1
41615
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2018-12-18 00:00:00"], ["updated_at", "2020-10-06 18:17:32.139211"], ["author_id", 971], ["status", 2], ["likes", 23]]
41616
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41617
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
41618
+  (0.2ms) SAVEPOINT active_record_1
41619
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.141866"], ["author_id", 971], ["status", 2], ["likes", 7]]
41620
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41621
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
41622
+  (0.2ms) SAVEPOINT active_record_1
41623
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-06 18:17:32.144630"], ["author_id", 971], ["status", 2], ["likes", 4]]
41624
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41625
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
41626
+  (0.2ms) SAVEPOINT active_record_1
41627
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-08 00:00:00"], ["updated_at", "2020-10-06 18:17:32.147542"], ["author_id", 971], ["status", 2], ["likes", 11]]
41628
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41629
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41630
+  (0.2ms) SAVEPOINT active_record_1
41631
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:32.150933"], ["updated_at", "2020-10-06 18:17:32.150933"], ["name", "Timmy"]]
41632
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41633
+  (0.2ms) SAVEPOINT active_record_1
41634
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-06 18:17:32.152753"], ["author_id", 972], ["status", 2], ["likes", 3]]
41635
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41636
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41637
+  (0.2ms) SAVEPOINT active_record_1
41638
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-02-27 00:00:00"], ["updated_at", "2020-10-06 18:17:32.155898"], ["author_id", 972], ["status", 2], ["likes", 24]]
41639
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41640
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41641
+  (0.2ms) SAVEPOINT active_record_1
41642
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-02-28 00:00:00"], ["updated_at", "2020-10-06 18:17:32.158883"], ["author_id", 972], ["status", 2]]
41643
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41644
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41645
+  (0.2ms) SAVEPOINT active_record_1
41646
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.162023"], ["author_id", 972], ["status", 2], ["likes", 19]]
41647
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41648
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41649
+  (0.2ms) SAVEPOINT active_record_1
41650
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-04-08 00:00:00"], ["updated_at", "2020-10-06 18:17:32.164957"], ["author_id", 972], ["status", 2], ["likes", 8]]
41651
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41652
+  (0.7ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00')
41653
+ Post Exists? (0.6ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
41654
+ Post Load (1.3ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
41655
+ SELECT CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-01-01 00:00:00 UTC,2019-02-01 00:00:00 UTC' AS text) AS bin_text UNION
41656
+ SELECT CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-02-01 00:00:00 UTC,2019-03-01 00:00:00 UTC' AS text) AS bin_text UNION
41657
+ SELECT CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-03-01 00:00:00 UTC,2019-04-01 00:00:00 UTC' AS text) AS bin_text UNION
41658
+ SELECT CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-04-01 00:00:00 UTC,2019-05-01 00:00:00 UTC' AS text) AS bin_text
41659
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
41660
+ CASE
41661
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
41662
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
41663
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
41664
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
41665
+ END
41666
+ ) WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
41667
+  (0.4ms) ROLLBACK
41668
+  (0.2ms) BEGIN
41669
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
41670
+  (0.2ms) SAVEPOINT active_record_1
41671
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:32.185477"], ["updated_at", "2020-10-06 18:17:32.185477"], ["name", "Tammy"]]
41672
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41673
+  (0.1ms) SAVEPOINT active_record_1
41674
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2018-12-18 00:00:00"], ["updated_at", "2020-10-06 18:17:32.187163"], ["author_id", 973], ["status", 2], ["likes", 23]]
41675
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41676
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
41677
+  (0.1ms) SAVEPOINT active_record_1
41678
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.189962"], ["author_id", 973], ["status", 2], ["likes", 7]]
41679
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41680
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
41681
+  (0.2ms) SAVEPOINT active_record_1
41682
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-06 18:17:32.192707"], ["author_id", 973], ["status", 2], ["likes", 4]]
41683
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41684
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
41685
+  (0.2ms) SAVEPOINT active_record_1
41686
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-08 00:00:00"], ["updated_at", "2020-10-06 18:17:32.195713"], ["author_id", 973], ["status", 2], ["likes", 11]]
41687
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41688
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41689
+  (0.2ms) SAVEPOINT active_record_1
41690
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:32.198839"], ["updated_at", "2020-10-06 18:17:32.198839"], ["name", "Timmy"]]
41691
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41692
+  (0.1ms) SAVEPOINT active_record_1
41693
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-06 18:17:32.200842"], ["author_id", 974], ["status", 2], ["likes", 3]]
41694
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41695
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41696
+  (0.2ms) SAVEPOINT active_record_1
41697
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-02-27 00:00:00"], ["updated_at", "2020-10-06 18:17:32.204458"], ["author_id", 974], ["status", 2], ["likes", 24]]
41698
+  (0.3ms) RELEASE SAVEPOINT active_record_1
41699
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41700
+  (0.2ms) SAVEPOINT active_record_1
41701
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-02-28 00:00:00"], ["updated_at", "2020-10-06 18:17:32.208436"], ["author_id", 974], ["status", 2]]
41702
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41703
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41704
+  (0.2ms) SAVEPOINT active_record_1
41705
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.211179"], ["author_id", 974], ["status", 2], ["likes", 19]]
41706
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41707
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41708
+  (0.2ms) SAVEPOINT active_record_1
41709
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-04-08 00:00:00"], ["updated_at", "2020-10-06 18:17:32.213896"], ["author_id", 974], ["status", 2], ["likes", 8]]
41710
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41711
+  (0.8ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00')
41712
+ Post Exists? (0.6ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
41713
+ Post Load (1.6ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
41714
+ SELECT CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-01-01 00:00:00 UTC,2019-02-01 00:00:00 UTC' AS text) AS bin_text UNION
41715
+ SELECT CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-02-01 00:00:00 UTC,2019-03-01 00:00:00 UTC' AS text) AS bin_text UNION
41716
+ SELECT CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-03-01 00:00:00 UTC,2019-04-01 00:00:00 UTC' AS text) AS bin_text UNION
41717
+ SELECT CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-04-01 00:00:00 UTC,2019-05-01 00:00:00 UTC' AS text) AS bin_text
41718
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
41719
+ CASE
41720
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
41721
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
41722
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
41723
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
41724
+ END
41725
+ ) WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
41726
+  (0.4ms) ROLLBACK
41727
+  (0.3ms) BEGIN
41728
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
41729
+  (0.2ms) SAVEPOINT active_record_1
41730
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:32.234799"], ["updated_at", "2020-10-06 18:17:32.234799"], ["name", "Tammy"]]
41731
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41732
+  (0.1ms) SAVEPOINT active_record_1
41733
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2018-12-18 00:00:00"], ["updated_at", "2020-10-06 18:17:32.236627"], ["author_id", 975], ["status", 2], ["likes", 23]]
41734
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41735
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
41736
+  (0.1ms) SAVEPOINT active_record_1
41737
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.239514"], ["author_id", 975], ["status", 2], ["likes", 7]]
41738
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41739
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
41740
+  (0.2ms) SAVEPOINT active_record_1
41741
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-06 18:17:32.241991"], ["author_id", 975], ["status", 2], ["likes", 4]]
41742
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41743
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
41744
+  (0.1ms) SAVEPOINT active_record_1
41745
+ Post Create (0.8ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-08 00:00:00"], ["updated_at", "2020-10-06 18:17:32.244687"], ["author_id", 975], ["status", 2], ["likes", 11]]
41746
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41747
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41748
+  (0.2ms) SAVEPOINT active_record_1
41749
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:32.248076"], ["updated_at", "2020-10-06 18:17:32.248076"], ["name", "Timmy"]]
41750
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41751
+  (0.2ms) SAVEPOINT active_record_1
41752
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-06 18:17:32.249996"], ["author_id", 976], ["status", 2], ["likes", 3]]
41753
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41754
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41755
+  (0.1ms) SAVEPOINT active_record_1
41756
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-02-27 00:00:00"], ["updated_at", "2020-10-06 18:17:32.252998"], ["author_id", 976], ["status", 2], ["likes", 24]]
41757
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41758
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41759
+  (0.2ms) SAVEPOINT active_record_1
41760
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-02-28 00:00:00"], ["updated_at", "2020-10-06 18:17:32.255765"], ["author_id", 976], ["status", 2]]
41761
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41762
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41763
+  (0.2ms) SAVEPOINT active_record_1
41764
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.258909"], ["author_id", 976], ["status", 2], ["likes", 19]]
41765
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41766
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41767
+  (0.2ms) SAVEPOINT active_record_1
41768
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-04-08 00:00:00"], ["updated_at", "2020-10-06 18:17:32.261909"], ["author_id", 976], ["status", 2], ["likes", 8]]
41769
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41770
+  (0.7ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00')
41771
+ Post Exists? (0.6ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
41772
+ Post Load (1.2ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
41773
+ SELECT CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-01-01 00:00:00 UTC,2019-02-01 00:00:00 UTC' AS text) AS bin_text UNION
41774
+ SELECT CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-02-01 00:00:00 UTC,2019-03-01 00:00:00 UTC' AS text) AS bin_text UNION
41775
+ SELECT CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-03-01 00:00:00 UTC,2019-04-01 00:00:00 UTC' AS text) AS bin_text UNION
41776
+ SELECT CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-04-01 00:00:00 UTC,2019-05-01 00:00:00 UTC' AS text) AS bin_text
41777
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
41778
+ CASE
41779
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
41780
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
41781
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
41782
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
41783
+ END
41784
+ ) WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
41785
+ Post Load (0.6ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
41786
+ Post Load (0.6ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
41787
+  (0.3ms) ROLLBACK
41788
+  (0.2ms) BEGIN
41789
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
41790
+  (0.1ms) SAVEPOINT active_record_1
41791
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:32.286285"], ["updated_at", "2020-10-06 18:17:32.286285"], ["name", "Tammy"]]
41792
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41793
+  (0.1ms) SAVEPOINT active_record_1
41794
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2018-12-18 00:00:00"], ["updated_at", "2020-10-06 18:17:32.287922"], ["author_id", 977], ["status", 2], ["likes", 23]]
41795
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41796
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
41797
+  (0.2ms) SAVEPOINT active_record_1
41798
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.290641"], ["author_id", 977], ["status", 2], ["likes", 7]]
41799
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41800
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
41801
+  (0.2ms) SAVEPOINT active_record_1
41802
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-06 18:17:32.293375"], ["author_id", 977], ["status", 2], ["likes", 4]]
41803
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41804
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
41805
+  (0.2ms) SAVEPOINT active_record_1
41806
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-08 00:00:00"], ["updated_at", "2020-10-06 18:17:32.296572"], ["author_id", 977], ["status", 2], ["likes", 11]]
41807
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41808
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41809
+  (0.2ms) SAVEPOINT active_record_1
41810
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:32.299974"], ["updated_at", "2020-10-06 18:17:32.299974"], ["name", "Timmy"]]
41811
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41812
+  (0.1ms) SAVEPOINT active_record_1
41813
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-06 18:17:32.301754"], ["author_id", 978], ["status", 2], ["likes", 3]]
41814
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41815
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41816
+  (0.2ms) SAVEPOINT active_record_1
41817
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-02-27 00:00:00"], ["updated_at", "2020-10-06 18:17:32.304571"], ["author_id", 978], ["status", 2], ["likes", 24]]
41818
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41819
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41820
+  (0.1ms) SAVEPOINT active_record_1
41821
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-02-28 00:00:00"], ["updated_at", "2020-10-06 18:17:32.307096"], ["author_id", 978], ["status", 2]]
41822
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41823
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41824
+  (0.1ms) SAVEPOINT active_record_1
41825
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.309672"], ["author_id", 978], ["status", 2], ["likes", 19]]
41826
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41827
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41828
+  (0.2ms) SAVEPOINT active_record_1
41829
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-04-08 00:00:00"], ["updated_at", "2020-10-06 18:17:32.312298"], ["author_id", 978], ["status", 2], ["likes", 8]]
41830
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41831
+  (0.6ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00')
41832
+ Post Exists? (0.5ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
41833
+ Post Exists? (0.6ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.created_at >= '2018-12-01 00:00:00' AND posts.created_at < '2019-01-01 00:00:00')) AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
41834
+ Post Load (1.0ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
41835
+ SELECT CAST('2018-12-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS max, CAST('2018-12-01 00:00:00 UTC,2019-01-01 00:00:00 UTC' AS text) AS bin_text
41836
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
41837
+ CASE
41838
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
41839
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
41840
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
41841
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
41842
+ END
41843
+ ) WHERE ((posts.created_at >= '2018-12-01 00:00:00' AND posts.created_at < '2019-01-01 00:00:00')) GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST LIMIT $1 [["LIMIT", 1]]
41844
+ Post Load (1.0ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
41845
+ SELECT CAST('2018-12-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS max, CAST('2018-12-01 00:00:00 UTC,2019-01-01 00:00:00 UTC' AS text) AS bin_text
41846
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
41847
+ CASE
41848
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
41849
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
41850
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
41851
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
41852
+ END
41853
+ ) WHERE ((posts.created_at >= '2018-12-01 00:00:00' AND posts.created_at < '2019-01-01 00:00:00')) GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
41854
+ Post Load (1.4ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
41855
+ SELECT CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-01-01 00:00:00 UTC,2019-02-01 00:00:00 UTC' AS text) AS bin_text UNION
41856
+ SELECT CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-02-01 00:00:00 UTC,2019-03-01 00:00:00 UTC' AS text) AS bin_text UNION
41857
+ SELECT CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-03-01 00:00:00 UTC,2019-04-01 00:00:00 UTC' AS text) AS bin_text UNION
41858
+ SELECT CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-04-01 00:00:00 UTC,2019-05-01 00:00:00 UTC' AS text) AS bin_text
41859
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
41860
+ CASE
41861
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
41862
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
41863
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
41864
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
41865
+ END
41866
+ ) WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
41867
+  (0.3ms) ROLLBACK
41868
+  (0.2ms) BEGIN
41869
+  (0.1ms) ROLLBACK
41870
+  (0.1ms) BEGIN
41871
+  (0.2ms) ROLLBACK
41872
+  (0.2ms) BEGIN
41873
+  (0.1ms) ROLLBACK
41874
+  (0.2ms) BEGIN
41875
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
41876
+  (0.2ms) SAVEPOINT active_record_1
41877
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:32.345900"], ["updated_at", "2020-10-06 18:17:32.345900"], ["name", "Phil"]]
41878
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41879
+  (0.2ms) SAVEPOINT active_record_1
41880
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.347748"], ["author_id", 979], ["status", 2]]
41881
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41882
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
41883
+  (0.2ms) SAVEPOINT active_record_1
41884
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.350664"], ["author_id", 979], ["status", 2]]
41885
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41886
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phyllis"], ["LIMIT", 1]]
41887
+  (0.2ms) SAVEPOINT active_record_1
41888
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:32.353417"], ["updated_at", "2020-10-06 18:17:32.353417"], ["name", "Phyllis"]]
41889
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41890
+  (0.1ms) SAVEPOINT active_record_1
41891
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.355007"], ["author_id", 980], ["status", 2]]
41892
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41893
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phyllis"], ["LIMIT", 1]]
41894
+  (0.2ms) SAVEPOINT active_record_1
41895
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.357634"], ["author_id", 980], ["status", 2]]
41896
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41897
+ Post Load (0.3ms) SELECT "posts".* FROM "posts"
41898
+  (0.3ms) ROLLBACK
41899
+  (0.1ms) BEGIN
41900
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
41901
+  (0.2ms) SAVEPOINT active_record_1
41902
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:32.363448"], ["updated_at", "2020-10-06 18:17:32.363448"], ["name", "Phil"]]
41903
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41904
+  (0.2ms) SAVEPOINT active_record_1
41905
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.365301"], ["author_id", 981], ["status", 2]]
41906
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41907
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
41908
+  (0.2ms) SAVEPOINT active_record_1
41909
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.368397"], ["author_id", 981], ["status", 2]]
41910
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41911
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phyllis"], ["LIMIT", 1]]
41912
+  (0.1ms) SAVEPOINT active_record_1
41913
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:32.371174"], ["updated_at", "2020-10-06 18:17:32.371174"], ["name", "Phyllis"]]
41914
+  (0.3ms) RELEASE SAVEPOINT active_record_1
41915
+  (0.2ms) SAVEPOINT active_record_1
41916
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.372899"], ["author_id", 982], ["status", 2]]
41917
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41918
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phyllis"], ["LIMIT", 1]]
41919
+  (0.1ms) SAVEPOINT active_record_1
41920
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.375770"], ["author_id", 982], ["status", 2]]
41921
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41922
+ Post Load (0.3ms) SELECT "posts".* FROM "posts"
41923
+  (0.2ms) ROLLBACK
41924
+  (0.1ms) BEGIN
41925
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
41926
+  (0.3ms) SAVEPOINT active_record_1
41927
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:32.381883"], ["updated_at", "2020-10-06 18:17:32.381883"], ["name", "Phil"]]
41928
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41929
+  (0.1ms) SAVEPOINT active_record_1
41930
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.383992"], ["author_id", 983], ["status", 2]]
41931
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41932
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
41933
+  (0.1ms) SAVEPOINT active_record_1
41934
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.386771"], ["author_id", 983], ["status", 2]]
41935
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41936
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (authors.name IN ('Phil'))
41937
+  (0.2ms) ROLLBACK
41938
+  (0.1ms) BEGIN
41939
+ Post Exists? (0.6ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (authors.name IN ('')) LIMIT $1 [["LIMIT", 1]]
41940
+  (0.2ms) ROLLBACK
41941
+  (0.2ms) BEGIN
41942
+ Post Exists? (0.5ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (authors.name IS NULL OR authors.name IN (NULL)) LIMIT $1 [["LIMIT", 1]]
41943
+  (0.2ms) ROLLBACK
41944
+  (0.1ms) BEGIN
41945
+  (0.2ms) ROLLBACK
41946
+  (0.1ms) BEGIN
41947
+  (0.1ms) ROLLBACK
41948
+  (0.2ms) BEGIN
41949
+  (0.2ms) ROLLBACK
41950
+  (0.1ms) BEGIN
41951
+  (0.1ms) ROLLBACK
41952
+  (0.2ms) BEGIN
41953
+  (0.2ms) ROLLBACK
41954
+  (0.2ms) BEGIN
41955
+  (0.2ms) ROLLBACK
41956
+  (0.1ms) BEGIN
41957
+  (0.1ms) ROLLBACK
41958
+  (0.2ms) BEGIN
41959
+  (0.2ms) ROLLBACK
41960
+  (0.2ms) BEGIN
41961
+  (0.3ms) ROLLBACK
41962
+  (0.1ms) BEGIN
41963
+  (0.2ms) ROLLBACK
41964
+  (0.1ms) BEGIN
41965
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41966
+  (0.2ms) SAVEPOINT active_record_1
41967
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:32.419671"], ["updated_at", "2020-10-06 18:17:32.419671"], ["name", "Timmy"]]
41968
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41969
+  (0.1ms) SAVEPOINT active_record_1
41970
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.421306"], ["author_id", 984], ["status", 2], ["likes", 1]]
41971
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41972
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41973
+  (0.1ms) SAVEPOINT active_record_1
41974
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-06 18:17:32.423949"], ["author_id", 984], ["status", 2], ["likes", 2]]
41975
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41976
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
41977
+  (0.1ms) SAVEPOINT active_record_1
41978
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:32.426421"], ["updated_at", "2020-10-06 18:17:32.426421"], ["name", "Tammy"]]
41979
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41980
+  (0.2ms) SAVEPOINT active_record_1
41981
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-06 18:17:32.427943"], ["author_id", 985], ["status", 2], ["likes", 3]]
41982
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41983
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
41984
+  (0.2ms) SAVEPOINT active_record_1
41985
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.431040"], ["author_id", 985], ["status", 2], ["likes", 4]]
41986
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41987
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
41988
+  (0.2ms) SAVEPOINT active_record_1
41989
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-15 00:00:00"], ["updated_at", "2020-10-06 18:17:32.434126"], ["author_id", 985], ["status", 2], ["likes", 2]]
41990
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41991
+ Post Load (0.4ms) SELECT 'totals' AS _active_reporter_dimension_totals, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" GROUP BY _active_reporter_dimension_totals ORDER BY _active_reporter_dimension_totals ASC NULLS FIRST
41992
+  (0.2ms) ROLLBACK
41993
+  (0.1ms) BEGIN
41994
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
41995
+  (0.1ms) SAVEPOINT active_record_1
41996
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:32.440462"], ["updated_at", "2020-10-06 18:17:32.440462"], ["name", "Timmy"]]
41997
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41998
+  (0.1ms) SAVEPOINT active_record_1
41999
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.442263"], ["author_id", 986], ["status", 2], ["likes", 1]]
42000
+  (0.2ms) RELEASE SAVEPOINT active_record_1
42001
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
42002
+  (0.2ms) SAVEPOINT active_record_1
42003
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-06 18:17:32.445346"], ["author_id", 986], ["status", 2], ["likes", 2]]
42004
+  (0.2ms) RELEASE SAVEPOINT active_record_1
42005
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
42006
+  (0.2ms) SAVEPOINT active_record_1
42007
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 18:17:32.448709"], ["updated_at", "2020-10-06 18:17:32.448709"], ["name", "Tammy"]]
42008
+  (0.2ms) RELEASE SAVEPOINT active_record_1
42009
+  (0.1ms) SAVEPOINT active_record_1
42010
+ Post Create (0.6ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-06 18:17:32.450728"], ["author_id", 987], ["status", 2], ["likes", 3]]
42011
+  (0.2ms) RELEASE SAVEPOINT active_record_1
42012
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
42013
+  (0.1ms) SAVEPOINT active_record_1
42014
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.453787"], ["author_id", 987], ["status", 2], ["likes", 4]]
42015
+  (0.2ms) RELEASE SAVEPOINT active_record_1
42016
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
42017
+  (0.3ms) SAVEPOINT active_record_1
42018
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-15 00:00:00"], ["updated_at", "2020-10-06 18:17:32.456473"], ["author_id", 987], ["status", 2], ["likes", 2]]
42019
+  (0.2ms) RELEASE SAVEPOINT active_record_1
42020
+ Post Load (0.7ms) SELECT 'totals' AS _active_reporter_dimension_totals, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (authors.name IN ('Tammy')) GROUP BY _active_reporter_dimension_totals ORDER BY _active_reporter_dimension_totals ASC NULLS FIRST
42021
+ Post Load (0.5ms) SELECT 'totals' AS _active_reporter_dimension_totals, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" GROUP BY _active_reporter_dimension_totals ORDER BY _active_reporter_dimension_totals ASC NULLS FIRST
42022
+  (0.2ms) ROLLBACK
42023
+  (0.2ms) BEGIN
42024
+  (0.1ms) SAVEPOINT active_record_1
42025
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.467346"], ["title", "A"], ["status", 2], ["likes", 2]]
42026
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42027
+  (0.2ms) SAVEPOINT active_record_1
42028
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.469444"], ["title", "A"], ["status", 2], ["likes", 2]]
42029
+  (0.2ms) RELEASE SAVEPOINT active_record_1
42030
+  (0.2ms) SAVEPOINT active_record_1
42031
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.471573"], ["title", "B"], ["status", 2], ["likes", 1]]
42032
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42033
+  (0.1ms) SAVEPOINT active_record_1
42034
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-06 18:17:32.473531"], ["title", "A"], ["status", 2], ["likes", 1]]
42035
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42036
+  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"
42037
+  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"
42038
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
42039
+ Post Load (1.0ms) SELECT posts.title AS _active_reporter_dimension_title, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count, SUM(posts.likes) AS _report_aggregator_likes_count FROM "posts" INNER JOIN (
42040
+ SELECT CAST('2016-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
42041
+ SELECT CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
42042
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
42043
+ CASE
42044
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
42045
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
42046
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
42047
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
42048
+ END
42049
+ ) GROUP BY _active_reporter_dimension_title, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
42050
+  (0.3ms) ROLLBACK
42051
+  (0.2ms) BEGIN
42052
+  (0.2ms) SAVEPOINT active_record_1
42053
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.486498"], ["title", "A"], ["status", 2], ["likes", 2]]
42054
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42055
+  (0.2ms) SAVEPOINT active_record_1
42056
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.488777"], ["title", "A"], ["status", 2], ["likes", 2]]
42057
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42058
+  (0.1ms) SAVEPOINT active_record_1
42059
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.490878"], ["title", "B"], ["status", 2], ["likes", 1]]
42060
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42061
+  (0.2ms) SAVEPOINT active_record_1
42062
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-06 18:17:32.492870"], ["title", "A"], ["status", 2], ["likes", 1]]
42063
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42064
+ Post Load (0.4ms) SELECT posts.title AS _active_reporter_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _active_reporter_dimension_title ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
42065
+  (0.2ms) ROLLBACK
42066
+  (0.1ms) BEGIN
42067
+  (0.3ms) SAVEPOINT active_record_1
42068
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.501497"], ["title", "A"], ["status", 2], ["likes", 2]]
42069
+  (0.2ms) RELEASE SAVEPOINT active_record_1
42070
+  (0.1ms) SAVEPOINT active_record_1
42071
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.504049"], ["title", "A"], ["status", 2], ["likes", 2]]
42072
+  (0.2ms) RELEASE SAVEPOINT active_record_1
42073
+  (0.2ms) SAVEPOINT active_record_1
42074
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.506019"], ["title", "B"], ["status", 2], ["likes", 1]]
42075
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42076
+  (0.2ms) SAVEPOINT active_record_1
42077
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-06 18:17:32.508004"], ["title", "A"], ["status", 2], ["likes", 1]]
42078
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42079
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
42080
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
42081
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
42082
+ Post Load (0.8ms) SELECT posts.title AS _active_reporter_dimension_title, _active_reporter_dimension_likes_bin_table.bin_text AS _active_reporter_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
42083
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
42084
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
42085
+ ) AS _active_reporter_dimension_likes_bin_table ON (
42086
+ CASE
42087
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL AND _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
42088
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
42089
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
42090
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
42091
+ END
42092
+ ) GROUP BY _active_reporter_dimension_title, _active_reporter_dimension_likes ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
42093
+  (0.3ms) ROLLBACK
42094
+  (0.2ms) BEGIN
42095
+  (0.1ms) SAVEPOINT active_record_1
42096
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.517465"], ["title", "A"], ["status", 2], ["likes", 2]]
42097
+  (0.2ms) RELEASE SAVEPOINT active_record_1
42098
+  (0.2ms) SAVEPOINT active_record_1
42099
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.519693"], ["title", "A"], ["status", 2], ["likes", 2]]
42100
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42101
+  (0.2ms) SAVEPOINT active_record_1
42102
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.521692"], ["title", "B"], ["status", 2], ["likes", 1]]
42103
+  (0.2ms) RELEASE SAVEPOINT active_record_1
42104
+  (0.1ms) SAVEPOINT active_record_1
42105
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-06 18:17:32.523728"], ["title", "A"], ["status", 2], ["likes", 1]]
42106
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42107
+  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"
42108
+  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"
42109
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
42110
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
42111
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
42112
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
42113
+ Post Load (1.3ms) SELECT posts.title AS _active_reporter_dimension_title, _active_reporter_dimension_likes_bin_table.bin_text AS _active_reporter_dimension_likes, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
42114
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
42115
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
42116
+ ) AS _active_reporter_dimension_likes_bin_table ON (
42117
+ CASE
42118
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL AND _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
42119
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
42120
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
42121
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
42122
+ END
42123
+ ) INNER JOIN (
42124
+ SELECT CAST('2016-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
42125
+ SELECT CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
42126
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
42127
+ CASE
42128
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
42129
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
42130
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
42131
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
42132
+ END
42133
+ ) GROUP BY _active_reporter_dimension_title, _active_reporter_dimension_likes, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
42134
+  (0.4ms) ROLLBACK
42135
+  (0.1ms) BEGIN
42136
+  (0.1ms) SAVEPOINT active_record_1
42137
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.607238"], ["title", "A"], ["status", 2], ["likes", 2]]
42138
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42139
+  (0.1ms) SAVEPOINT active_record_1
42140
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.609350"], ["title", "A"], ["status", 2], ["likes", 2]]
42141
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42142
+  (0.2ms) SAVEPOINT active_record_1
42143
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.611101"], ["title", "B"], ["status", 2], ["likes", 1]]
42144
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42145
+  (0.3ms) SAVEPOINT active_record_1
42146
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-06 18:17:32.613208"], ["title", "A"], ["status", 2], ["likes", 1]]
42147
+  (0.3ms) RELEASE SAVEPOINT active_record_1
42148
+  (0.2ms) ROLLBACK
42149
+  (0.1ms) BEGIN
42150
+  (0.1ms) SAVEPOINT active_record_1
42151
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.617668"], ["title", "A"], ["status", 2], ["likes", 2]]
42152
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42153
+  (0.2ms) SAVEPOINT active_record_1
42154
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.619886"], ["title", "A"], ["status", 2], ["likes", 2]]
42155
+  (0.2ms) RELEASE SAVEPOINT active_record_1
42156
+  (0.2ms) SAVEPOINT active_record_1
42157
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.621874"], ["title", "B"], ["status", 2], ["likes", 1]]
42158
+  (0.2ms) RELEASE SAVEPOINT active_record_1
42159
+  (0.2ms) SAVEPOINT active_record_1
42160
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-06 18:17:32.624068"], ["title", "A"], ["status", 2], ["likes", 1]]
42161
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42162
+  (0.4ms) SELECT COUNT(*) FROM "posts"
42163
+  (0.3ms) SELECT COUNT(*) FROM "posts"
42164
+  (0.2ms) ROLLBACK
42165
+  (0.1ms) BEGIN
42166
+  (0.1ms) SAVEPOINT active_record_1
42167
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.629706"], ["title", "A"], ["status", 2], ["likes", 2]]
42168
+  (0.2ms) RELEASE SAVEPOINT active_record_1
42169
+  (0.2ms) SAVEPOINT active_record_1
42170
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.631967"], ["title", "A"], ["status", 2], ["likes", 2]]
42171
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42172
+  (0.1ms) SAVEPOINT active_record_1
42173
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 18:17:32.634105"], ["title", "B"], ["status", 2], ["likes", 1]]
42174
+  (0.2ms) RELEASE SAVEPOINT active_record_1
42175
+  (0.2ms) SAVEPOINT active_record_1
42176
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-06 18:17:32.636055"], ["title", "A"], ["status", 2], ["likes", 1]]
42177
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42178
+  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"
42179
+  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"
42180
+ Post Exists? (0.4ms) SELECT 1 AS one FROM "posts" WHERE (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
42181
+  (0.3ms) SELECT MIN(posts.likes) FROM "posts"
42182
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
42183
+ Post Exists? (0.4ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
42184
+ Post Load (1.2ms) SELECT _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, _active_reporter_dimension_likes_bin_table.bin_text AS _active_reporter_dimension_likes, posts.title AS _active_reporter_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
42185
+ SELECT CAST('2016-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
42186
+ SELECT CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
42187
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
42188
+ CASE
42189
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
42190
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
42191
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
42192
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
42193
+ END
42194
+ ) INNER JOIN (
42195
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
42196
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
42197
+ ) AS _active_reporter_dimension_likes_bin_table ON (
42198
+ CASE
42199
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL AND _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
42200
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
42201
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
42202
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
42203
+ END
42204
+ ) GROUP BY _active_reporter_dimension_created_at, _active_reporter_dimension_likes, _active_reporter_dimension_title ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
42205
+  (0.4ms) ROLLBACK