active_reporter 0.6.0 → 0.6.1

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: 328853439d1443c9211a3a15768ae3b4d2bb9c1bb956b6a61543317d9f297ff4
4
- data.tar.gz: 5ff7183c93c98df405454adaec391d246478df086990d9017cf334cae635817d
3
+ metadata.gz: 760b641c323ac15a10767901f91776f8060353366c74e00333a29f76c43a622f
4
+ data.tar.gz: 12e2c7902056ec37e07a72c11d16261390c2aa8e56e1b7395d000d24b2617de8
5
5
  SHA512:
6
- metadata.gz: 556eb214e77059c173acb6a0a596d4aa53d3a6e39a9eb8bd8536204672b5de2619c452af824b2460e42301d4d82fd616f8c4c4484bfa68e0fb74d7058d2dbf9d
7
- data.tar.gz: d2f29670357f0abba889e4d9b72858e4635abcc73f24225d45fb51558e6bbb712039a49a2d347a1ce65454c6989d6e4a8196b05d34c37da268844f3f63ef2e4a
6
+ metadata.gz: 94f9875a81ab72172e200920213ca1de4f307f6879dc7163101d7399c5ea0cb3ba80b4b724c4c3b62b0d32daee75fe11a43a68a72d00ed1aa787a43fb3c8e6b4
7
+ data.tar.gz: 80d2ee5dc68fe12fc1239bab3305aa4c15ddccbb57daf74183e9e95bb05db7754b3045f927cf5eb2d673c113df1f3b6cd5d5c4b3412dd44cc9404ec891575e64
@@ -57,6 +57,10 @@ module ActiveReporter
57
57
  elsif aggregators.exclude?(tracker.aggregator)
58
58
  add_invalid_param_error(:tracker, ":#{tracker.name} defines an invalid aggregator :#{tracker.aggregator} (should be in #{self.class.aggregators.keys})")
59
59
  end
60
+
61
+ if tracker.prior_aggregator.present? && aggregators.exclude?(tracker.prior_aggregator)
62
+ add_invalid_param_error(:tracker, ":#{tracker.name} defines an invalid prior aggregator :#{tracker.prior_aggregator} (should be in #{self.class.aggregators.keys})")
63
+ end
60
64
  end
61
65
  end
62
66
 
@@ -2,7 +2,7 @@ module ActiveReporter
2
2
  module Tracker
3
3
  class Value < ActiveReporter::Tracker::Base
4
4
  def track(_, prior_row)
5
- prior_row[prior_aggregator] if prior_row.nil?
5
+ prior_row[aggregator] if prior_row.nil?
6
6
  end
7
7
  end
8
8
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveReporter
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
@@ -97097,3 +97097,1260 @@
97097
97097
  END
97098
97098
  ) GROUP BY _active_reporter_dimension_created_at, _active_reporter_dimension_likes, _active_reporter_dimension_title ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
97099
97099
   (0.3ms) ROLLBACK
97100
+  (9.6ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
97101
+  (17.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
97102
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
97103
+  (0.3ms) BEGIN
97104
+  (0.2ms) SAVEPOINT active_record_1
97105
+ Author Create (6.1ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:30.789450"], ["updated_at", "2021-04-07 02:31:30.789450"], ["name", "James Joyce"]]
97106
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97107
+ Author Load (1.8ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
97108
+  (0.2ms) SAVEPOINT active_record_1
97109
+ Post Create (5.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", "2021-04-07 02:31:30.841508"], ["updated_at", "2021-04-07 02:31:30.841508"], ["author_id", 3056], ["status", 2], ["likes", 1], ["published_at", "2015-10-01 00:00:00"]]
97110
+  (0.3ms) RELEASE SAVEPOINT active_record_1
97111
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
97112
+  (0.1ms) SAVEPOINT active_record_1
97113
+ 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", "2021-04-07 02:31:30.850119"], ["updated_at", "2021-04-07 02:31:30.850119"], ["author_id", 3056], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
97114
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97115
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
97116
+  (0.2ms) SAVEPOINT active_record_1
97117
+ 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", "2021-04-07 02:31:30.852484"], ["updated_at", "2021-04-07 02:31:30.852484"], ["author_id", 3056], ["status", 2], ["likes", 1], ["published_at", "2015-11-01 00:00:00"]]
97118
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97119
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
97120
+  (0.1ms) SAVEPOINT active_record_1
97121
+ 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", "2021-04-07 02:31:30.854828"], ["updated_at", "2021-04-07 02:31:30.854828"], ["author_id", 3056], ["status", 2], ["likes", 3]]
97122
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97123
+  (0.2ms) SAVEPOINT active_record_1
97124
+ Author Create (0.2ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:30.856778"], ["updated_at", "2021-04-07 02:31:30.856778"], ["name", "Virginia Woolf"]]
97125
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97126
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
97127
+  (0.1ms) SAVEPOINT active_record_1
97128
+ 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", "2021-04-07 02:31:30.858850"], ["updated_at", "2021-04-07 02:31:30.858850"], ["author_id", 3057], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
97129
+  (0.3ms) RELEASE SAVEPOINT active_record_1
97130
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
97131
+  (0.1ms) SAVEPOINT active_record_1
97132
+ 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", "2021-04-07 02:31:30.861361"], ["updated_at", "2021-04-07 02:31:30.861361"], ["author_id", 3057], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
97133
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97134
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
97135
+  (0.1ms) SAVEPOINT active_record_1
97136
+ 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", "2021-04-07 02:31:30.863619"], ["updated_at", "2021-04-07 02:31:30.863619"], ["author_id", 3057], ["status", 2], ["likes", 3]]
97137
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97138
+  (0.2ms) SAVEPOINT active_record_1
97139
+ 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", "2021-04-07 02:31:30.865510"], ["updated_at", "2021-04-07 02:31:30.865510"], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
97140
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97141
+  (0.1ms) SAVEPOINT active_record_1
97142
+ 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", "2021-04-07 02:31:30.867208"], ["updated_at", "2021-04-07 02:31:30.867208"], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
97143
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97144
+ Post Load (35.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 FIRST
97145
+  (18.0ms) SELECT MIN(posts.published_at) FROM "posts"
97146
+  (0.6ms) SELECT MAX(posts.published_at) FROM "posts"
97147
+ Post Exists? (0.4ms) SELECT 1 AS one FROM "posts" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
97148
+ Post Load (42.6ms) 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 (
97149
+ 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
97150
+ 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
97151
+ 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
97152
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
97153
+ CASE
97154
+ 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)
97155
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
97156
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
97157
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
97158
+ END
97159
+ ) GROUP BY _active_reporter_dimension_published_at
97160
+  (0.7ms) SELECT MIN(posts.likes) FROM "posts"
97161
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
97162
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
97163
+ Post Load (3.4ms) 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 (
97164
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
97165
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text UNION
97166
+ SELECT 3.0 AS min, 4.0 AS max, CAST('3.0,4.0' AS text) AS bin_text
97167
+ ) AS _active_reporter_dimension_likes_bin_table ON (
97168
+ CASE
97169
+ 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)
97170
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
97171
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
97172
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
97173
+ END
97174
+ ) GROUP BY _active_reporter_dimension_likes
97175
+  (1.8ms) ROLLBACK
97176
+  (0.2ms) BEGIN
97177
+  (0.2ms) SAVEPOINT active_record_1
97178
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.028698"], ["updated_at", "2021-04-07 02:31:31.028698"], ["name", "James Joyce"]]
97179
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97180
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
97181
+  (0.2ms) SAVEPOINT active_record_1
97182
+ 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", "2021-04-07 02:31:31.032999"], ["updated_at", "2021-04-07 02:31:31.032999"], ["author_id", 3058], ["status", 2], ["likes", 1], ["published_at", "2015-10-01 00:00:00"]]
97183
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97184
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
97185
+  (0.1ms) SAVEPOINT active_record_1
97186
+ 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", "2021-04-07 02:31:31.036542"], ["updated_at", "2021-04-07 02:31:31.036542"], ["author_id", 3058], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
97187
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97188
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
97189
+  (0.1ms) SAVEPOINT active_record_1
97190
+ Post Create (0.9ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2021-04-07 02:31:31.040574"], ["updated_at", "2021-04-07 02:31:31.040574"], ["author_id", 3058], ["status", 2], ["likes", 1], ["published_at", "2015-11-01 00:00:00"]]
97191
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97192
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
97193
+  (0.1ms) SAVEPOINT active_record_1
97194
+ 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", "2021-04-07 02:31:31.044250"], ["updated_at", "2021-04-07 02:31:31.044250"], ["author_id", 3058], ["status", 2], ["likes", 3]]
97195
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97196
+  (0.2ms) SAVEPOINT active_record_1
97197
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.047509"], ["updated_at", "2021-04-07 02:31:31.047509"], ["name", "Virginia Woolf"]]
97198
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97199
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
97200
+  (0.1ms) SAVEPOINT active_record_1
97201
+ 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", "2021-04-07 02:31:31.050454"], ["updated_at", "2021-04-07 02:31:31.050454"], ["author_id", 3059], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
97202
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97203
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
97204
+  (0.1ms) SAVEPOINT active_record_1
97205
+ 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", "2021-04-07 02:31:31.054150"], ["updated_at", "2021-04-07 02:31:31.054150"], ["author_id", 3059], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
97206
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97207
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
97208
+  (0.1ms) SAVEPOINT active_record_1
97209
+ 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", "2021-04-07 02:31:31.056977"], ["updated_at", "2021-04-07 02:31:31.056977"], ["author_id", 3059], ["status", 2], ["likes", 3]]
97210
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97211
+  (0.1ms) SAVEPOINT active_record_1
97212
+ Post Create (1.1ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2021-04-07 02:31:31.060179"], ["updated_at", "2021-04-07 02:31:31.060179"], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
97213
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97214
+  (0.2ms) SAVEPOINT active_record_1
97215
+ Post Create (1.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2021-04-07 02:31:31.062771"], ["updated_at", "2021-04-07 02:31:31.062771"], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
97216
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97217
+  (0.4ms) SELECT MIN(posts.published_at) FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id"
97218
+  (0.3ms) SELECT MAX(posts.published_at) FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id"
97219
+ Post Exists? (0.3ms) 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]]
97220
+ Post Load (1.4ms) 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 (
97221
+ 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
97222
+ 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
97223
+ 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
97224
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
97225
+ CASE
97226
+ 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)
97227
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
97228
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
97229
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
97230
+ END
97231
+ ) GROUP BY _active_reporter_dimension_published_at, _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
97232
+  (0.3ms) ROLLBACK
97233
+  (0.2ms) BEGIN
97234
+  (0.1ms) SAVEPOINT active_record_1
97235
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.094405"], ["updated_at", "2021-04-07 02:31:31.094405"], ["name", "James Joyce"]]
97236
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97237
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
97238
+  (0.2ms) SAVEPOINT active_record_1
97239
+ 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", "2021-04-07 02:31:31.097000"], ["updated_at", "2021-04-07 02:31:31.097000"], ["author_id", 3060], ["status", 2], ["likes", 1], ["published_at", "2015-10-01 00:00:00"]]
97240
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97241
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
97242
+  (0.1ms) SAVEPOINT active_record_1
97243
+ 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", "2021-04-07 02:31:31.099287"], ["updated_at", "2021-04-07 02:31:31.099287"], ["author_id", 3060], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
97244
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97245
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
97246
+  (0.1ms) SAVEPOINT active_record_1
97247
+ 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", "2021-04-07 02:31:31.101887"], ["updated_at", "2021-04-07 02:31:31.101887"], ["author_id", 3060], ["status", 2], ["likes", 1], ["published_at", "2015-11-01 00:00:00"]]
97248
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97249
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
97250
+  (0.1ms) SAVEPOINT active_record_1
97251
+ 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", "2021-04-07 02:31:31.104317"], ["updated_at", "2021-04-07 02:31:31.104317"], ["author_id", 3060], ["status", 2], ["likes", 3]]
97252
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97253
+  (0.1ms) SAVEPOINT active_record_1
97254
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.106278"], ["updated_at", "2021-04-07 02:31:31.106278"], ["name", "Virginia Woolf"]]
97255
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97256
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
97257
+  (0.1ms) SAVEPOINT active_record_1
97258
+ 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", "2021-04-07 02:31:31.108535"], ["updated_at", "2021-04-07 02:31:31.108535"], ["author_id", 3061], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
97259
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97260
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
97261
+  (0.1ms) SAVEPOINT active_record_1
97262
+ 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", "2021-04-07 02:31:31.110940"], ["updated_at", "2021-04-07 02:31:31.110940"], ["author_id", 3061], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
97263
+  (2.3ms) RELEASE SAVEPOINT active_record_1
97264
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
97265
+  (0.2ms) SAVEPOINT active_record_1
97266
+ 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", "2021-04-07 02:31:31.116517"], ["updated_at", "2021-04-07 02:31:31.116517"], ["author_id", 3061], ["status", 2], ["likes", 3]]
97267
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97268
+  (0.1ms) SAVEPOINT active_record_1
97269
+ 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", "2021-04-07 02:31:31.119124"], ["updated_at", "2021-04-07 02:31:31.119124"], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
97270
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97271
+  (0.1ms) SAVEPOINT active_record_1
97272
+ 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", "2021-04-07 02:31:31.120880"], ["updated_at", "2021-04-07 02:31:31.120880"], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
97273
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97274
+ 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_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
97275
+  (0.4ms) SELECT MIN(posts.published_at) FROM "posts"
97276
+  (0.4ms) SELECT MAX(posts.published_at) FROM "posts"
97277
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
97278
+ Post Load (0.9ms) 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 (
97279
+ 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
97280
+ 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
97281
+ 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
97282
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
97283
+ CASE
97284
+ 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)
97285
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
97286
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
97287
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
97288
+ END
97289
+ ) GROUP BY _active_reporter_dimension_published_at
97290
+ 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_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
97291
+ 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_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
97292
+  (0.4ms) SELECT MIN(posts.published_at) FROM "posts"
97293
+  (0.4ms) SELECT MAX(posts.published_at) FROM "posts"
97294
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
97295
+ Post Load (1.1ms) 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 (
97296
+ 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
97297
+ 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
97298
+ 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
97299
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
97300
+ CASE
97301
+ 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)
97302
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
97303
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
97304
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
97305
+ END
97306
+ ) GROUP BY _active_reporter_dimension_published_at
97307
+  (0.4ms) SELECT MIN(posts.published_at) FROM "posts"
97308
+  (0.3ms) SELECT MAX(posts.published_at) FROM "posts"
97309
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
97310
+ 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 (
97311
+ 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
97312
+ 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
97313
+ 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
97314
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
97315
+ CASE
97316
+ 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)
97317
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
97318
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
97319
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
97320
+ END
97321
+ ) GROUP BY _active_reporter_dimension_published_at
97322
+  (0.3ms) ROLLBACK
97323
+  (0.2ms) BEGIN
97324
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
97325
+  (0.2ms) SAVEPOINT active_record_1
97326
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.165689"], ["updated_at", "2021-04-07 02:31:31.165689"], ["name", "Alice"]]
97327
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97328
+  (0.1ms) SAVEPOINT active_record_1
97329
+ 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", "2021-04-07 02:31:31.167334"], ["updated_at", "2021-04-07 02:31:31.167334"], ["author_id", 3062], ["status", 2], ["likes", 3]]
97330
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97331
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
97332
+  (0.1ms) SAVEPOINT active_record_1
97333
+ Post Create (1.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2021-04-07 02:31:31.169736"], ["updated_at", "2021-04-07 02:31:31.169736"], ["author_id", 3062], ["status", 2], ["likes", 2]]
97334
+  (0.3ms) RELEASE SAVEPOINT active_record_1
97335
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
97336
+  (0.1ms) SAVEPOINT active_record_1
97337
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.173962"], ["updated_at", "2021-04-07 02:31:31.173962"], ["name", "Bob"]]
97338
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97339
+  (0.1ms) SAVEPOINT active_record_1
97340
+ 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", "2021-04-07 02:31:31.175496"], ["updated_at", "2021-04-07 02:31:31.175496"], ["author_id", 3063], ["status", 2], ["likes", 4]]
97341
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97342
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
97343
+  (0.1ms) SAVEPOINT active_record_1
97344
+ 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", "2021-04-07 02:31:31.177880"], ["updated_at", "2021-04-07 02:31:31.177880"], ["author_id", 3063], ["status", 2], ["likes", 1]]
97345
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97346
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
97347
+  (0.1ms) SAVEPOINT active_record_1
97348
+ 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", "2021-04-07 02:31:31.180327"], ["updated_at", "2021-04-07 02:31:31.180327"], ["author_id", 3063], ["status", 2], ["likes", 5]]
97349
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97350
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
97351
+  (0.2ms) SAVEPOINT active_record_1
97352
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.183105"], ["updated_at", "2021-04-07 02:31:31.183105"], ["name", "Chester"]]
97353
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97354
+  (0.2ms) SAVEPOINT active_record_1
97355
+ 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", "2021-04-07 02:31:31.184702"], ["updated_at", "2021-04-07 02:31:31.184702"], ["author_id", 3064], ["status", 2], ["likes", 10]]
97356
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97357
+ Post Load (2.2ms) 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
97358
+  (0.3ms) ROLLBACK
97359
+  (0.2ms) BEGIN
97360
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
97361
+  (0.1ms) SAVEPOINT active_record_1
97362
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.193205"], ["updated_at", "2021-04-07 02:31:31.193205"], ["name", "Alice"]]
97363
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97364
+  (0.2ms) SAVEPOINT active_record_1
97365
+ 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", "2021-04-07 02:31:31.194932"], ["updated_at", "2021-04-07 02:31:31.194932"], ["author_id", 3065], ["status", 2], ["likes", 3]]
97366
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97367
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
97368
+  (0.2ms) SAVEPOINT active_record_1
97369
+ 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", "2021-04-07 02:31:31.197775"], ["updated_at", "2021-04-07 02:31:31.197775"], ["author_id", 3065], ["status", 2], ["likes", 2]]
97370
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97371
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
97372
+  (0.2ms) SAVEPOINT active_record_1
97373
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.200757"], ["updated_at", "2021-04-07 02:31:31.200757"], ["name", "Bob"]]
97374
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97375
+  (0.1ms) SAVEPOINT active_record_1
97376
+ 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", "2021-04-07 02:31:31.202313"], ["updated_at", "2021-04-07 02:31:31.202313"], ["author_id", 3066], ["status", 2], ["likes", 4]]
97377
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97378
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
97379
+  (0.1ms) SAVEPOINT active_record_1
97380
+ 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", "2021-04-07 02:31:31.204709"], ["updated_at", "2021-04-07 02:31:31.204709"], ["author_id", 3066], ["status", 2], ["likes", 1]]
97381
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97382
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
97383
+  (0.1ms) SAVEPOINT active_record_1
97384
+ 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", "2021-04-07 02:31:31.206966"], ["updated_at", "2021-04-07 02:31:31.206966"], ["author_id", 3066], ["status", 2], ["likes", 5]]
97385
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97386
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
97387
+  (0.2ms) SAVEPOINT active_record_1
97388
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.209489"], ["updated_at", "2021-04-07 02:31:31.209489"], ["name", "Chester"]]
97389
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97390
+  (0.1ms) SAVEPOINT active_record_1
97391
+ 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", "2021-04-07 02:31:31.211235"], ["updated_at", "2021-04-07 02:31:31.211235"], ["author_id", 3067], ["status", 2], ["likes", 10]]
97392
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97393
+ Post Load (0.8ms) 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
97394
+  (0.3ms) ROLLBACK
97395
+  (0.2ms) BEGIN
97396
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
97397
+  (0.6ms) SAVEPOINT active_record_1
97398
+ Author Create (1.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.219994"], ["updated_at", "2021-04-07 02:31:31.219994"], ["name", "Alice"]]
97399
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97400
+  (0.1ms) SAVEPOINT active_record_1
97401
+ 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", "2021-04-07 02:31:31.223838"], ["updated_at", "2021-04-07 02:31:31.223838"], ["author_id", 3068], ["status", 2], ["likes", 3]]
97402
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97403
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
97404
+  (0.2ms) SAVEPOINT active_record_1
97405
+ 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", "2021-04-07 02:31:31.226728"], ["updated_at", "2021-04-07 02:31:31.226728"], ["author_id", 3068], ["status", 2], ["likes", 2]]
97406
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97407
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
97408
+  (0.2ms) SAVEPOINT active_record_1
97409
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.229257"], ["updated_at", "2021-04-07 02:31:31.229257"], ["name", "Bob"]]
97410
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97411
+  (0.1ms) SAVEPOINT active_record_1
97412
+ 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", "2021-04-07 02:31:31.230760"], ["updated_at", "2021-04-07 02:31:31.230760"], ["author_id", 3069], ["status", 2], ["likes", 4]]
97413
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97414
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
97415
+  (0.1ms) SAVEPOINT active_record_1
97416
+ 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", "2021-04-07 02:31:31.233142"], ["updated_at", "2021-04-07 02:31:31.233142"], ["author_id", 3069], ["status", 2], ["likes", 1]]
97417
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97418
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
97419
+  (0.2ms) SAVEPOINT active_record_1
97420
+ 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", "2021-04-07 02:31:31.235394"], ["updated_at", "2021-04-07 02:31:31.235394"], ["author_id", 3069], ["status", 2], ["likes", 5]]
97421
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97422
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
97423
+  (0.1ms) SAVEPOINT active_record_1
97424
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.237793"], ["updated_at", "2021-04-07 02:31:31.237793"], ["name", "Chester"]]
97425
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97426
+  (0.1ms) SAVEPOINT active_record_1
97427
+ 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", "2021-04-07 02:31:31.239187"], ["updated_at", "2021-04-07 02:31:31.239187"], ["author_id", 3070], ["status", 2], ["likes", 10]]
97428
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97429
+ Post Load (0.6ms) 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
97430
+  (0.2ms) ROLLBACK
97431
+  (0.1ms) BEGIN
97432
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
97433
+  (0.2ms) SAVEPOINT active_record_1
97434
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.245077"], ["updated_at", "2021-04-07 02:31:31.245077"], ["name", "Alice"]]
97435
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97436
+  (0.1ms) SAVEPOINT active_record_1
97437
+ 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", "2021-04-07 02:31:31.246620"], ["updated_at", "2021-04-07 02:31:31.246620"], ["author_id", 3071], ["status", 2], ["likes", 3]]
97438
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97439
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
97440
+  (0.1ms) SAVEPOINT active_record_1
97441
+ 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", "2021-04-07 02:31:31.248876"], ["updated_at", "2021-04-07 02:31:31.248876"], ["author_id", 3071], ["status", 2], ["likes", 2]]
97442
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97443
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
97444
+  (0.1ms) SAVEPOINT active_record_1
97445
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.251101"], ["updated_at", "2021-04-07 02:31:31.251101"], ["name", "Bob"]]
97446
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97447
+  (0.1ms) SAVEPOINT active_record_1
97448
+ 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", "2021-04-07 02:31:31.252566"], ["updated_at", "2021-04-07 02:31:31.252566"], ["author_id", 3072], ["status", 2], ["likes", 4]]
97449
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97450
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
97451
+  (0.1ms) SAVEPOINT active_record_1
97452
+ 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", "2021-04-07 02:31:31.254844"], ["updated_at", "2021-04-07 02:31:31.254844"], ["author_id", 3072], ["status", 2], ["likes", 1]]
97453
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97454
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
97455
+  (0.1ms) SAVEPOINT active_record_1
97456
+ 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", "2021-04-07 02:31:31.257198"], ["updated_at", "2021-04-07 02:31:31.257198"], ["author_id", 3072], ["status", 2], ["likes", 5]]
97457
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97458
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
97459
+  (0.2ms) SAVEPOINT active_record_1
97460
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.259548"], ["updated_at", "2021-04-07 02:31:31.259548"], ["name", "Chester"]]
97461
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97462
+  (0.1ms) SAVEPOINT active_record_1
97463
+ 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", "2021-04-07 02:31:31.261153"], ["updated_at", "2021-04-07 02:31:31.261153"], ["author_id", 3073], ["status", 2], ["likes", 10]]
97464
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97465
+ 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
97466
+  (0.2ms) ROLLBACK
97467
+  (0.1ms) BEGIN
97468
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
97469
+  (0.1ms) SAVEPOINT active_record_1
97470
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.267254"], ["updated_at", "2021-04-07 02:31:31.267254"], ["name", "Alice"]]
97471
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97472
+  (0.1ms) SAVEPOINT active_record_1
97473
+ 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", "2021-04-07 02:31:31.268718"], ["updated_at", "2021-04-07 02:31:31.268718"], ["author_id", 3074], ["status", 2], ["likes", 3]]
97474
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97475
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
97476
+  (0.1ms) SAVEPOINT active_record_1
97477
+ 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", "2021-04-07 02:31:31.270994"], ["updated_at", "2021-04-07 02:31:31.270994"], ["author_id", 3074], ["status", 2], ["likes", 2]]
97478
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97479
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
97480
+  (0.1ms) SAVEPOINT active_record_1
97481
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.273171"], ["updated_at", "2021-04-07 02:31:31.273171"], ["name", "Bob"]]
97482
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97483
+  (0.1ms) SAVEPOINT active_record_1
97484
+ 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", "2021-04-07 02:31:31.274450"], ["updated_at", "2021-04-07 02:31:31.274450"], ["author_id", 3075], ["status", 2], ["likes", 4]]
97485
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97486
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
97487
+  (0.2ms) SAVEPOINT active_record_1
97488
+ 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", "2021-04-07 02:31:31.276548"], ["updated_at", "2021-04-07 02:31:31.276548"], ["author_id", 3075], ["status", 2], ["likes", 1]]
97489
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97490
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
97491
+  (0.2ms) SAVEPOINT active_record_1
97492
+ 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", "2021-04-07 02:31:31.279013"], ["updated_at", "2021-04-07 02:31:31.279013"], ["author_id", 3075], ["status", 2], ["likes", 5]]
97493
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97494
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
97495
+  (0.2ms) SAVEPOINT active_record_1
97496
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.281594"], ["updated_at", "2021-04-07 02:31:31.281594"], ["name", "Chester"]]
97497
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97498
+  (0.1ms) SAVEPOINT active_record_1
97499
+ 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", "2021-04-07 02:31:31.283025"], ["updated_at", "2021-04-07 02:31:31.283025"], ["author_id", 3076], ["status", 2], ["likes", 10]]
97500
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97501
+ Post Load (0.5ms) 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
97502
+  (0.2ms) ROLLBACK
97503
+  (0.2ms) BEGIN
97504
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
97505
+  (0.1ms) SAVEPOINT active_record_1
97506
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.289169"], ["updated_at", "2021-04-07 02:31:31.289169"], ["name", "Alice"]]
97507
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97508
+  (0.1ms) SAVEPOINT active_record_1
97509
+ 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", "2021-04-07 02:31:31.290668"], ["updated_at", "2021-04-07 02:31:31.290668"], ["author_id", 3077], ["status", 2], ["likes", 3]]
97510
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97511
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
97512
+  (0.2ms) SAVEPOINT active_record_1
97513
+ 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", "2021-04-07 02:31:31.292931"], ["updated_at", "2021-04-07 02:31:31.292931"], ["author_id", 3077], ["status", 2], ["likes", 2]]
97514
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97515
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
97516
+  (0.1ms) SAVEPOINT active_record_1
97517
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.295399"], ["updated_at", "2021-04-07 02:31:31.295399"], ["name", "Bob"]]
97518
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97519
+  (0.1ms) SAVEPOINT active_record_1
97520
+ 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", "2021-04-07 02:31:31.297083"], ["updated_at", "2021-04-07 02:31:31.297083"], ["author_id", 3078], ["status", 2], ["likes", 4]]
97521
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97522
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
97523
+  (0.2ms) SAVEPOINT active_record_1
97524
+ 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", "2021-04-07 02:31:31.299925"], ["updated_at", "2021-04-07 02:31:31.299925"], ["author_id", 3078], ["status", 2], ["likes", 1]]
97525
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97526
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
97527
+  (0.1ms) SAVEPOINT active_record_1
97528
+ 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", "2021-04-07 02:31:31.302607"], ["updated_at", "2021-04-07 02:31:31.302607"], ["author_id", 3078], ["status", 2], ["likes", 5]]
97529
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97530
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
97531
+  (0.1ms) SAVEPOINT active_record_1
97532
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.304898"], ["updated_at", "2021-04-07 02:31:31.304898"], ["name", "Chester"]]
97533
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97534
+  (0.1ms) SAVEPOINT active_record_1
97535
+ 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", "2021-04-07 02:31:31.306219"], ["updated_at", "2021-04-07 02:31:31.306219"], ["author_id", 3079], ["status", 2], ["likes", 10]]
97536
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97537
+ Post Load (0.5ms) 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
97538
+  (0.2ms) ROLLBACK
97539
+  (0.1ms) BEGIN
97540
+  (0.1ms) ROLLBACK
97541
+  (0.1ms) BEGIN
97542
+  (0.1ms) ROLLBACK
97543
+  (0.1ms) BEGIN
97544
+  (0.1ms) ROLLBACK
97545
+  (0.1ms) BEGIN
97546
+  (0.1ms) ROLLBACK
97547
+  (0.1ms) BEGIN
97548
+  (0.1ms) ROLLBACK
97549
+  (0.1ms) BEGIN
97550
+  (0.1ms) ROLLBACK
97551
+  (0.1ms) BEGIN
97552
+  (0.1ms) ROLLBACK
97553
+  (0.1ms) BEGIN
97554
+  (0.1ms) ROLLBACK
97555
+  (0.1ms) BEGIN
97556
+  (0.1ms) ROLLBACK
97557
+  (0.1ms) BEGIN
97558
+  (0.1ms) ROLLBACK
97559
+  (0.1ms) BEGIN
97560
+  (0.1ms) ROLLBACK
97561
+  (0.1ms) BEGIN
97562
+  (0.1ms) ROLLBACK
97563
+  (0.1ms) BEGIN
97564
+  (0.1ms) ROLLBACK
97565
+  (0.1ms) BEGIN
97566
+  (0.1ms) ROLLBACK
97567
+  (0.1ms) BEGIN
97568
+  (0.1ms) ROLLBACK
97569
+  (0.1ms) BEGIN
97570
+  (0.2ms) ROLLBACK
97571
+  (0.1ms) BEGIN
97572
+  (0.1ms) ROLLBACK
97573
+  (0.1ms) BEGIN
97574
+  (0.2ms) ROLLBACK
97575
+  (0.1ms) BEGIN
97576
+  (0.1ms) ROLLBACK
97577
+  (0.1ms) BEGIN
97578
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
97579
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
97580
+  (0.2ms) SAVEPOINT active_record_1
97581
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2021-04-07 02:31:31.336028"], ["updated_at", "2021-04-07 02:31:31.336028"], ["status", 2], ["likes", 3]]
97582
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97583
+  (0.2ms) SAVEPOINT active_record_1
97584
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2021-04-07 02:31:31.338062"], ["updated_at", "2021-04-07 02:31:31.338062"], ["status", 2], ["likes", 10]]
97585
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97586
+  (0.1ms) SAVEPOINT active_record_1
97587
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2021-04-07 02:31:31.339726"], ["updated_at", "2021-04-07 02:31:31.339726"], ["status", 2], ["likes", 1]]
97588
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97589
+  (0.3ms) SELECT MIN(posts.likes) FROM "posts"
97590
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
97591
+  (0.2ms) ROLLBACK
97592
+  (0.1ms) BEGIN
97593
+  (0.2ms) ROLLBACK
97594
+  (0.2ms) BEGIN
97595
+  (0.2ms) SAVEPOINT active_record_1
97596
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2021-04-07 02:31:31.356703"], ["updated_at", "2021-04-07 02:31:31.356703"], ["status", 2], ["likes", 2]]
97597
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97598
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
97599
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
97600
+  (0.2ms) ROLLBACK
97601
+  (0.1ms) BEGIN
97602
+  (0.1ms) ROLLBACK
97603
+  (0.1ms) BEGIN
97604
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
97605
+  (0.1ms) SAVEPOINT active_record_1
97606
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.363681"], ["updated_at", "2021-04-07 02:31:31.363681"], ["name", "Alice"]]
97607
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97608
+  (0.2ms) SAVEPOINT active_record_1
97609
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2021-04-07 02:31:31.365312"], ["updated_at", "2021-04-07 02:31:31.365312"], ["author_id", 3080], ["status", 2]]
97610
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97611
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
97612
+  (0.1ms) SAVEPOINT active_record_1
97613
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.367848"], ["updated_at", "2021-04-07 02:31:31.367848"], ["name", "Bob"]]
97614
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97615
+  (0.1ms) SAVEPOINT active_record_1
97616
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2021-04-07 02:31:31.369218"], ["updated_at", "2021-04-07 02:31:31.369218"], ["author_id", 3081], ["status", 2]]
97617
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97618
+  (0.1ms) SAVEPOINT active_record_1
97619
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.370724"], ["updated_at", "2021-04-07 02:31:31.370724"], ["status", 2]]
97620
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97621
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice'))
97622
+ 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))
97623
+ 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 ('Alice'))
97624
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob'))
97625
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))
97626
+  (0.2ms) ROLLBACK
97627
+  (0.1ms) BEGIN
97628
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
97629
+  (0.1ms) SAVEPOINT active_record_1
97630
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.378874"], ["updated_at", "2021-04-07 02:31:31.378874"], ["name", "Alice"]]
97631
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97632
+  (0.1ms) SAVEPOINT active_record_1
97633
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2021-04-07 02:31:31.380416"], ["updated_at", "2021-04-07 02:31:31.380416"], ["author_id", 3082], ["status", 2]]
97634
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97635
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
97636
+  (0.1ms) SAVEPOINT active_record_1
97637
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2021-04-07 02:31:31.382669"], ["updated_at", "2021-04-07 02:31:31.382669"], ["author_id", 3082], ["status", 2]]
97638
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97639
+  (0.2ms) SAVEPOINT active_record_1
97640
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.384234"], ["updated_at", "2021-04-07 02:31:31.384234"], ["status", 2]]
97641
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97642
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
97643
+  (0.1ms) SAVEPOINT active_record_1
97644
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.386503"], ["updated_at", "2021-04-07 02:31:31.386503"], ["name", "Bob"]]
97645
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97646
+  (0.1ms) SAVEPOINT active_record_1
97647
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2021-04-07 02:31:31.387804"], ["updated_at", "2021-04-07 02:31:31.387804"], ["author_id", 3083], ["status", 2]]
97648
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97649
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
97650
+  (0.2ms) SAVEPOINT active_record_1
97651
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2021-04-07 02:31:31.389908"], ["updated_at", "2021-04-07 02:31:31.389908"], ["author_id", 3083], ["status", 2]]
97652
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97653
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
97654
+  (0.1ms) SAVEPOINT active_record_1
97655
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2021-04-07 02:31:31.392348"], ["updated_at", "2021-04-07 02:31:31.392348"], ["author_id", 3083], ["status", 2]]
97656
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97657
+ 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
97658
+  (0.2ms) ROLLBACK
97659
+  (0.1ms) BEGIN
97660
+  (0.1ms) ROLLBACK
97661
+  (0.1ms) BEGIN
97662
+  (0.2ms) ROLLBACK
97663
+  (0.1ms) BEGIN
97664
+  (0.2ms) ROLLBACK
97665
+  (0.1ms) BEGIN
97666
+  (0.1ms) ROLLBACK
97667
+  (0.1ms) BEGIN
97668
+  (0.1ms) ROLLBACK
97669
+  (0.1ms) BEGIN
97670
+  (0.1ms) ROLLBACK
97671
+  (0.1ms) BEGIN
97672
+  (0.1ms) ROLLBACK
97673
+  (0.1ms) BEGIN
97674
+  (0.1ms) ROLLBACK
97675
+  (0.1ms) BEGIN
97676
+  (0.1ms) ROLLBACK
97677
+  (0.1ms) BEGIN
97678
+  (0.2ms) ROLLBACK
97679
+  (0.1ms) BEGIN
97680
+  (0.1ms) ROLLBACK
97681
+  (0.1ms) BEGIN
97682
+  (0.1ms) ROLLBACK
97683
+  (0.1ms) BEGIN
97684
+  (0.1ms) ROLLBACK
97685
+  (0.1ms) BEGIN
97686
+  (0.1ms) ROLLBACK
97687
+  (0.1ms) BEGIN
97688
+  (0.1ms) ROLLBACK
97689
+  (0.1ms) BEGIN
97690
+  (0.1ms) ROLLBACK
97691
+  (0.1ms) BEGIN
97692
+  (0.1ms) ROLLBACK
97693
+  (0.1ms) BEGIN
97694
+  (0.1ms) ROLLBACK
97695
+  (0.1ms) BEGIN
97696
+  (0.1ms) ROLLBACK
97697
+  (0.1ms) BEGIN
97698
+  (0.1ms) ROLLBACK
97699
+  (0.1ms) BEGIN
97700
+  (0.1ms) ROLLBACK
97701
+  (0.1ms) BEGIN
97702
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
97703
+  (0.1ms) SAVEPOINT active_record_1
97704
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.432736"], ["updated_at", "2021-04-07 02:31:31.432736"], ["name", "Tammy"]]
97705
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97706
+  (0.1ms) SAVEPOINT active_record_1
97707
+ 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-12-18 00:00:00"], ["updated_at", "2021-04-07 02:31:31.434131"], ["author_id", 3084], ["status", 2], ["likes", 23]]
97708
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97709
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
97710
+  (0.1ms) SAVEPOINT active_record_1
97711
+ 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-01-01 00:00:00"], ["updated_at", "2021-04-07 02:31:31.436456"], ["author_id", 3084], ["status", 2], ["likes", 7]]
97712
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97713
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
97714
+  (0.2ms) SAVEPOINT active_record_1
97715
+ 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-01-12 00:00:00"], ["updated_at", "2021-04-07 02:31:31.438517"], ["author_id", 3084], ["status", 2], ["likes", 4]]
97716
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97717
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
97718
+  (0.1ms) SAVEPOINT active_record_1
97719
+ 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-03-08 00:00:00"], ["updated_at", "2021-04-07 02:31:31.440683"], ["author_id", 3084], ["status", 2], ["likes", 11]]
97720
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97721
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
97722
+  (0.2ms) SAVEPOINT active_record_1
97723
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.442935"], ["updated_at", "2021-04-07 02:31:31.442935"], ["name", "Timmy"]]
97724
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97725
+  (0.2ms) SAVEPOINT active_record_1
97726
+ 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-01-15 00:00:00"], ["updated_at", "2021-04-07 02:31:31.444390"], ["author_id", 3085], ["status", 2], ["likes", 3]]
97727
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97728
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
97729
+  (0.1ms) SAVEPOINT active_record_1
97730
+ 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-02-27 00:00:00"], ["updated_at", "2021-04-07 02:31:31.446739"], ["author_id", 3085], ["status", 2], ["likes", 24]]
97731
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97732
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
97733
+  (0.1ms) SAVEPOINT active_record_1
97734
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-02-28 00:00:00"], ["updated_at", "2021-04-07 02:31:31.449080"], ["author_id", 3085], ["status", 2]]
97735
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97736
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
97737
+  (0.1ms) SAVEPOINT active_record_1
97738
+ 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-03-01 00:00:00"], ["updated_at", "2021-04-07 02:31:31.451181"], ["author_id", 3085], ["status", 2], ["likes", 19]]
97739
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97740
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
97741
+  (0.1ms) SAVEPOINT active_record_1
97742
+ 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-04-08 00:00:00"], ["updated_at", "2021-04-07 02:31:31.453165"], ["author_id", 3085], ["status", 2], ["likes", 8]]
97743
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97744
+  (0.5ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2020-01-01 00:00:00')
97745
+ Post Exists? (0.4ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2020-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
97746
+ 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 (
97747
+ SELECT CAST('2020-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2020-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2020-01-01 00:00:00 UTC,2020-02-01 00:00:00 UTC' AS text) AS bin_text UNION
97748
+ SELECT CAST('2020-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2020-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2020-02-01 00:00:00 UTC,2020-03-01 00:00:00 UTC' AS text) AS bin_text UNION
97749
+ SELECT CAST('2020-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2020-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2020-03-01 00:00:00 UTC,2020-04-01 00:00:00 UTC' AS text) AS bin_text UNION
97750
+ SELECT CAST('2020-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2020-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2020-04-01 00:00:00 UTC,2020-05-01 00:00:00 UTC' AS text) AS bin_text
97751
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
97752
+ CASE
97753
+ 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)
97754
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
97755
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
97756
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
97757
+ END
97758
+ ) WHERE (posts.created_at >= '2020-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
97759
+  (0.3ms) ROLLBACK
97760
+  (0.1ms) BEGIN
97761
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
97762
+  (0.2ms) SAVEPOINT active_record_1
97763
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.467967"], ["updated_at", "2021-04-07 02:31:31.467967"], ["name", "Tammy"]]
97764
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97765
+  (0.2ms) SAVEPOINT active_record_1
97766
+ 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-12-18 00:00:00"], ["updated_at", "2021-04-07 02:31:31.470307"], ["author_id", 3086], ["status", 2], ["likes", 23]]
97767
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97768
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
97769
+  (0.1ms) SAVEPOINT active_record_1
97770
+ 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-01-01 00:00:00"], ["updated_at", "2021-04-07 02:31:31.473652"], ["author_id", 3086], ["status", 2], ["likes", 7]]
97771
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97772
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
97773
+  (0.2ms) SAVEPOINT active_record_1
97774
+ 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-01-12 00:00:00"], ["updated_at", "2021-04-07 02:31:31.480308"], ["author_id", 3086], ["status", 2], ["likes", 4]]
97775
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97776
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
97777
+  (0.1ms) SAVEPOINT active_record_1
97778
+ 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-03-08 00:00:00"], ["updated_at", "2021-04-07 02:31:31.483274"], ["author_id", 3086], ["status", 2], ["likes", 11]]
97779
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97780
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
97781
+  (0.2ms) SAVEPOINT active_record_1
97782
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.485910"], ["updated_at", "2021-04-07 02:31:31.485910"], ["name", "Timmy"]]
97783
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97784
+  (0.1ms) SAVEPOINT active_record_1
97785
+ 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-01-15 00:00:00"], ["updated_at", "2021-04-07 02:31:31.487384"], ["author_id", 3087], ["status", 2], ["likes", 3]]
97786
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97787
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
97788
+  (0.1ms) SAVEPOINT active_record_1
97789
+ 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-02-27 00:00:00"], ["updated_at", "2021-04-07 02:31:31.489776"], ["author_id", 3087], ["status", 2], ["likes", 24]]
97790
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97791
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
97792
+  (0.1ms) SAVEPOINT active_record_1
97793
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-02-28 00:00:00"], ["updated_at", "2021-04-07 02:31:31.492065"], ["author_id", 3087], ["status", 2]]
97794
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97795
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
97796
+  (0.1ms) SAVEPOINT active_record_1
97797
+ 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-03-01 00:00:00"], ["updated_at", "2021-04-07 02:31:31.494517"], ["author_id", 3087], ["status", 2], ["likes", 19]]
97798
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97799
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
97800
+  (0.2ms) SAVEPOINT active_record_1
97801
+ 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-04-08 00:00:00"], ["updated_at", "2021-04-07 02:31:31.496823"], ["author_id", 3087], ["status", 2], ["likes", 8]]
97802
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97803
+  (0.5ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2020-01-01 00:00:00')
97804
+ Post Exists? (0.5ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2020-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
97805
+ Post Load (1.1ms) 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 (
97806
+ SELECT CAST('2020-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2020-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2020-01-01 00:00:00 UTC,2020-02-01 00:00:00 UTC' AS text) AS bin_text UNION
97807
+ SELECT CAST('2020-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2020-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2020-02-01 00:00:00 UTC,2020-03-01 00:00:00 UTC' AS text) AS bin_text UNION
97808
+ SELECT CAST('2020-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2020-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2020-03-01 00:00:00 UTC,2020-04-01 00:00:00 UTC' AS text) AS bin_text UNION
97809
+ SELECT CAST('2020-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2020-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2020-04-01 00:00:00 UTC,2020-05-01 00:00:00 UTC' AS text) AS bin_text
97810
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
97811
+ CASE
97812
+ 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)
97813
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
97814
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
97815
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
97816
+ END
97817
+ ) WHERE (posts.created_at >= '2020-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
97818
+  (0.3ms) ROLLBACK
97819
+  (0.2ms) BEGIN
97820
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
97821
+  (0.1ms) SAVEPOINT active_record_1
97822
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.517307"], ["updated_at", "2021-04-07 02:31:31.517307"], ["name", "Tammy"]]
97823
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97824
+  (0.1ms) SAVEPOINT active_record_1
97825
+ 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-12-18 00:00:00"], ["updated_at", "2021-04-07 02:31:31.518946"], ["author_id", 3088], ["status", 2], ["likes", 23]]
97826
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97827
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
97828
+  (0.1ms) SAVEPOINT active_record_1
97829
+ 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-01-01 00:00:00"], ["updated_at", "2021-04-07 02:31:31.521359"], ["author_id", 3088], ["status", 2], ["likes", 7]]
97830
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97831
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
97832
+  (0.2ms) SAVEPOINT active_record_1
97833
+ 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-01-12 00:00:00"], ["updated_at", "2021-04-07 02:31:31.523739"], ["author_id", 3088], ["status", 2], ["likes", 4]]
97834
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97835
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
97836
+  (0.1ms) SAVEPOINT active_record_1
97837
+ 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-03-08 00:00:00"], ["updated_at", "2021-04-07 02:31:31.526137"], ["author_id", 3088], ["status", 2], ["likes", 11]]
97838
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97839
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
97840
+  (0.1ms) SAVEPOINT active_record_1
97841
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.528526"], ["updated_at", "2021-04-07 02:31:31.528526"], ["name", "Timmy"]]
97842
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97843
+  (0.1ms) SAVEPOINT active_record_1
97844
+ 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-01-15 00:00:00"], ["updated_at", "2021-04-07 02:31:31.529922"], ["author_id", 3089], ["status", 2], ["likes", 3]]
97845
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97846
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
97847
+  (0.1ms) SAVEPOINT active_record_1
97848
+ 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-02-27 00:00:00"], ["updated_at", "2021-04-07 02:31:31.532125"], ["author_id", 3089], ["status", 2], ["likes", 24]]
97849
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97850
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
97851
+  (0.1ms) SAVEPOINT active_record_1
97852
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-02-28 00:00:00"], ["updated_at", "2021-04-07 02:31:31.534436"], ["author_id", 3089], ["status", 2]]
97853
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97854
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
97855
+  (0.1ms) SAVEPOINT active_record_1
97856
+ 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-03-01 00:00:00"], ["updated_at", "2021-04-07 02:31:31.536583"], ["author_id", 3089], ["status", 2], ["likes", 19]]
97857
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97858
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
97859
+  (0.1ms) SAVEPOINT active_record_1
97860
+ 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-04-08 00:00:00"], ["updated_at", "2021-04-07 02:31:31.538613"], ["author_id", 3089], ["status", 2], ["likes", 8]]
97861
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97862
+  (0.5ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2020-01-01 00:00:00')
97863
+ Post Exists? (0.4ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2020-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
97864
+ 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 (
97865
+ SELECT CAST('2020-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2020-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2020-01-01 00:00:00 UTC,2020-02-01 00:00:00 UTC' AS text) AS bin_text UNION
97866
+ SELECT CAST('2020-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2020-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2020-02-01 00:00:00 UTC,2020-03-01 00:00:00 UTC' AS text) AS bin_text UNION
97867
+ SELECT CAST('2020-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2020-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2020-03-01 00:00:00 UTC,2020-04-01 00:00:00 UTC' AS text) AS bin_text UNION
97868
+ SELECT CAST('2020-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2020-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2020-04-01 00:00:00 UTC,2020-05-01 00:00:00 UTC' AS text) AS bin_text
97869
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
97870
+ CASE
97871
+ 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)
97872
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
97873
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
97874
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
97875
+ END
97876
+ ) WHERE (posts.created_at >= '2020-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
97877
+  (0.2ms) ROLLBACK
97878
+  (0.1ms) BEGIN
97879
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
97880
+  (0.2ms) SAVEPOINT active_record_1
97881
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.554047"], ["updated_at", "2021-04-07 02:31:31.554047"], ["name", "Tammy"]]
97882
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97883
+  (0.1ms) SAVEPOINT active_record_1
97884
+ 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-12-18 00:00:00"], ["updated_at", "2021-04-07 02:31:31.555531"], ["author_id", 3090], ["status", 2], ["likes", 23]]
97885
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97886
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
97887
+  (0.1ms) SAVEPOINT active_record_1
97888
+ 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-01-01 00:00:00"], ["updated_at", "2021-04-07 02:31:31.557724"], ["author_id", 3090], ["status", 2], ["likes", 7]]
97889
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97890
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
97891
+  (0.2ms) SAVEPOINT active_record_1
97892
+ 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-01-12 00:00:00"], ["updated_at", "2021-04-07 02:31:31.560085"], ["author_id", 3090], ["status", 2], ["likes", 4]]
97893
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97894
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
97895
+  (0.1ms) SAVEPOINT active_record_1
97896
+ Post Create (3.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-03-08 00:00:00"], ["updated_at", "2021-04-07 02:31:31.562722"], ["author_id", 3090], ["status", 2], ["likes", 11]]
97897
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97898
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
97899
+  (0.1ms) SAVEPOINT active_record_1
97900
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.568439"], ["updated_at", "2021-04-07 02:31:31.568439"], ["name", "Timmy"]]
97901
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97902
+  (0.2ms) SAVEPOINT active_record_1
97903
+ 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-01-15 00:00:00"], ["updated_at", "2021-04-07 02:31:31.569932"], ["author_id", 3091], ["status", 2], ["likes", 3]]
97904
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97905
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
97906
+  (0.2ms) SAVEPOINT active_record_1
97907
+ 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-02-27 00:00:00"], ["updated_at", "2021-04-07 02:31:31.572289"], ["author_id", 3091], ["status", 2], ["likes", 24]]
97908
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97909
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
97910
+  (0.2ms) SAVEPOINT active_record_1
97911
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-02-28 00:00:00"], ["updated_at", "2021-04-07 02:31:31.574527"], ["author_id", 3091], ["status", 2]]
97912
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97913
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
97914
+  (0.1ms) SAVEPOINT active_record_1
97915
+ 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-03-01 00:00:00"], ["updated_at", "2021-04-07 02:31:31.576793"], ["author_id", 3091], ["status", 2], ["likes", 19]]
97916
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97917
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
97918
+  (0.2ms) SAVEPOINT active_record_1
97919
+ 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-04-08 00:00:00"], ["updated_at", "2021-04-07 02:31:31.578972"], ["author_id", 3091], ["status", 2], ["likes", 8]]
97920
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97921
+  (0.5ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2020-01-01 00:00:00')
97922
+ Post Exists? (0.4ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2020-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
97923
+ Post Load (1.1ms) 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 (
97924
+ SELECT CAST('2020-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2020-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2020-01-01 00:00:00 UTC,2020-02-01 00:00:00 UTC' AS text) AS bin_text UNION
97925
+ SELECT CAST('2020-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2020-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2020-02-01 00:00:00 UTC,2020-03-01 00:00:00 UTC' AS text) AS bin_text UNION
97926
+ SELECT CAST('2020-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2020-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2020-03-01 00:00:00 UTC,2020-04-01 00:00:00 UTC' AS text) AS bin_text UNION
97927
+ SELECT CAST('2020-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2020-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2020-04-01 00:00:00 UTC,2020-05-01 00:00:00 UTC' AS text) AS bin_text
97928
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
97929
+ CASE
97930
+ 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)
97931
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
97932
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
97933
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
97934
+ END
97935
+ ) WHERE (posts.created_at >= '2020-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
97936
+ 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 >= '2020-01-01 00:00:00') GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
97937
+ Post Load (0.5ms) 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 >= '2020-01-01 00:00:00') GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
97938
+  (0.3ms) ROLLBACK
97939
+  (0.1ms) BEGIN
97940
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
97941
+  (0.1ms) SAVEPOINT active_record_1
97942
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.600005"], ["updated_at", "2021-04-07 02:31:31.600005"], ["name", "Tammy"]]
97943
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97944
+  (0.1ms) SAVEPOINT active_record_1
97945
+ 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-12-18 00:00:00"], ["updated_at", "2021-04-07 02:31:31.601601"], ["author_id", 3092], ["status", 2], ["likes", 23]]
97946
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97947
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
97948
+  (0.2ms) SAVEPOINT active_record_1
97949
+ 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-01-01 00:00:00"], ["updated_at", "2021-04-07 02:31:31.604006"], ["author_id", 3092], ["status", 2], ["likes", 7]]
97950
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97951
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
97952
+  (0.1ms) SAVEPOINT active_record_1
97953
+ 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-01-12 00:00:00"], ["updated_at", "2021-04-07 02:31:31.606220"], ["author_id", 3092], ["status", 2], ["likes", 4]]
97954
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97955
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
97956
+  (0.1ms) SAVEPOINT active_record_1
97957
+ 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-03-08 00:00:00"], ["updated_at", "2021-04-07 02:31:31.608394"], ["author_id", 3092], ["status", 2], ["likes", 11]]
97958
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97959
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
97960
+  (0.1ms) SAVEPOINT active_record_1
97961
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.610592"], ["updated_at", "2021-04-07 02:31:31.610592"], ["name", "Timmy"]]
97962
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97963
+  (0.2ms) SAVEPOINT active_record_1
97964
+ 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-01-15 00:00:00"], ["updated_at", "2021-04-07 02:31:31.611868"], ["author_id", 3093], ["status", 2], ["likes", 3]]
97965
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97966
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
97967
+  (0.1ms) SAVEPOINT active_record_1
97968
+ 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-02-27 00:00:00"], ["updated_at", "2021-04-07 02:31:31.614137"], ["author_id", 3093], ["status", 2], ["likes", 24]]
97969
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97970
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
97971
+  (0.2ms) SAVEPOINT active_record_1
97972
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-02-28 00:00:00"], ["updated_at", "2021-04-07 02:31:31.616249"], ["author_id", 3093], ["status", 2]]
97973
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97974
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
97975
+  (0.1ms) SAVEPOINT active_record_1
97976
+ 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-03-01 00:00:00"], ["updated_at", "2021-04-07 02:31:31.618400"], ["author_id", 3093], ["status", 2], ["likes", 19]]
97977
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97978
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
97979
+  (0.1ms) SAVEPOINT active_record_1
97980
+ 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-04-08 00:00:00"], ["updated_at", "2021-04-07 02:31:31.620455"], ["author_id", 3093], ["status", 2], ["likes", 8]]
97981
+  (0.2ms) RELEASE SAVEPOINT active_record_1
97982
+  (0.5ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2020-01-01 00:00:00')
97983
+ Post Exists? (0.4ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2020-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
97984
+ Post Exists? (0.5ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.created_at >= '2019-12-01 00:00:00' AND posts.created_at < '2020-01-01 00:00:00')) AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
97985
+ Post Load (0.7ms) 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 (
97986
+ SELECT CAST('2019-12-01 00:00:00' AS timestamp with time zone) AS min, CAST('2020-01-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-12-01 00:00:00 UTC,2020-01-01 00:00:00 UTC' AS text) AS bin_text
97987
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
97988
+ CASE
97989
+ 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)
97990
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
97991
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
97992
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
97993
+ END
97994
+ ) WHERE ((posts.created_at >= '2019-12-01 00:00:00' AND posts.created_at < '2020-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]]
97995
+ Post Load (0.7ms) 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 (
97996
+ SELECT CAST('2019-12-01 00:00:00' AS timestamp with time zone) AS min, CAST('2020-01-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-12-01 00:00:00 UTC,2020-01-01 00:00:00 UTC' AS text) AS bin_text
97997
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
97998
+ CASE
97999
+ 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)
98000
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
98001
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
98002
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
98003
+ END
98004
+ ) WHERE ((posts.created_at >= '2019-12-01 00:00:00' AND posts.created_at < '2020-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
98005
+ Post Load (1.1ms) 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 (
98006
+ SELECT CAST('2020-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2020-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2020-01-01 00:00:00 UTC,2020-02-01 00:00:00 UTC' AS text) AS bin_text UNION
98007
+ SELECT CAST('2020-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2020-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2020-02-01 00:00:00 UTC,2020-03-01 00:00:00 UTC' AS text) AS bin_text UNION
98008
+ SELECT CAST('2020-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2020-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2020-03-01 00:00:00 UTC,2020-04-01 00:00:00 UTC' AS text) AS bin_text UNION
98009
+ SELECT CAST('2020-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2020-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2020-04-01 00:00:00 UTC,2020-05-01 00:00:00 UTC' AS text) AS bin_text
98010
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
98011
+ CASE
98012
+ 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)
98013
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
98014
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
98015
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
98016
+ END
98017
+ ) WHERE (posts.created_at >= '2020-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
98018
+  (0.2ms) ROLLBACK
98019
+  (0.1ms) BEGIN
98020
+  (0.2ms) ROLLBACK
98021
+  (0.1ms) BEGIN
98022
+  (0.1ms) ROLLBACK
98023
+  (0.1ms) BEGIN
98024
+  (0.1ms) ROLLBACK
98025
+  (0.1ms) BEGIN
98026
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
98027
+  (0.1ms) SAVEPOINT active_record_1
98028
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.649160"], ["updated_at", "2021-04-07 02:31:31.649160"], ["name", "Phil"]]
98029
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98030
+  (0.2ms) SAVEPOINT active_record_1
98031
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-01-01 00:00:00"], ["updated_at", "2021-04-07 02:31:31.650659"], ["author_id", 3094], ["status", 2]]
98032
+  (0.2ms) RELEASE SAVEPOINT active_record_1
98033
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
98034
+  (0.1ms) SAVEPOINT active_record_1
98035
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-01-01 00:00:00"], ["updated_at", "2021-04-07 02:31:31.653174"], ["author_id", 3094], ["status", 2]]
98036
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98037
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phyllis"], ["LIMIT", 1]]
98038
+  (0.1ms) SAVEPOINT active_record_1
98039
+ Author Create (0.2ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.655342"], ["updated_at", "2021-04-07 02:31:31.655342"], ["name", "Phyllis"]]
98040
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98041
+  (0.1ms) SAVEPOINT active_record_1
98042
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-01-01 00:00:00"], ["updated_at", "2021-04-07 02:31:31.656582"], ["author_id", 3095], ["status", 2]]
98043
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98044
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phyllis"], ["LIMIT", 1]]
98045
+  (0.1ms) SAVEPOINT active_record_1
98046
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-01-01 00:00:00"], ["updated_at", "2021-04-07 02:31:31.658546"], ["author_id", 3095], ["status", 2]]
98047
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98048
+ Post Load (0.2ms) SELECT "posts".* FROM "posts"
98049
+  (0.2ms) ROLLBACK
98050
+  (0.1ms) BEGIN
98051
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
98052
+  (0.1ms) SAVEPOINT active_record_1
98053
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.663278"], ["updated_at", "2021-04-07 02:31:31.663278"], ["name", "Phil"]]
98054
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98055
+  (0.1ms) SAVEPOINT active_record_1
98056
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-01-01 00:00:00"], ["updated_at", "2021-04-07 02:31:31.664584"], ["author_id", 3096], ["status", 2]]
98057
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98058
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
98059
+  (0.2ms) SAVEPOINT active_record_1
98060
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-01-01 00:00:00"], ["updated_at", "2021-04-07 02:31:31.666879"], ["author_id", 3096], ["status", 2]]
98061
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98062
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phyllis"], ["LIMIT", 1]]
98063
+  (0.1ms) SAVEPOINT active_record_1
98064
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.669108"], ["updated_at", "2021-04-07 02:31:31.669108"], ["name", "Phyllis"]]
98065
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98066
+  (0.1ms) SAVEPOINT active_record_1
98067
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-01-01 00:00:00"], ["updated_at", "2021-04-07 02:31:31.670412"], ["author_id", 3097], ["status", 2]]
98068
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98069
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phyllis"], ["LIMIT", 1]]
98070
+  (0.1ms) SAVEPOINT active_record_1
98071
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-01-01 00:00:00"], ["updated_at", "2021-04-07 02:31:31.672585"], ["author_id", 3097], ["status", 2]]
98072
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98073
+ Post Load (0.3ms) SELECT "posts".* FROM "posts"
98074
+  (0.2ms) ROLLBACK
98075
+  (0.1ms) BEGIN
98076
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
98077
+  (0.2ms) SAVEPOINT active_record_1
98078
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.678008"], ["updated_at", "2021-04-07 02:31:31.678008"], ["name", "Phil"]]
98079
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98080
+  (0.1ms) SAVEPOINT active_record_1
98081
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-01-01 00:00:00"], ["updated_at", "2021-04-07 02:31:31.679515"], ["author_id", 3098], ["status", 2]]
98082
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98083
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
98084
+  (0.2ms) SAVEPOINT active_record_1
98085
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-01-01 00:00:00"], ["updated_at", "2021-04-07 02:31:31.681819"], ["author_id", 3098], ["status", 2]]
98086
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98087
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (authors.name IN ('Phil'))
98088
+  (0.2ms) ROLLBACK
98089
+  (0.1ms) BEGIN
98090
+ Post Exists? (0.4ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (authors.name IN ('')) LIMIT $1 [["LIMIT", 1]]
98091
+  (0.1ms) ROLLBACK
98092
+  (0.1ms) BEGIN
98093
+ Post Exists? (0.4ms) 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]]
98094
+  (0.2ms) ROLLBACK
98095
+  (0.1ms) BEGIN
98096
+  (0.2ms) ROLLBACK
98097
+  (0.1ms) BEGIN
98098
+  (0.2ms) ROLLBACK
98099
+  (0.1ms) BEGIN
98100
+  (0.2ms) ROLLBACK
98101
+  (0.1ms) BEGIN
98102
+  (0.1ms) ROLLBACK
98103
+  (0.1ms) BEGIN
98104
+  (0.1ms) ROLLBACK
98105
+  (0.1ms) BEGIN
98106
+  (0.1ms) ROLLBACK
98107
+  (0.1ms) BEGIN
98108
+  (0.1ms) ROLLBACK
98109
+  (0.1ms) BEGIN
98110
+  (0.1ms) ROLLBACK
98111
+  (0.1ms) BEGIN
98112
+  (0.1ms) ROLLBACK
98113
+  (0.1ms) BEGIN
98114
+  (0.1ms) ROLLBACK
98115
+  (0.1ms) BEGIN
98116
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
98117
+  (0.1ms) SAVEPOINT active_record_1
98118
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.704460"], ["updated_at", "2021-04-07 02:31:31.704460"], ["name", "Timmy"]]
98119
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98120
+  (0.1ms) SAVEPOINT active_record_1
98121
+ 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-01-01 00:00:00"], ["updated_at", "2021-04-07 02:31:31.705877"], ["author_id", 3099], ["status", 2], ["likes", 1]]
98122
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98123
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
98124
+  (0.1ms) SAVEPOINT active_record_1
98125
+ 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-01-12 00:00:00"], ["updated_at", "2021-04-07 02:31:31.708050"], ["author_id", 3099], ["status", 2], ["likes", 2]]
98126
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98127
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
98128
+  (0.2ms) SAVEPOINT active_record_1
98129
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.710274"], ["updated_at", "2021-04-07 02:31:31.710274"], ["name", "Tammy"]]
98130
+  (0.2ms) RELEASE SAVEPOINT active_record_1
98131
+  (0.1ms) SAVEPOINT active_record_1
98132
+ 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-01-15 00:00:00"], ["updated_at", "2021-04-07 02:31:31.711910"], ["author_id", 3100], ["status", 2], ["likes", 3]]
98133
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98134
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
98135
+  (0.1ms) SAVEPOINT active_record_1
98136
+ 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-03-01 00:00:00"], ["updated_at", "2021-04-07 02:31:31.714506"], ["author_id", 3100], ["status", 2], ["likes", 4]]
98137
+  (0.2ms) RELEASE SAVEPOINT active_record_1
98138
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
98139
+  (0.1ms) SAVEPOINT active_record_1
98140
+ 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-03-15 00:00:00"], ["updated_at", "2021-04-07 02:31:31.716806"], ["author_id", 3100], ["status", 2], ["likes", 2]]
98141
+  (0.2ms) RELEASE SAVEPOINT active_record_1
98142
+ Post Load (0.6ms) 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
98143
+  (0.3ms) ROLLBACK
98144
+  (0.2ms) BEGIN
98145
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
98146
+  (0.1ms) SAVEPOINT active_record_1
98147
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.724553"], ["updated_at", "2021-04-07 02:31:31.724553"], ["name", "Timmy"]]
98148
+  (0.2ms) RELEASE SAVEPOINT active_record_1
98149
+  (0.1ms) SAVEPOINT active_record_1
98150
+ 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-01-01 00:00:00"], ["updated_at", "2021-04-07 02:31:31.726135"], ["author_id", 3101], ["status", 2], ["likes", 1]]
98151
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98152
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
98153
+  (0.2ms) SAVEPOINT active_record_1
98154
+ 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-01-12 00:00:00"], ["updated_at", "2021-04-07 02:31:31.728722"], ["author_id", 3101], ["status", 2], ["likes", 2]]
98155
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98156
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
98157
+  (0.2ms) SAVEPOINT active_record_1
98158
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2021-04-07 02:31:31.731490"], ["updated_at", "2021-04-07 02:31:31.731490"], ["name", "Tammy"]]
98159
+  (0.2ms) RELEASE SAVEPOINT active_record_1
98160
+  (0.1ms) SAVEPOINT active_record_1
98161
+ 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-01-15 00:00:00"], ["updated_at", "2021-04-07 02:31:31.733024"], ["author_id", 3102], ["status", 2], ["likes", 3]]
98162
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98163
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
98164
+  (0.1ms) SAVEPOINT active_record_1
98165
+ 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-03-01 00:00:00"], ["updated_at", "2021-04-07 02:31:31.735476"], ["author_id", 3102], ["status", 2], ["likes", 4]]
98166
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98167
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
98168
+  (0.1ms) SAVEPOINT active_record_1
98169
+ 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-03-15 00:00:00"], ["updated_at", "2021-04-07 02:31:31.737757"], ["author_id", 3102], ["status", 2], ["likes", 2]]
98170
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98171
+ 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" 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
98172
+ 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
98173
+  (0.2ms) ROLLBACK
98174
+  (0.1ms) BEGIN
98175
+  (0.1ms) SAVEPOINT active_record_1
98176
+ 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", "2021-04-07 02:31:31.745091"], ["title", "A"], ["status", 2], ["likes", 2]]
98177
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98178
+  (0.1ms) SAVEPOINT active_record_1
98179
+ 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", "2021-04-07 02:31:31.746983"], ["title", "A"], ["status", 2], ["likes", 2]]
98180
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98181
+  (0.1ms) SAVEPOINT active_record_1
98182
+ 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", "2021-04-07 02:31:31.748593"], ["title", "B"], ["status", 2], ["likes", 1]]
98183
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98184
+  (0.1ms) SAVEPOINT active_record_1
98185
+ 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", "2021-04-07 02:31:31.750166"], ["title", "A"], ["status", 2], ["likes", 1]]
98186
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98187
+  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"
98188
+  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"
98189
+ Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
98190
+ Post Load (0.8ms) 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 (
98191
+ 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
98192
+ 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
98193
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
98194
+ CASE
98195
+ 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)
98196
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
98197
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
98198
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
98199
+ END
98200
+ ) GROUP BY _active_reporter_dimension_title, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
98201
+  (0.3ms) ROLLBACK
98202
+  (0.2ms) BEGIN
98203
+  (0.3ms) SAVEPOINT active_record_1
98204
+ 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", "2021-04-07 02:31:31.760741"], ["title", "A"], ["status", 2], ["likes", 2]]
98205
+  (0.2ms) RELEASE SAVEPOINT active_record_1
98206
+  (0.2ms) SAVEPOINT active_record_1
98207
+ 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", "2021-04-07 02:31:31.763855"], ["title", "A"], ["status", 2], ["likes", 2]]
98208
+  (0.2ms) RELEASE SAVEPOINT active_record_1
98209
+  (0.1ms) SAVEPOINT active_record_1
98210
+ 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", "2021-04-07 02:31:31.766113"], ["title", "B"], ["status", 2], ["likes", 1]]
98211
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98212
+  (0.1ms) SAVEPOINT active_record_1
98213
+ 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", "2021-04-07 02:31:31.768041"], ["title", "A"], ["status", 2], ["likes", 1]]
98214
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98215
+ 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
98216
+  (0.2ms) ROLLBACK
98217
+  (0.1ms) BEGIN
98218
+  (0.2ms) SAVEPOINT active_record_1
98219
+ 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", "2021-04-07 02:31:31.772599"], ["title", "A"], ["status", 2], ["likes", 2]]
98220
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98221
+  (0.2ms) SAVEPOINT active_record_1
98222
+ 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", "2021-04-07 02:31:31.774446"], ["title", "A"], ["status", 2], ["likes", 2]]
98223
+  (0.2ms) RELEASE SAVEPOINT active_record_1
98224
+  (0.1ms) SAVEPOINT active_record_1
98225
+ 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", "2021-04-07 02:31:31.776302"], ["title", "B"], ["status", 2], ["likes", 1]]
98226
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98227
+  (0.1ms) SAVEPOINT active_record_1
98228
+ 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", "2021-04-07 02:31:31.778008"], ["title", "A"], ["status", 2], ["likes", 1]]
98229
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98230
+  (0.3ms) SELECT MIN(posts.likes) FROM "posts"
98231
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
98232
+ Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
98233
+ 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, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
98234
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
98235
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
98236
+ ) AS _active_reporter_dimension_likes_bin_table ON (
98237
+ CASE
98238
+ 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)
98239
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
98240
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
98241
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
98242
+ END
98243
+ ) GROUP BY _active_reporter_dimension_title, _active_reporter_dimension_likes ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
98244
+  (0.2ms) ROLLBACK
98245
+  (0.1ms) BEGIN
98246
+  (0.1ms) SAVEPOINT active_record_1
98247
+ 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", "2021-04-07 02:31:31.785837"], ["title", "A"], ["status", 2], ["likes", 2]]
98248
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98249
+  (0.1ms) SAVEPOINT active_record_1
98250
+ 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", "2021-04-07 02:31:31.787736"], ["title", "A"], ["status", 2], ["likes", 2]]
98251
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98252
+  (0.5ms) SAVEPOINT active_record_1
98253
+ 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", "2021-04-07 02:31:31.789390"], ["title", "B"], ["status", 2], ["likes", 1]]
98254
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98255
+  (0.1ms) SAVEPOINT active_record_1
98256
+ 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", "2021-04-07 02:31:31.791735"], ["title", "A"], ["status", 2], ["likes", 1]]
98257
+  (0.2ms) RELEASE SAVEPOINT active_record_1
98258
+  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"
98259
+  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"
98260
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
98261
+  (0.3ms) SELECT MIN(posts.likes) FROM "posts"
98262
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
98263
+ Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
98264
+ Post Load (1.0ms) 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 (
98265
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
98266
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
98267
+ ) AS _active_reporter_dimension_likes_bin_table ON (
98268
+ CASE
98269
+ 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)
98270
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
98271
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
98272
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
98273
+ END
98274
+ ) INNER JOIN (
98275
+ 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
98276
+ 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
98277
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
98278
+ CASE
98279
+ 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)
98280
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
98281
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
98282
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
98283
+ END
98284
+ ) GROUP BY _active_reporter_dimension_title, _active_reporter_dimension_likes, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
98285
+  (0.3ms) ROLLBACK
98286
+  (0.1ms) BEGIN
98287
+  (0.1ms) SAVEPOINT active_record_1
98288
+ 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", "2021-04-07 02:31:31.864488"], ["title", "A"], ["status", 2], ["likes", 2]]
98289
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98290
+  (0.1ms) SAVEPOINT active_record_1
98291
+ 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", "2021-04-07 02:31:31.866302"], ["title", "A"], ["status", 2], ["likes", 2]]
98292
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98293
+  (0.1ms) SAVEPOINT active_record_1
98294
+ 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", "2021-04-07 02:31:31.867908"], ["title", "B"], ["status", 2], ["likes", 1]]
98295
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98296
+  (0.1ms) SAVEPOINT active_record_1
98297
+ 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", "2021-04-07 02:31:31.869456"], ["title", "A"], ["status", 2], ["likes", 1]]
98298
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98299
+  (0.2ms) ROLLBACK
98300
+  (0.1ms) BEGIN
98301
+  (0.1ms) SAVEPOINT active_record_1
98302
+ 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", "2021-04-07 02:31:31.872661"], ["title", "A"], ["status", 2], ["likes", 2]]
98303
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98304
+  (0.1ms) SAVEPOINT active_record_1
98305
+ 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", "2021-04-07 02:31:31.874300"], ["title", "A"], ["status", 2], ["likes", 2]]
98306
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98307
+  (0.1ms) SAVEPOINT active_record_1
98308
+ 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", "2021-04-07 02:31:31.875870"], ["title", "B"], ["status", 2], ["likes", 1]]
98309
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98310
+  (0.1ms) SAVEPOINT active_record_1
98311
+ 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", "2021-04-07 02:31:31.877407"], ["title", "A"], ["status", 2], ["likes", 1]]
98312
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98313
+  (0.3ms) SELECT COUNT(*) FROM "posts"
98314
+  (0.2ms) SELECT COUNT(*) FROM "posts"
98315
+  (0.2ms) ROLLBACK
98316
+  (0.1ms) BEGIN
98317
+  (0.1ms) SAVEPOINT active_record_1
98318
+ 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", "2021-04-07 02:31:31.881896"], ["title", "A"], ["status", 2], ["likes", 2]]
98319
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98320
+  (0.1ms) SAVEPOINT active_record_1
98321
+ 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", "2021-04-07 02:31:31.883612"], ["title", "A"], ["status", 2], ["likes", 2]]
98322
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98323
+  (0.1ms) SAVEPOINT active_record_1
98324
+ 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", "2021-04-07 02:31:31.885157"], ["title", "B"], ["status", 2], ["likes", 1]]
98325
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98326
+  (0.1ms) SAVEPOINT active_record_1
98327
+ 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", "2021-04-07 02:31:31.886652"], ["title", "A"], ["status", 2], ["likes", 1]]
98328
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98329
+  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"
98330
+  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"
98331
+ Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
98332
+  (0.3ms) SELECT MIN(posts.likes) FROM "posts"
98333
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
98334
+ Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
98335
+ Post Load (1.0ms) 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 (
98336
+ 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
98337
+ 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
98338
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
98339
+ CASE
98340
+ 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)
98341
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
98342
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
98343
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
98344
+ END
98345
+ ) INNER JOIN (
98346
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
98347
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
98348
+ ) AS _active_reporter_dimension_likes_bin_table ON (
98349
+ CASE
98350
+ 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)
98351
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
98352
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
98353
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
98354
+ END
98355
+ ) GROUP BY _active_reporter_dimension_created_at, _active_reporter_dimension_likes, _active_reporter_dimension_title ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
98356
+  (0.2ms) ROLLBACK