active_reporter 0.5.8 → 0.5.9

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: cff7309f3eb428bd8bf2059d60d60158e49a1114b273cd646da5cfa666274598
4
- data.tar.gz: ef9ce48d28afd9f7e64ab3302473367ab932f5f16a6ed28e613e42d746b46caa
3
+ metadata.gz: a20dbac1b69255c7219dcdbdb71bcc5884ae8d8964e7c87cf5c4f89baaf18d6a
4
+ data.tar.gz: 5352fbc91177cee2b242a2164a6e05db8acaebc9d67efce43c8f0b4897df9b9c
5
5
  SHA512:
6
- metadata.gz: 1b366856d2b834fe2d27bfba9cede8018bfe1f9f5cfe3ef2464f4b65d9416a0014ba4007979924bc691dd2e1cd391ae970c03387f96365f5ac5572b4e4163c15
7
- data.tar.gz: b87e54d19f354287f2fa16d3a8a693fc5216cdd8bae5d667092ac5c4676b132aa272ef6000d3b8dc31118a0856824c57a40e24e4488c3035935a4360d95fd1ad
6
+ metadata.gz: 943fe66295a65dd7984d4785f003d717f808c156787577932b217fc75923886771d887e81a09b10a2307c1536fc6293479178b39e658f00c41d8e6fa6a335fe8
7
+ data.tar.gz: a55aa6e716224d20f15488a7d9a9308d3d7d630fb31e1ca1847fb7d72f35ec59e81f12b553667e47660ea6a0ba8aa341d64ab8575be0fb690fb45c4fd31640f7
@@ -46,15 +46,15 @@ module ActiveReporter
46
46
  end
47
47
 
48
48
  def calculators
49
- @calculators ||= build_axes(self.class.calculators.slice(*Array(params[:calculators]).collect(&:to_sym)))
49
+ @calculators ||= build_axes(self.class.calculators.slice(*(Array(params[:calculators])+Array(params[:aggregators])).collect(&:to_sym).uniq))
50
50
  end
51
51
 
52
52
  def trackers
53
- @trackers ||= build_axes(self.class.trackers.slice(*Array(params[:trackers]).collect(&:to_sym)))
53
+ @trackers ||= build_axes(self.class.trackers.slice(*(Array(params[:trackers])+Array(params[:aggregators])).collect(&:to_sym).uniq))
54
54
  end
55
55
 
56
56
  def evaluators
57
- @evaluators ||= build_axes(self.class.evaluators.slice(*Array(params[:evaluators]).collect(&:to_sym)))
57
+ @evaluators ||= build_axes(self.class.evaluators.slice(*(Array(params[:evaluators])+Array(params[:aggregators])).collect(&:to_sym).uniq))
58
58
  end
59
59
 
60
60
  def fields
@@ -1,3 +1,3 @@
1
1
  module ActiveReporter
2
- VERSION = "0.5.8"
2
+ VERSION = "0.5.9"
3
3
  end
@@ -37029,5 +37029,2511 @@
37029
37029
  WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
37030
37030
  ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
37031
37031
  END
37032
+ ) GROUP BY _active_reporter_dimension_created_at, _active_reporter_dimension_likes, _active_reporter_dimension_title ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
37033
+  (0.3ms) ROLLBACK
37034
+  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
37035
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
37036
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
37037
+  (0.3ms) BEGIN
37038
+  (0.2ms) SAVEPOINT active_record_1
37039
+ Author Create (0.6ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.008189"], ["updated_at", "2020-10-05 06:04:28.008189"], ["name", "James Joyce"]]
37040
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37041
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
37042
+  (0.2ms) SAVEPOINT active_record_1
37043
+ Post Create (0.6ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-05 06:04:28.041465"], ["updated_at", "2020-10-05 06:04:28.041465"], ["author_id", 800], ["status", 2], ["likes", 1], ["published_at", "2015-10-01 00:00:00"]]
37044
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37045
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
37046
+  (0.2ms) SAVEPOINT active_record_1
37047
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-05 06:04:28.045737"], ["updated_at", "2020-10-05 06:04:28.045737"], ["author_id", 800], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
37048
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37049
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
37050
+  (0.1ms) SAVEPOINT active_record_1
37051
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-05 06:04:28.050044"], ["updated_at", "2020-10-05 06:04:28.050044"], ["author_id", 800], ["status", 2], ["likes", 1], ["published_at", "2015-11-01 00:00:00"]]
37052
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37053
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
37054
+  (0.1ms) SAVEPOINT active_record_1
37055
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.054088"], ["updated_at", "2020-10-05 06:04:28.054088"], ["author_id", 800], ["status", 2], ["likes", 3]]
37056
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37057
+  (0.2ms) SAVEPOINT active_record_1
37058
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.057271"], ["updated_at", "2020-10-05 06:04:28.057271"], ["name", "Virginia Woolf"]]
37059
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37060
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
37061
+  (0.1ms) SAVEPOINT active_record_1
37062
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-05 06:04:28.061637"], ["updated_at", "2020-10-05 06:04:28.061637"], ["author_id", 801], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
37063
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37064
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
37065
+  (0.2ms) SAVEPOINT active_record_1
37066
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-05 06:04:28.065204"], ["updated_at", "2020-10-05 06:04:28.065204"], ["author_id", 801], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
37067
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37068
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
37069
+  (0.1ms) SAVEPOINT active_record_1
37070
+ Post Create (5.8ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.069147"], ["updated_at", "2020-10-05 06:04:28.069147"], ["author_id", 801], ["status", 2], ["likes", 3]]
37071
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37072
+  (0.3ms) SAVEPOINT active_record_1
37073
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.077937"], ["updated_at", "2020-10-05 06:04:28.077937"], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
37074
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37075
+  (0.2ms) SAVEPOINT active_record_1
37076
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.082491"], ["updated_at", "2020-10-05 06:04:28.082491"], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
37077
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37078
+ Post Load (1.9ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
37079
+  (0.6ms) SELECT MIN(posts.published_at) FROM "posts"
37080
+  (0.4ms) SELECT MAX(posts.published_at) FROM "posts"
37081
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
37082
+ Post Load (1.7ms) 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 (
37083
+ 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
37084
+ 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
37085
+ 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
37086
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
37087
+ CASE
37088
+ 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)
37089
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
37090
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
37091
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
37092
+ END
37093
+ ) GROUP BY _active_reporter_dimension_published_at
37094
+  (0.5ms) SELECT MIN(posts.likes) FROM "posts"
37095
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
37096
+ Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
37097
+ Post Load (1.7ms) 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 (
37098
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
37099
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text UNION
37100
+ SELECT 3.0 AS min, 4.0 AS max, CAST('3.0,4.0' AS text) AS bin_text
37101
+ ) AS _active_reporter_dimension_likes_bin_table ON (
37102
+ CASE
37103
+ 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)
37104
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
37105
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
37106
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
37107
+ END
37108
+ ) GROUP BY _active_reporter_dimension_likes
37109
+  (0.3ms) ROLLBACK
37110
+  (0.1ms) BEGIN
37111
+  (0.1ms) SAVEPOINT active_record_1
37112
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.135167"], ["updated_at", "2020-10-05 06:04:28.135167"], ["name", "James Joyce"]]
37113
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37114
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
37115
+  (0.1ms) SAVEPOINT active_record_1
37116
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-05 06:04:28.138060"], ["updated_at", "2020-10-05 06:04:28.138060"], ["author_id", 802], ["status", 2], ["likes", 1], ["published_at", "2015-10-01 00:00:00"]]
37117
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37118
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
37119
+  (0.1ms) SAVEPOINT active_record_1
37120
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-05 06:04:28.140463"], ["updated_at", "2020-10-05 06:04:28.140463"], ["author_id", 802], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
37121
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37122
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
37123
+  (0.1ms) SAVEPOINT active_record_1
37124
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-05 06:04:28.142667"], ["updated_at", "2020-10-05 06:04:28.142667"], ["author_id", 802], ["status", 2], ["likes", 1], ["published_at", "2015-11-01 00:00:00"]]
37125
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37126
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
37127
+  (0.2ms) SAVEPOINT active_record_1
37128
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.144928"], ["updated_at", "2020-10-05 06:04:28.144928"], ["author_id", 802], ["status", 2], ["likes", 3]]
37129
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37130
+  (0.2ms) SAVEPOINT active_record_1
37131
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.146903"], ["updated_at", "2020-10-05 06:04:28.146903"], ["name", "Virginia Woolf"]]
37132
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37133
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
37134
+  (0.2ms) SAVEPOINT active_record_1
37135
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-05 06:04:28.149220"], ["updated_at", "2020-10-05 06:04:28.149220"], ["author_id", 803], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
37136
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37137
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
37138
+  (0.1ms) SAVEPOINT active_record_1
37139
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-05 06:04:28.151746"], ["updated_at", "2020-10-05 06:04:28.151746"], ["author_id", 803], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
37140
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37141
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
37142
+  (0.2ms) SAVEPOINT active_record_1
37143
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.154371"], ["updated_at", "2020-10-05 06:04:28.154371"], ["author_id", 803], ["status", 2], ["likes", 3]]
37144
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37145
+  (0.1ms) SAVEPOINT active_record_1
37146
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.156673"], ["updated_at", "2020-10-05 06:04:28.156673"], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
37147
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37148
+  (0.1ms) SAVEPOINT active_record_1
37149
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.158428"], ["updated_at", "2020-10-05 06:04:28.158428"], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
37150
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37151
+  (0.4ms) SELECT MIN(posts.published_at) FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id"
37152
+  (0.3ms) SELECT MAX(posts.published_at) FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id"
37153
+ 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]]
37154
+ Post Load (1.2ms) SELECT _active_reporter_dimension_published_at_bin_table.bin_text AS _active_reporter_dimension_published_at, authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
37155
+ 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
37156
+ 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
37157
+ 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
37158
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
37159
+ CASE
37160
+ 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)
37161
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
37162
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
37163
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
37164
+ END
37165
+ ) GROUP BY _active_reporter_dimension_published_at, _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
37166
+  (0.4ms) ROLLBACK
37167
+  (0.1ms) BEGIN
37168
+  (0.2ms) SAVEPOINT active_record_1
37169
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.179145"], ["updated_at", "2020-10-05 06:04:28.179145"], ["name", "James Joyce"]]
37170
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37171
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
37172
+  (0.2ms) SAVEPOINT active_record_1
37173
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-05 06:04:28.181857"], ["updated_at", "2020-10-05 06:04:28.181857"], ["author_id", 804], ["status", 2], ["likes", 1], ["published_at", "2015-10-01 00:00:00"]]
37174
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37175
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
37176
+  (0.1ms) SAVEPOINT active_record_1
37177
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-05 06:04:28.184436"], ["updated_at", "2020-10-05 06:04:28.184436"], ["author_id", 804], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
37178
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37179
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
37180
+  (0.1ms) SAVEPOINT active_record_1
37181
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-05 06:04:28.187105"], ["updated_at", "2020-10-05 06:04:28.187105"], ["author_id", 804], ["status", 2], ["likes", 1], ["published_at", "2015-11-01 00:00:00"]]
37182
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37183
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
37184
+  (0.2ms) SAVEPOINT active_record_1
37185
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.189937"], ["updated_at", "2020-10-05 06:04:28.189937"], ["author_id", 804], ["status", 2], ["likes", 3]]
37186
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37187
+  (0.1ms) SAVEPOINT active_record_1
37188
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.192134"], ["updated_at", "2020-10-05 06:04:28.192134"], ["name", "Virginia Woolf"]]
37189
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37190
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
37191
+  (0.1ms) SAVEPOINT active_record_1
37192
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-05 06:04:28.194483"], ["updated_at", "2020-10-05 06:04:28.194483"], ["author_id", 805], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
37193
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37194
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
37195
+  (0.1ms) SAVEPOINT active_record_1
37196
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-05 06:04:28.197245"], ["updated_at", "2020-10-05 06:04:28.197245"], ["author_id", 805], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
37197
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37198
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
37199
+  (0.1ms) SAVEPOINT active_record_1
37200
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.199858"], ["updated_at", "2020-10-05 06:04:28.199858"], ["author_id", 805], ["status", 2], ["likes", 3]]
37201
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37202
+  (0.2ms) SAVEPOINT active_record_1
37203
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.202144"], ["updated_at", "2020-10-05 06:04:28.202144"], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
37204
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37205
+  (0.1ms) SAVEPOINT active_record_1
37206
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.203901"], ["updated_at", "2020-10-05 06:04:28.203901"], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
37207
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37208
+ 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
37209
+  (0.4ms) SELECT MIN(posts.published_at) FROM "posts"
37210
+  (0.4ms) SELECT MAX(posts.published_at) FROM "posts"
37211
+ Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
37212
+ Post Load (1.0ms) 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 (
37213
+ 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
37214
+ 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
37215
+ 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
37216
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
37217
+ CASE
37218
+ 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)
37219
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
37220
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
37221
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
37222
+ END
37223
+ ) GROUP BY _active_reporter_dimension_published_at
37224
+ Post Load (0.8ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_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
37225
+ 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 FIRST
37226
+  (0.4ms) SELECT MIN(posts.published_at) FROM "posts"
37227
+  (0.4ms) SELECT MAX(posts.published_at) FROM "posts"
37228
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
37229
+ 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 (
37230
+ 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
37231
+ 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
37232
+ 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
37233
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
37234
+ CASE
37235
+ 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)
37236
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
37237
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
37238
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
37239
+ END
37240
+ ) GROUP BY _active_reporter_dimension_published_at
37241
+  (0.5ms) SELECT MIN(posts.published_at) FROM "posts"
37242
+  (0.3ms) SELECT MAX(posts.published_at) FROM "posts"
37243
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
37244
+ 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 (
37245
+ 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
37246
+ 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
37247
+ 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
37248
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
37249
+ CASE
37250
+ 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)
37251
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
37252
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
37253
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
37254
+ END
37255
+ ) GROUP BY _active_reporter_dimension_published_at
37256
+  (0.3ms) ROLLBACK
37257
+  (0.1ms) BEGIN
37258
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
37259
+  (0.1ms) SAVEPOINT active_record_1
37260
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.245979"], ["updated_at", "2020-10-05 06:04:28.245979"], ["name", "Alice"]]
37261
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37262
+  (0.1ms) SAVEPOINT active_record_1
37263
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.247471"], ["updated_at", "2020-10-05 06:04:28.247471"], ["author_id", 806], ["status", 2], ["likes", 3]]
37264
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37265
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
37266
+  (0.2ms) SAVEPOINT active_record_1
37267
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.249950"], ["updated_at", "2020-10-05 06:04:28.249950"], ["author_id", 806], ["status", 2], ["likes", 2]]
37268
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37269
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
37270
+  (0.1ms) SAVEPOINT active_record_1
37271
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.252673"], ["updated_at", "2020-10-05 06:04:28.252673"], ["name", "Bob"]]
37272
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37273
+  (0.2ms) SAVEPOINT active_record_1
37274
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.254155"], ["updated_at", "2020-10-05 06:04:28.254155"], ["author_id", 807], ["status", 2], ["likes", 4]]
37275
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37276
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
37277
+  (0.2ms) SAVEPOINT active_record_1
37278
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.256932"], ["updated_at", "2020-10-05 06:04:28.256932"], ["author_id", 807], ["status", 2], ["likes", 1]]
37279
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37280
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
37281
+  (0.1ms) SAVEPOINT active_record_1
37282
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.259572"], ["updated_at", "2020-10-05 06:04:28.259572"], ["author_id", 807], ["status", 2], ["likes", 5]]
37283
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37284
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
37285
+  (0.1ms) SAVEPOINT active_record_1
37286
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.261872"], ["updated_at", "2020-10-05 06:04:28.261872"], ["name", "Chester"]]
37287
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37288
+  (0.1ms) SAVEPOINT active_record_1
37289
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.263113"], ["updated_at", "2020-10-05 06:04:28.263113"], ["author_id", 808], ["status", 2], ["likes", 10]]
37290
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37291
+ Post Load (0.7ms) 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
37292
+  (0.2ms) ROLLBACK
37293
+  (0.1ms) BEGIN
37294
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
37295
+  (0.2ms) SAVEPOINT active_record_1
37296
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.269713"], ["updated_at", "2020-10-05 06:04:28.269713"], ["name", "Alice"]]
37297
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37298
+  (0.1ms) SAVEPOINT active_record_1
37299
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.271426"], ["updated_at", "2020-10-05 06:04:28.271426"], ["author_id", 809], ["status", 2], ["likes", 3]]
37300
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37301
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
37302
+  (0.1ms) SAVEPOINT active_record_1
37303
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.274160"], ["updated_at", "2020-10-05 06:04:28.274160"], ["author_id", 809], ["status", 2], ["likes", 2]]
37304
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37305
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
37306
+  (0.1ms) SAVEPOINT active_record_1
37307
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.276758"], ["updated_at", "2020-10-05 06:04:28.276758"], ["name", "Bob"]]
37308
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37309
+  (0.1ms) SAVEPOINT active_record_1
37310
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.278199"], ["updated_at", "2020-10-05 06:04:28.278199"], ["author_id", 810], ["status", 2], ["likes", 4]]
37311
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37312
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
37313
+  (0.2ms) SAVEPOINT active_record_1
37314
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.280764"], ["updated_at", "2020-10-05 06:04:28.280764"], ["author_id", 810], ["status", 2], ["likes", 1]]
37315
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37316
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
37317
+  (0.1ms) SAVEPOINT active_record_1
37318
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.283112"], ["updated_at", "2020-10-05 06:04:28.283112"], ["author_id", 810], ["status", 2], ["likes", 5]]
37319
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37320
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
37321
+  (0.1ms) SAVEPOINT active_record_1
37322
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.285564"], ["updated_at", "2020-10-05 06:04:28.285564"], ["name", "Chester"]]
37323
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37324
+  (0.2ms) SAVEPOINT active_record_1
37325
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.286909"], ["updated_at", "2020-10-05 06:04:28.286909"], ["author_id", 811], ["status", 2], ["likes", 10]]
37326
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37327
+ Post Load (0.7ms) 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
37328
+  (0.2ms) ROLLBACK
37329
+  (0.1ms) BEGIN
37330
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
37331
+  (0.1ms) SAVEPOINT active_record_1
37332
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.293661"], ["updated_at", "2020-10-05 06:04:28.293661"], ["name", "Alice"]]
37333
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37334
+  (0.1ms) SAVEPOINT active_record_1
37335
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.295054"], ["updated_at", "2020-10-05 06:04:28.295054"], ["author_id", 812], ["status", 2], ["likes", 3]]
37336
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37337
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
37338
+  (0.1ms) SAVEPOINT active_record_1
37339
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.297486"], ["updated_at", "2020-10-05 06:04:28.297486"], ["author_id", 812], ["status", 2], ["likes", 2]]
37340
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37341
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
37342
+  (0.1ms) SAVEPOINT active_record_1
37343
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.299985"], ["updated_at", "2020-10-05 06:04:28.299985"], ["name", "Bob"]]
37344
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37345
+  (0.2ms) SAVEPOINT active_record_1
37346
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.301611"], ["updated_at", "2020-10-05 06:04:28.301611"], ["author_id", 813], ["status", 2], ["likes", 4]]
37347
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37348
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
37349
+  (0.1ms) SAVEPOINT active_record_1
37350
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.304373"], ["updated_at", "2020-10-05 06:04:28.304373"], ["author_id", 813], ["status", 2], ["likes", 1]]
37351
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37352
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
37353
+  (0.2ms) SAVEPOINT active_record_1
37354
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.307056"], ["updated_at", "2020-10-05 06:04:28.307056"], ["author_id", 813], ["status", 2], ["likes", 5]]
37355
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37356
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
37357
+  (0.2ms) SAVEPOINT active_record_1
37358
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.310019"], ["updated_at", "2020-10-05 06:04:28.310019"], ["name", "Chester"]]
37359
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37360
+  (0.1ms) SAVEPOINT active_record_1
37361
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.311550"], ["updated_at", "2020-10-05 06:04:28.311550"], ["author_id", 814], ["status", 2], ["likes", 10]]
37362
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37363
+ 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
37364
+  (0.2ms) ROLLBACK
37365
+  (0.2ms) BEGIN
37366
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
37367
+  (0.1ms) SAVEPOINT active_record_1
37368
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.317675"], ["updated_at", "2020-10-05 06:04:28.317675"], ["name", "Alice"]]
37369
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37370
+  (0.1ms) SAVEPOINT active_record_1
37371
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.319094"], ["updated_at", "2020-10-05 06:04:28.319094"], ["author_id", 815], ["status", 2], ["likes", 3]]
37372
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37373
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
37374
+  (0.2ms) SAVEPOINT active_record_1
37375
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.321305"], ["updated_at", "2020-10-05 06:04:28.321305"], ["author_id", 815], ["status", 2], ["likes", 2]]
37376
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37377
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
37378
+  (0.1ms) SAVEPOINT active_record_1
37379
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.324035"], ["updated_at", "2020-10-05 06:04:28.324035"], ["name", "Bob"]]
37380
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37381
+  (0.2ms) SAVEPOINT active_record_1
37382
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.325585"], ["updated_at", "2020-10-05 06:04:28.325585"], ["author_id", 816], ["status", 2], ["likes", 4]]
37383
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37384
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
37385
+  (0.2ms) SAVEPOINT active_record_1
37386
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.328402"], ["updated_at", "2020-10-05 06:04:28.328402"], ["author_id", 816], ["status", 2], ["likes", 1]]
37387
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37388
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
37389
+  (0.2ms) SAVEPOINT active_record_1
37390
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.331314"], ["updated_at", "2020-10-05 06:04:28.331314"], ["author_id", 816], ["status", 2], ["likes", 5]]
37391
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37392
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
37393
+  (0.1ms) SAVEPOINT active_record_1
37394
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.334138"], ["updated_at", "2020-10-05 06:04:28.334138"], ["name", "Chester"]]
37395
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37396
+  (0.1ms) SAVEPOINT active_record_1
37397
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.335667"], ["updated_at", "2020-10-05 06:04:28.335667"], ["author_id", 817], ["status", 2], ["likes", 10]]
37398
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37399
+ Post Load (0.5ms) 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
37400
+  (0.2ms) ROLLBACK
37401
+  (0.2ms) BEGIN
37402
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
37403
+  (0.2ms) SAVEPOINT active_record_1
37404
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.342109"], ["updated_at", "2020-10-05 06:04:28.342109"], ["name", "Alice"]]
37405
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37406
+  (0.1ms) SAVEPOINT active_record_1
37407
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.343720"], ["updated_at", "2020-10-05 06:04:28.343720"], ["author_id", 818], ["status", 2], ["likes", 3]]
37408
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37409
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
37410
+  (0.1ms) SAVEPOINT active_record_1
37411
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.346215"], ["updated_at", "2020-10-05 06:04:28.346215"], ["author_id", 818], ["status", 2], ["likes", 2]]
37412
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37413
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
37414
+  (0.1ms) SAVEPOINT active_record_1
37415
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.348898"], ["updated_at", "2020-10-05 06:04:28.348898"], ["name", "Bob"]]
37416
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37417
+  (0.1ms) SAVEPOINT active_record_1
37418
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.350474"], ["updated_at", "2020-10-05 06:04:28.350474"], ["author_id", 819], ["status", 2], ["likes", 4]]
37419
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37420
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
37421
+  (0.1ms) SAVEPOINT active_record_1
37422
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.352817"], ["updated_at", "2020-10-05 06:04:28.352817"], ["author_id", 819], ["status", 2], ["likes", 1]]
37423
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37424
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
37425
+  (0.1ms) SAVEPOINT active_record_1
37426
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.355241"], ["updated_at", "2020-10-05 06:04:28.355241"], ["author_id", 819], ["status", 2], ["likes", 5]]
37427
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37428
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
37429
+  (0.1ms) SAVEPOINT active_record_1
37430
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.358235"], ["updated_at", "2020-10-05 06:04:28.358235"], ["name", "Chester"]]
37431
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37432
+  (0.1ms) SAVEPOINT active_record_1
37433
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.359663"], ["updated_at", "2020-10-05 06:04:28.359663"], ["author_id", 820], ["status", 2], ["likes", 10]]
37434
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37435
+ 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
37436
+  (0.1ms) ROLLBACK
37437
+  (0.2ms) BEGIN
37438
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
37439
+  (0.1ms) SAVEPOINT active_record_1
37440
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.365639"], ["updated_at", "2020-10-05 06:04:28.365639"], ["name", "Alice"]]
37441
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37442
+  (0.1ms) SAVEPOINT active_record_1
37443
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.367099"], ["updated_at", "2020-10-05 06:04:28.367099"], ["author_id", 821], ["status", 2], ["likes", 3]]
37444
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37445
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
37446
+  (0.1ms) SAVEPOINT active_record_1
37447
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.369570"], ["updated_at", "2020-10-05 06:04:28.369570"], ["author_id", 821], ["status", 2], ["likes", 2]]
37448
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37449
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
37450
+  (0.1ms) SAVEPOINT active_record_1
37451
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.372115"], ["updated_at", "2020-10-05 06:04:28.372115"], ["name", "Bob"]]
37452
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37453
+  (0.2ms) SAVEPOINT active_record_1
37454
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.373948"], ["updated_at", "2020-10-05 06:04:28.373948"], ["author_id", 822], ["status", 2], ["likes", 4]]
37455
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37456
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
37457
+  (0.1ms) SAVEPOINT active_record_1
37458
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.376672"], ["updated_at", "2020-10-05 06:04:28.376672"], ["author_id", 822], ["status", 2], ["likes", 1]]
37459
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37460
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
37461
+  (0.1ms) SAVEPOINT active_record_1
37462
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.378949"], ["updated_at", "2020-10-05 06:04:28.378949"], ["author_id", 822], ["status", 2], ["likes", 5]]
37463
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37464
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
37465
+  (0.2ms) SAVEPOINT active_record_1
37466
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.381559"], ["updated_at", "2020-10-05 06:04:28.381559"], ["name", "Chester"]]
37467
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37468
+  (0.2ms) SAVEPOINT active_record_1
37469
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-05 06:04:28.383049"], ["updated_at", "2020-10-05 06:04:28.383049"], ["author_id", 823], ["status", 2], ["likes", 10]]
37470
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37471
+ 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
37472
+  (0.1ms) ROLLBACK
37473
+  (0.2ms) BEGIN
37474
+  (0.1ms) ROLLBACK
37475
+  (0.1ms) BEGIN
37476
+  (0.1ms) ROLLBACK
37477
+  (0.2ms) BEGIN
37478
+  (0.1ms) ROLLBACK
37479
+  (0.1ms) BEGIN
37480
+  (0.1ms) ROLLBACK
37481
+  (0.2ms) BEGIN
37482
+  (0.1ms) ROLLBACK
37483
+  (0.1ms) BEGIN
37484
+  (0.1ms) ROLLBACK
37485
+  (0.1ms) BEGIN
37486
+  (0.1ms) ROLLBACK
37487
+  (0.1ms) BEGIN
37488
+  (0.1ms) ROLLBACK
37489
+  (0.1ms) BEGIN
37490
+  (0.1ms) ROLLBACK
37491
+  (0.1ms) BEGIN
37492
+  (0.1ms) ROLLBACK
37493
+  (0.1ms) BEGIN
37494
+  (0.1ms) ROLLBACK
37495
+  (0.1ms) BEGIN
37496
+  (0.1ms) ROLLBACK
37497
+  (0.1ms) BEGIN
37498
+  (0.1ms) ROLLBACK
37499
+  (0.1ms) BEGIN
37500
+  (0.1ms) ROLLBACK
37501
+  (0.1ms) BEGIN
37502
+  (0.2ms) ROLLBACK
37503
+  (0.1ms) BEGIN
37504
+  (0.2ms) ROLLBACK
37505
+  (0.2ms) BEGIN
37506
+  (0.2ms) ROLLBACK
37507
+  (0.1ms) BEGIN
37508
+  (0.1ms) ROLLBACK
37509
+  (0.1ms) BEGIN
37510
+  (0.2ms) ROLLBACK
37511
+  (0.1ms) BEGIN
37512
+  (0.3ms) SELECT MIN(posts.likes) FROM "posts"
37513
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
37514
+  (0.2ms) SAVEPOINT active_record_1
37515
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-05 06:04:28.415857"], ["updated_at", "2020-10-05 06:04:28.415857"], ["status", 2], ["likes", 3]]
37516
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37517
+  (0.2ms) SAVEPOINT active_record_1
37518
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-05 06:04:28.417873"], ["updated_at", "2020-10-05 06:04:28.417873"], ["status", 2], ["likes", 10]]
37519
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37520
+  (0.1ms) SAVEPOINT active_record_1
37521
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-05 06:04:28.419688"], ["updated_at", "2020-10-05 06:04:28.419688"], ["status", 2], ["likes", 1]]
37522
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37523
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
37524
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
37525
+  (0.2ms) ROLLBACK
37526
+  (0.2ms) BEGIN
37527
+  (0.2ms) ROLLBACK
37528
+  (0.2ms) BEGIN
37529
+  (0.2ms) SAVEPOINT active_record_1
37530
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-05 06:04:28.436439"], ["updated_at", "2020-10-05 06:04:28.436439"], ["status", 2], ["likes", 2]]
37531
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37532
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
37533
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
37534
+  (0.2ms) ROLLBACK
37535
+  (0.1ms) BEGIN
37536
+  (0.1ms) ROLLBACK
37537
+  (0.1ms) BEGIN
37538
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
37539
+  (0.1ms) SAVEPOINT active_record_1
37540
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.444141"], ["updated_at", "2020-10-05 06:04:28.444141"], ["name", "Alice"]]
37541
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37542
+  (0.1ms) SAVEPOINT active_record_1
37543
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-05 06:04:28.445890"], ["updated_at", "2020-10-05 06:04:28.445890"], ["author_id", 824], ["status", 2]]
37544
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37545
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
37546
+  (0.2ms) SAVEPOINT active_record_1
37547
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.448441"], ["updated_at", "2020-10-05 06:04:28.448441"], ["name", "Bob"]]
37548
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37549
+  (0.1ms) SAVEPOINT active_record_1
37550
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-05 06:04:28.449930"], ["updated_at", "2020-10-05 06:04:28.449930"], ["author_id", 825], ["status", 2]]
37551
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37552
+  (0.1ms) SAVEPOINT active_record_1
37553
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.451576"], ["updated_at", "2020-10-05 06:04:28.451576"], ["status", 2]]
37554
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37555
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice'))
37556
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL))
37557
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice'))
37558
+ Post Load (0.7ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob'))
37559
+ Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))
37560
+  (0.1ms) ROLLBACK
37561
+  (0.1ms) BEGIN
37562
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
37563
+  (0.2ms) SAVEPOINT active_record_1
37564
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.461374"], ["updated_at", "2020-10-05 06:04:28.461374"], ["name", "Alice"]]
37565
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37566
+  (0.2ms) SAVEPOINT active_record_1
37567
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-05 06:04:28.463018"], ["updated_at", "2020-10-05 06:04:28.463018"], ["author_id", 826], ["status", 2]]
37568
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37569
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
37570
+  (0.1ms) SAVEPOINT active_record_1
37571
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-05 06:04:28.465973"], ["updated_at", "2020-10-05 06:04:28.465973"], ["author_id", 826], ["status", 2]]
37572
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37573
+  (0.2ms) SAVEPOINT active_record_1
37574
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.468107"], ["updated_at", "2020-10-05 06:04:28.468107"], ["status", 2]]
37575
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37576
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
37577
+  (0.1ms) SAVEPOINT active_record_1
37578
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.470819"], ["updated_at", "2020-10-05 06:04:28.470819"], ["name", "Bob"]]
37579
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37580
+  (0.1ms) SAVEPOINT active_record_1
37581
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-05 06:04:28.472377"], ["updated_at", "2020-10-05 06:04:28.472377"], ["author_id", 827], ["status", 2]]
37582
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37583
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
37584
+  (0.1ms) SAVEPOINT active_record_1
37585
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-05 06:04:28.475172"], ["updated_at", "2020-10-05 06:04:28.475172"], ["author_id", 827], ["status", 2]]
37586
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37587
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
37588
+  (0.1ms) SAVEPOINT active_record_1
37589
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-05 06:04:28.477841"], ["updated_at", "2020-10-05 06:04:28.477841"], ["author_id", 827], ["status", 2]]
37590
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37591
+ Post Load (0.7ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
37592
+  (0.2ms) ROLLBACK
37593
+  (0.1ms) BEGIN
37594
+  (0.2ms) ROLLBACK
37595
+  (0.1ms) BEGIN
37596
+  (0.2ms) ROLLBACK
37597
+  (0.1ms) BEGIN
37598
+  (0.2ms) ROLLBACK
37599
+  (0.2ms) BEGIN
37600
+  (0.2ms) ROLLBACK
37601
+  (0.1ms) BEGIN
37602
+  (0.2ms) ROLLBACK
37603
+  (0.1ms) BEGIN
37604
+  (0.1ms) ROLLBACK
37605
+  (0.1ms) BEGIN
37606
+  (0.2ms) ROLLBACK
37607
+  (0.2ms) BEGIN
37608
+  (0.1ms) ROLLBACK
37609
+  (0.2ms) BEGIN
37610
+  (0.2ms) ROLLBACK
37611
+  (0.1ms) BEGIN
37612
+  (0.2ms) ROLLBACK
37613
+  (0.1ms) BEGIN
37614
+  (0.2ms) ROLLBACK
37615
+  (0.2ms) BEGIN
37616
+  (0.2ms) ROLLBACK
37617
+  (0.2ms) BEGIN
37618
+  (0.2ms) ROLLBACK
37619
+  (0.1ms) BEGIN
37620
+  (0.2ms) ROLLBACK
37621
+  (0.1ms) BEGIN
37622
+  (0.2ms) ROLLBACK
37623
+  (0.2ms) BEGIN
37624
+  (0.1ms) ROLLBACK
37625
+  (0.1ms) BEGIN
37626
+  (0.2ms) ROLLBACK
37627
+  (0.2ms) BEGIN
37628
+  (0.1ms) ROLLBACK
37629
+  (0.1ms) BEGIN
37630
+  (0.1ms) ROLLBACK
37631
+  (0.1ms) BEGIN
37632
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
37633
+  (0.2ms) SAVEPOINT active_record_1
37634
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.520367"], ["updated_at", "2020-10-05 06:04:28.520367"], ["name", "Tammy"]]
37635
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37636
+  (0.2ms) SAVEPOINT active_record_1
37637
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2018-12-18 00:00:00"], ["updated_at", "2020-10-05 06:04:28.521999"], ["author_id", 828], ["status", 2], ["likes", 23]]
37638
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37639
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
37640
+  (0.1ms) SAVEPOINT active_record_1
37641
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.525175"], ["author_id", 828], ["status", 2], ["likes", 7]]
37642
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37643
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
37644
+  (0.2ms) SAVEPOINT active_record_1
37645
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-05 06:04:28.527836"], ["author_id", 828], ["status", 2], ["likes", 4]]
37646
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37647
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
37648
+  (0.2ms) SAVEPOINT active_record_1
37649
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-08 00:00:00"], ["updated_at", "2020-10-05 06:04:28.530636"], ["author_id", 828], ["status", 2], ["likes", 11]]
37650
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37651
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
37652
+  (0.1ms) SAVEPOINT active_record_1
37653
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.533388"], ["updated_at", "2020-10-05 06:04:28.533388"], ["name", "Timmy"]]
37654
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37655
+  (0.2ms) SAVEPOINT active_record_1
37656
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-05 06:04:28.534890"], ["author_id", 829], ["status", 2], ["likes", 3]]
37657
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37658
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
37659
+  (0.1ms) SAVEPOINT active_record_1
37660
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-02-27 00:00:00"], ["updated_at", "2020-10-05 06:04:28.537735"], ["author_id", 829], ["status", 2], ["likes", 24]]
37661
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37662
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
37663
+  (0.2ms) SAVEPOINT active_record_1
37664
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-02-28 00:00:00"], ["updated_at", "2020-10-05 06:04:28.541215"], ["author_id", 829], ["status", 2]]
37665
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37666
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
37667
+  (0.1ms) SAVEPOINT active_record_1
37668
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.544551"], ["author_id", 829], ["status", 2], ["likes", 19]]
37669
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37670
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
37671
+  (0.1ms) SAVEPOINT active_record_1
37672
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-04-08 00:00:00"], ["updated_at", "2020-10-05 06:04:28.547251"], ["author_id", 829], ["status", 2], ["likes", 8]]
37673
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37674
+  (0.6ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00')
37675
+ Post Exists? (0.5ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
37676
+ 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 (
37677
+ SELECT CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-01-01 00:00:00 UTC,2019-02-01 00:00:00 UTC' AS text) AS bin_text UNION
37678
+ SELECT CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-02-01 00:00:00 UTC,2019-03-01 00:00:00 UTC' AS text) AS bin_text UNION
37679
+ SELECT CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-03-01 00:00:00 UTC,2019-04-01 00:00:00 UTC' AS text) AS bin_text UNION
37680
+ SELECT CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-04-01 00:00:00 UTC,2019-05-01 00:00:00 UTC' AS text) AS bin_text
37681
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
37682
+ CASE
37683
+ 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)
37684
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
37685
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
37686
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
37687
+ END
37688
+ ) WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
37689
+  (0.3ms) ROLLBACK
37690
+  (0.1ms) BEGIN
37691
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
37692
+  (0.2ms) SAVEPOINT active_record_1
37693
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.563423"], ["updated_at", "2020-10-05 06:04:28.563423"], ["name", "Tammy"]]
37694
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37695
+  (0.1ms) SAVEPOINT active_record_1
37696
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2018-12-18 00:00:00"], ["updated_at", "2020-10-05 06:04:28.565190"], ["author_id", 830], ["status", 2], ["likes", 23]]
37697
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37698
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
37699
+  (0.1ms) SAVEPOINT active_record_1
37700
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.568284"], ["author_id", 830], ["status", 2], ["likes", 7]]
37701
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37702
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
37703
+  (0.1ms) SAVEPOINT active_record_1
37704
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-05 06:04:28.571038"], ["author_id", 830], ["status", 2], ["likes", 4]]
37705
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37706
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
37707
+  (0.2ms) SAVEPOINT active_record_1
37708
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-08 00:00:00"], ["updated_at", "2020-10-05 06:04:28.574106"], ["author_id", 830], ["status", 2], ["likes", 11]]
37709
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37710
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
37711
+  (0.2ms) SAVEPOINT active_record_1
37712
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.577089"], ["updated_at", "2020-10-05 06:04:28.577089"], ["name", "Timmy"]]
37713
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37714
+  (0.1ms) SAVEPOINT active_record_1
37715
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-05 06:04:28.578779"], ["author_id", 831], ["status", 2], ["likes", 3]]
37716
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37717
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
37718
+  (0.2ms) SAVEPOINT active_record_1
37719
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-02-27 00:00:00"], ["updated_at", "2020-10-05 06:04:28.581566"], ["author_id", 831], ["status", 2], ["likes", 24]]
37720
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37721
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
37722
+  (0.1ms) SAVEPOINT active_record_1
37723
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-02-28 00:00:00"], ["updated_at", "2020-10-05 06:04:28.584764"], ["author_id", 831], ["status", 2]]
37724
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37725
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
37726
+  (0.2ms) SAVEPOINT active_record_1
37727
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.587346"], ["author_id", 831], ["status", 2], ["likes", 19]]
37728
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37729
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
37730
+  (0.2ms) SAVEPOINT active_record_1
37731
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-04-08 00:00:00"], ["updated_at", "2020-10-05 06:04:28.590733"], ["author_id", 831], ["status", 2], ["likes", 8]]
37732
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37733
+  (0.6ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00')
37734
+ Post Exists? (0.6ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
37735
+ 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 (
37736
+ SELECT CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-01-01 00:00:00 UTC,2019-02-01 00:00:00 UTC' AS text) AS bin_text UNION
37737
+ SELECT CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-02-01 00:00:00 UTC,2019-03-01 00:00:00 UTC' AS text) AS bin_text UNION
37738
+ SELECT CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-03-01 00:00:00 UTC,2019-04-01 00:00:00 UTC' AS text) AS bin_text UNION
37739
+ SELECT CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-04-01 00:00:00 UTC,2019-05-01 00:00:00 UTC' AS text) AS bin_text
37740
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
37741
+ CASE
37742
+ 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)
37743
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
37744
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
37745
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
37746
+ END
37747
+ ) WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
37748
+  (0.3ms) ROLLBACK
37749
+  (0.2ms) BEGIN
37750
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
37751
+  (0.2ms) SAVEPOINT active_record_1
37752
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.610856"], ["updated_at", "2020-10-05 06:04:28.610856"], ["name", "Tammy"]]
37753
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37754
+  (0.2ms) SAVEPOINT active_record_1
37755
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2018-12-18 00:00:00"], ["updated_at", "2020-10-05 06:04:28.612827"], ["author_id", 832], ["status", 2], ["likes", 23]]
37756
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37757
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
37758
+  (0.2ms) SAVEPOINT active_record_1
37759
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.616040"], ["author_id", 832], ["status", 2], ["likes", 7]]
37760
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37761
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
37762
+  (0.2ms) SAVEPOINT active_record_1
37763
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-05 06:04:28.619344"], ["author_id", 832], ["status", 2], ["likes", 4]]
37764
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37765
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
37766
+  (0.2ms) SAVEPOINT active_record_1
37767
+ Post Create (0.6ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-08 00:00:00"], ["updated_at", "2020-10-05 06:04:28.622453"], ["author_id", 832], ["status", 2], ["likes", 11]]
37768
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37769
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
37770
+  (0.1ms) SAVEPOINT active_record_1
37771
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.626219"], ["updated_at", "2020-10-05 06:04:28.626219"], ["name", "Timmy"]]
37772
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37773
+  (0.1ms) SAVEPOINT active_record_1
37774
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-05 06:04:28.627770"], ["author_id", 833], ["status", 2], ["likes", 3]]
37775
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37776
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
37777
+  (0.2ms) SAVEPOINT active_record_1
37778
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-02-27 00:00:00"], ["updated_at", "2020-10-05 06:04:28.630693"], ["author_id", 833], ["status", 2], ["likes", 24]]
37779
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37780
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
37781
+  (0.1ms) SAVEPOINT active_record_1
37782
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-02-28 00:00:00"], ["updated_at", "2020-10-05 06:04:28.633863"], ["author_id", 833], ["status", 2]]
37783
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37784
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
37785
+  (0.1ms) SAVEPOINT active_record_1
37786
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.636560"], ["author_id", 833], ["status", 2], ["likes", 19]]
37787
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37788
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
37789
+  (0.2ms) SAVEPOINT active_record_1
37790
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-04-08 00:00:00"], ["updated_at", "2020-10-05 06:04:28.639113"], ["author_id", 833], ["status", 2], ["likes", 8]]
37791
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37792
+  (0.5ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00')
37793
+ Post Exists? (0.5ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
37794
+ 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 (
37795
+ SELECT CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-01-01 00:00:00 UTC,2019-02-01 00:00:00 UTC' AS text) AS bin_text UNION
37796
+ SELECT CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-02-01 00:00:00 UTC,2019-03-01 00:00:00 UTC' AS text) AS bin_text UNION
37797
+ SELECT CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-03-01 00:00:00 UTC,2019-04-01 00:00:00 UTC' AS text) AS bin_text UNION
37798
+ SELECT CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-04-01 00:00:00 UTC,2019-05-01 00:00:00 UTC' AS text) AS bin_text
37799
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
37800
+ CASE
37801
+ 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)
37802
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
37803
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
37804
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
37805
+ END
37806
+ ) WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
37807
+  (0.3ms) ROLLBACK
37808
+  (0.1ms) BEGIN
37809
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
37810
+  (0.2ms) SAVEPOINT active_record_1
37811
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.655510"], ["updated_at", "2020-10-05 06:04:28.655510"], ["name", "Tammy"]]
37812
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37813
+  (0.2ms) SAVEPOINT active_record_1
37814
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2018-12-18 00:00:00"], ["updated_at", "2020-10-05 06:04:28.657561"], ["author_id", 834], ["status", 2], ["likes", 23]]
37815
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37816
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
37817
+  (0.2ms) SAVEPOINT active_record_1
37818
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.660532"], ["author_id", 834], ["status", 2], ["likes", 7]]
37819
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37820
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
37821
+  (0.1ms) SAVEPOINT active_record_1
37822
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-05 06:04:28.663223"], ["author_id", 834], ["status", 2], ["likes", 4]]
37823
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37824
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
37825
+  (0.2ms) SAVEPOINT active_record_1
37826
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-08 00:00:00"], ["updated_at", "2020-10-05 06:04:28.666228"], ["author_id", 834], ["status", 2], ["likes", 11]]
37827
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37828
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
37829
+  (0.2ms) SAVEPOINT active_record_1
37830
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.669459"], ["updated_at", "2020-10-05 06:04:28.669459"], ["name", "Timmy"]]
37831
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37832
+  (0.1ms) SAVEPOINT active_record_1
37833
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-05 06:04:28.671076"], ["author_id", 835], ["status", 2], ["likes", 3]]
37834
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37835
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
37836
+  (0.1ms) SAVEPOINT active_record_1
37837
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-02-27 00:00:00"], ["updated_at", "2020-10-05 06:04:28.673780"], ["author_id", 835], ["status", 2], ["likes", 24]]
37838
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37839
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
37840
+  (0.1ms) SAVEPOINT active_record_1
37841
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-02-28 00:00:00"], ["updated_at", "2020-10-05 06:04:28.676121"], ["author_id", 835], ["status", 2]]
37842
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37843
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
37844
+  (0.2ms) SAVEPOINT active_record_1
37845
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.678481"], ["author_id", 835], ["status", 2], ["likes", 19]]
37846
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37847
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
37848
+  (0.3ms) SAVEPOINT active_record_1
37849
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-04-08 00:00:00"], ["updated_at", "2020-10-05 06:04:28.681267"], ["author_id", 835], ["status", 2], ["likes", 8]]
37850
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37851
+  (0.5ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00')
37852
+ Post Exists? (0.5ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
37853
+ Post Load (1.3ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
37854
+ SELECT CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-01-01 00:00:00 UTC,2019-02-01 00:00:00 UTC' AS text) AS bin_text UNION
37855
+ SELECT CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-02-01 00:00:00 UTC,2019-03-01 00:00:00 UTC' AS text) AS bin_text UNION
37856
+ SELECT CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-03-01 00:00:00 UTC,2019-04-01 00:00:00 UTC' AS text) AS bin_text UNION
37857
+ SELECT CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-04-01 00:00:00 UTC,2019-05-01 00:00:00 UTC' AS text) AS bin_text
37858
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
37859
+ CASE
37860
+ 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)
37861
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
37862
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
37863
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
37864
+ END
37865
+ ) WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
37866
+ Post Load (0.7ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
37867
+ Post Load (0.6ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
37868
+  (0.3ms) ROLLBACK
37869
+  (0.2ms) BEGIN
37870
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
37871
+  (0.2ms) SAVEPOINT active_record_1
37872
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.704791"], ["updated_at", "2020-10-05 06:04:28.704791"], ["name", "Tammy"]]
37873
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37874
+  (0.1ms) SAVEPOINT active_record_1
37875
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2018-12-18 00:00:00"], ["updated_at", "2020-10-05 06:04:28.706502"], ["author_id", 836], ["status", 2], ["likes", 23]]
37876
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37877
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
37878
+  (0.1ms) SAVEPOINT active_record_1
37879
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.708915"], ["author_id", 836], ["status", 2], ["likes", 7]]
37880
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37881
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
37882
+  (0.1ms) SAVEPOINT active_record_1
37883
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-05 06:04:28.711142"], ["author_id", 836], ["status", 2], ["likes", 4]]
37884
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37885
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
37886
+  (0.1ms) SAVEPOINT active_record_1
37887
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-08 00:00:00"], ["updated_at", "2020-10-05 06:04:28.713475"], ["author_id", 836], ["status", 2], ["likes", 11]]
37888
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37889
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
37890
+  (0.1ms) SAVEPOINT active_record_1
37891
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.716036"], ["updated_at", "2020-10-05 06:04:28.716036"], ["name", "Timmy"]]
37892
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37893
+  (0.1ms) SAVEPOINT active_record_1
37894
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-05 06:04:28.717405"], ["author_id", 837], ["status", 2], ["likes", 3]]
37895
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37896
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
37897
+  (0.1ms) SAVEPOINT active_record_1
37898
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-02-27 00:00:00"], ["updated_at", "2020-10-05 06:04:28.719617"], ["author_id", 837], ["status", 2], ["likes", 24]]
37899
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37900
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
37901
+  (0.1ms) SAVEPOINT active_record_1
37902
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-02-28 00:00:00"], ["updated_at", "2020-10-05 06:04:28.721987"], ["author_id", 837], ["status", 2]]
37903
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37904
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
37905
+  (0.1ms) SAVEPOINT active_record_1
37906
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.724824"], ["author_id", 837], ["status", 2], ["likes", 19]]
37907
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37908
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
37909
+  (0.1ms) SAVEPOINT active_record_1
37910
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-04-08 00:00:00"], ["updated_at", "2020-10-05 06:04:28.727121"], ["author_id", 837], ["status", 2], ["likes", 8]]
37911
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37912
+  (0.6ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00')
37913
+ Post Exists? (0.4ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
37914
+ Post Exists? (0.5ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.created_at >= '2018-12-01 00:00:00' AND posts.created_at < '2019-01-01 00:00:00')) AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
37915
+ Post Load (0.9ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
37916
+ SELECT CAST('2018-12-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS max, CAST('2018-12-01 00:00:00 UTC,2019-01-01 00:00:00 UTC' AS text) AS bin_text
37917
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
37918
+ CASE
37919
+ 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)
37920
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
37921
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
37922
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
37923
+ END
37924
+ ) WHERE ((posts.created_at >= '2018-12-01 00:00:00' AND posts.created_at < '2019-01-01 00:00:00')) GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST LIMIT $1 [["LIMIT", 1]]
37925
+ Post Load (1.3ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
37926
+ SELECT CAST('2018-12-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS max, CAST('2018-12-01 00:00:00 UTC,2019-01-01 00:00:00 UTC' AS text) AS bin_text
37927
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
37928
+ CASE
37929
+ 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)
37930
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
37931
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
37932
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
37933
+ END
37934
+ ) WHERE ((posts.created_at >= '2018-12-01 00:00:00' AND posts.created_at < '2019-01-01 00:00:00')) GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
37935
+ 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 (
37936
+ SELECT CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-01-01 00:00:00 UTC,2019-02-01 00:00:00 UTC' AS text) AS bin_text UNION
37937
+ SELECT CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-02-01 00:00:00 UTC,2019-03-01 00:00:00 UTC' AS text) AS bin_text UNION
37938
+ SELECT CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-03-01 00:00:00 UTC,2019-04-01 00:00:00 UTC' AS text) AS bin_text UNION
37939
+ SELECT CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-04-01 00:00:00 UTC,2019-05-01 00:00:00 UTC' AS text) AS bin_text
37940
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
37941
+ CASE
37942
+ 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)
37943
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
37944
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
37945
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
37946
+ END
37947
+ ) WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
37948
+  (0.4ms) ROLLBACK
37949
+  (0.2ms) BEGIN
37950
+  (0.2ms) ROLLBACK
37951
+  (0.2ms) BEGIN
37952
+  (0.2ms) ROLLBACK
37953
+  (0.2ms) BEGIN
37954
+  (0.2ms) ROLLBACK
37955
+  (0.2ms) BEGIN
37956
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
37957
+  (0.2ms) SAVEPOINT active_record_1
37958
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.762876"], ["updated_at", "2020-10-05 06:04:28.762876"], ["name", "Phil"]]
37959
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37960
+  (0.2ms) SAVEPOINT active_record_1
37961
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.764888"], ["author_id", 838], ["status", 2]]
37962
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37963
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
37964
+  (0.2ms) SAVEPOINT active_record_1
37965
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.767986"], ["author_id", 838], ["status", 2]]
37966
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37967
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phyllis"], ["LIMIT", 1]]
37968
+  (0.2ms) SAVEPOINT active_record_1
37969
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.771154"], ["updated_at", "2020-10-05 06:04:28.771154"], ["name", "Phyllis"]]
37970
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37971
+  (0.2ms) SAVEPOINT active_record_1
37972
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.772829"], ["author_id", 839], ["status", 2]]
37973
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37974
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phyllis"], ["LIMIT", 1]]
37975
+  (0.1ms) SAVEPOINT active_record_1
37976
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.775598"], ["author_id", 839], ["status", 2]]
37977
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37978
+ Post Load (0.3ms) SELECT "posts".* FROM "posts"
37979
+  (0.3ms) ROLLBACK
37980
+  (0.2ms) BEGIN
37981
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
37982
+  (0.2ms) SAVEPOINT active_record_1
37983
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.782223"], ["updated_at", "2020-10-05 06:04:28.782223"], ["name", "Phil"]]
37984
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37985
+  (0.3ms) SAVEPOINT active_record_1
37986
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.784669"], ["author_id", 840], ["status", 2]]
37987
+  (0.3ms) RELEASE SAVEPOINT active_record_1
37988
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
37989
+  (0.3ms) SAVEPOINT active_record_1
37990
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.789142"], ["author_id", 840], ["status", 2]]
37991
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37992
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phyllis"], ["LIMIT", 1]]
37993
+  (0.2ms) SAVEPOINT active_record_1
37994
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.793274"], ["updated_at", "2020-10-05 06:04:28.793274"], ["name", "Phyllis"]]
37995
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37996
+  (0.2ms) SAVEPOINT active_record_1
37997
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.795811"], ["author_id", 841], ["status", 2]]
37998
+  (0.3ms) RELEASE SAVEPOINT active_record_1
37999
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phyllis"], ["LIMIT", 1]]
38000
+  (0.2ms) SAVEPOINT active_record_1
38001
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.799379"], ["author_id", 841], ["status", 2]]
38002
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38003
+ Post Load (0.5ms) SELECT "posts".* FROM "posts"
38004
+  (0.2ms) ROLLBACK
38005
+  (0.2ms) BEGIN
38006
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
38007
+  (0.2ms) SAVEPOINT active_record_1
38008
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.806741"], ["updated_at", "2020-10-05 06:04:28.806741"], ["name", "Phil"]]
38009
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38010
+  (0.2ms) SAVEPOINT active_record_1
38011
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.808740"], ["author_id", 842], ["status", 2]]
38012
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38013
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
38014
+  (0.2ms) SAVEPOINT active_record_1
38015
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.812193"], ["author_id", 842], ["status", 2]]
38016
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38017
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (authors.name IN ('Phil'))
38018
+  (0.2ms) ROLLBACK
38019
+  (0.2ms) BEGIN
38020
+ Post Exists? (0.6ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (authors.name IN ('')) LIMIT $1 [["LIMIT", 1]]
38021
+  (0.2ms) ROLLBACK
38022
+  (0.2ms) BEGIN
38023
+ Post Exists? (0.6ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (authors.name IS NULL OR authors.name IN (NULL)) LIMIT $1 [["LIMIT", 1]]
38024
+  (0.2ms) ROLLBACK
38025
+  (0.2ms) BEGIN
38026
+  (0.3ms) ROLLBACK
38027
+  (0.2ms) BEGIN
38028
+  (0.2ms) ROLLBACK
38029
+  (0.2ms) BEGIN
38030
+  (0.2ms) ROLLBACK
38031
+  (0.2ms) BEGIN
38032
+  (0.2ms) ROLLBACK
38033
+  (0.2ms) BEGIN
38034
+  (0.2ms) ROLLBACK
38035
+  (0.2ms) BEGIN
38036
+  (0.3ms) ROLLBACK
38037
+  (0.2ms) BEGIN
38038
+  (0.2ms) ROLLBACK
38039
+  (0.1ms) BEGIN
38040
+  (0.1ms) ROLLBACK
38041
+  (0.2ms) BEGIN
38042
+  (0.2ms) ROLLBACK
38043
+  (0.2ms) BEGIN
38044
+  (0.1ms) ROLLBACK
38045
+  (0.1ms) BEGIN
38046
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
38047
+  (0.2ms) SAVEPOINT active_record_1
38048
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.851569"], ["updated_at", "2020-10-05 06:04:28.851569"], ["name", "Timmy"]]
38049
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38050
+  (0.2ms) SAVEPOINT active_record_1
38051
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.853523"], ["author_id", 843], ["status", 2], ["likes", 1]]
38052
+  (0.3ms) RELEASE SAVEPOINT active_record_1
38053
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
38054
+  (0.2ms) SAVEPOINT active_record_1
38055
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-05 06:04:28.857217"], ["author_id", 843], ["status", 2], ["likes", 2]]
38056
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38057
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
38058
+  (0.2ms) SAVEPOINT active_record_1
38059
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.860520"], ["updated_at", "2020-10-05 06:04:28.860520"], ["name", "Tammy"]]
38060
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38061
+  (0.2ms) SAVEPOINT active_record_1
38062
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-05 06:04:28.862544"], ["author_id", 844], ["status", 2], ["likes", 3]]
38063
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38064
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
38065
+  (0.2ms) SAVEPOINT active_record_1
38066
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.866049"], ["author_id", 844], ["status", 2], ["likes", 4]]
38067
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38068
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
38069
+  (0.2ms) SAVEPOINT active_record_1
38070
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-15 00:00:00"], ["updated_at", "2020-10-05 06:04:28.870783"], ["author_id", 844], ["status", 2], ["likes", 2]]
38071
+  (0.3ms) RELEASE SAVEPOINT active_record_1
38072
+ 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
38073
+  (0.3ms) ROLLBACK
38074
+  (0.2ms) BEGIN
38075
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
38076
+  (0.2ms) SAVEPOINT active_record_1
38077
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.879546"], ["updated_at", "2020-10-05 06:04:28.879546"], ["name", "Timmy"]]
38078
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38079
+  (0.2ms) SAVEPOINT active_record_1
38080
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.881548"], ["author_id", 845], ["status", 2], ["likes", 1]]
38081
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38082
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
38083
+  (0.2ms) SAVEPOINT active_record_1
38084
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-05 06:04:28.885354"], ["author_id", 845], ["status", 2], ["likes", 2]]
38085
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38086
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
38087
+  (0.2ms) SAVEPOINT active_record_1
38088
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-05 06:04:28.888872"], ["updated_at", "2020-10-05 06:04:28.888872"], ["name", "Tammy"]]
38089
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38090
+  (0.2ms) SAVEPOINT active_record_1
38091
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-05 06:04:28.891095"], ["author_id", 846], ["status", 2], ["likes", 3]]
38092
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38093
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
38094
+  (0.2ms) SAVEPOINT active_record_1
38095
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.894347"], ["author_id", 846], ["status", 2], ["likes", 4]]
38096
+  (0.3ms) RELEASE SAVEPOINT active_record_1
38097
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
38098
+  (0.2ms) SAVEPOINT active_record_1
38099
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-15 00:00:00"], ["updated_at", "2020-10-05 06:04:28.897817"], ["author_id", 846], ["status", 2], ["likes", 2]]
38100
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38101
+ Post Load (0.7ms) SELECT 'totals' AS _active_reporter_dimension_totals, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (authors.name IN ('Tammy')) GROUP BY _active_reporter_dimension_totals ORDER BY _active_reporter_dimension_totals ASC NULLS FIRST
38102
+ Post Load (0.5ms) SELECT 'totals' AS _active_reporter_dimension_totals, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" GROUP BY _active_reporter_dimension_totals ORDER BY _active_reporter_dimension_totals ASC NULLS FIRST
38103
+  (0.2ms) ROLLBACK
38104
+  (0.2ms) BEGIN
38105
+  (0.2ms) SAVEPOINT active_record_1
38106
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.907284"], ["title", "A"], ["status", 2], ["likes", 2]]
38107
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38108
+  (0.2ms) SAVEPOINT active_record_1
38109
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.910026"], ["title", "A"], ["status", 2], ["likes", 2]]
38110
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38111
+  (0.2ms) SAVEPOINT active_record_1
38112
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.912458"], ["title", "B"], ["status", 2], ["likes", 1]]
38113
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38114
+  (0.3ms) SAVEPOINT active_record_1
38115
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-05 06:04:28.914928"], ["title", "A"], ["status", 2], ["likes", 1]]
38116
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38117
+  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"
38118
+  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"
38119
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
38120
+ Post Load (1.0ms) SELECT posts.title AS _active_reporter_dimension_title, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count, SUM(posts.likes) AS _report_aggregator_likes_count FROM "posts" INNER JOIN (
38121
+ 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
38122
+ 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
38123
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
38124
+ CASE
38125
+ 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)
38126
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
38127
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
38128
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
38129
+ END
38130
+ ) GROUP BY _active_reporter_dimension_title, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
38131
+  (0.3ms) ROLLBACK
38132
+  (0.1ms) BEGIN
38133
+  (0.2ms) SAVEPOINT active_record_1
38134
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.928146"], ["title", "A"], ["status", 2], ["likes", 2]]
38135
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38136
+  (0.2ms) SAVEPOINT active_record_1
38137
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.930249"], ["title", "A"], ["status", 2], ["likes", 2]]
38138
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38139
+  (0.1ms) SAVEPOINT active_record_1
38140
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.932380"], ["title", "B"], ["status", 2], ["likes", 1]]
38141
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38142
+  (0.1ms) SAVEPOINT active_record_1
38143
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-05 06:04:28.934295"], ["title", "A"], ["status", 2], ["likes", 1]]
38144
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38145
+ Post Load (0.6ms) 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
38146
+  (0.2ms) ROLLBACK
38147
+  (0.1ms) BEGIN
38148
+  (0.1ms) SAVEPOINT active_record_1
38149
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.943232"], ["title", "A"], ["status", 2], ["likes", 2]]
38150
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38151
+  (0.1ms) SAVEPOINT active_record_1
38152
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.945098"], ["title", "A"], ["status", 2], ["likes", 2]]
38153
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38154
+  (0.1ms) SAVEPOINT active_record_1
38155
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.946825"], ["title", "B"], ["status", 2], ["likes", 1]]
38156
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38157
+  (0.2ms) SAVEPOINT active_record_1
38158
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-05 06:04:28.948560"], ["title", "A"], ["status", 2], ["likes", 1]]
38159
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38160
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
38161
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
38162
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
38163
+ Post Load (0.8ms) SELECT posts.title AS _active_reporter_dimension_title, _active_reporter_dimension_likes_bin_table.bin_text AS _active_reporter_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
38164
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
38165
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
38166
+ ) AS _active_reporter_dimension_likes_bin_table ON (
38167
+ CASE
38168
+ 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)
38169
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
38170
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
38171
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
38172
+ END
38173
+ ) GROUP BY _active_reporter_dimension_title, _active_reporter_dimension_likes ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
38174
+  (0.2ms) ROLLBACK
38175
+  (0.2ms) BEGIN
38176
+  (0.2ms) SAVEPOINT active_record_1
38177
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.957872"], ["title", "A"], ["status", 2], ["likes", 2]]
38178
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38179
+  (0.1ms) SAVEPOINT active_record_1
38180
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.960012"], ["title", "A"], ["status", 2], ["likes", 2]]
38181
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38182
+  (0.2ms) SAVEPOINT active_record_1
38183
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:28.961904"], ["title", "B"], ["status", 2], ["likes", 1]]
38184
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38185
+  (0.1ms) SAVEPOINT active_record_1
38186
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-05 06:04:28.963851"], ["title", "A"], ["status", 2], ["likes", 1]]
38187
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38188
+  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"
38189
+  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"
38190
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
38191
+  (0.3ms) SELECT MIN(posts.likes) FROM "posts"
38192
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
38193
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
38194
+ Post Load (1.2ms) SELECT posts.title AS _active_reporter_dimension_title, _active_reporter_dimension_likes_bin_table.bin_text AS _active_reporter_dimension_likes, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
38195
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
38196
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
38197
+ ) AS _active_reporter_dimension_likes_bin_table ON (
38198
+ CASE
38199
+ 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)
38200
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
38201
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
38202
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
38203
+ END
38204
+ ) INNER JOIN (
38205
+ 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
38206
+ 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
38207
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
38208
+ CASE
38209
+ 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)
38210
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
38211
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
38212
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
38213
+ END
38214
+ ) GROUP BY _active_reporter_dimension_title, _active_reporter_dimension_likes, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
38215
+  (0.3ms) ROLLBACK
38216
+  (0.1ms) BEGIN
38217
+  (0.1ms) SAVEPOINT active_record_1
38218
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:29.034747"], ["title", "A"], ["status", 2], ["likes", 2]]
38219
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38220
+  (0.1ms) SAVEPOINT active_record_1
38221
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:29.036542"], ["title", "A"], ["status", 2], ["likes", 2]]
38222
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38223
+  (0.2ms) SAVEPOINT active_record_1
38224
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:29.038509"], ["title", "B"], ["status", 2], ["likes", 1]]
38225
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38226
+  (0.2ms) SAVEPOINT active_record_1
38227
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-05 06:04:29.040547"], ["title", "A"], ["status", 2], ["likes", 1]]
38228
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38229
+  (0.1ms) ROLLBACK
38230
+  (0.2ms) BEGIN
38231
+  (0.2ms) SAVEPOINT active_record_1
38232
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:29.044214"], ["title", "A"], ["status", 2], ["likes", 2]]
38233
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38234
+  (0.2ms) SAVEPOINT active_record_1
38235
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:29.046201"], ["title", "A"], ["status", 2], ["likes", 2]]
38236
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38237
+  (0.1ms) SAVEPOINT active_record_1
38238
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:29.048192"], ["title", "B"], ["status", 2], ["likes", 1]]
38239
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38240
+  (0.1ms) SAVEPOINT active_record_1
38241
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-05 06:04:29.049930"], ["title", "A"], ["status", 2], ["likes", 1]]
38242
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38243
+  (0.3ms) SELECT COUNT(*) FROM "posts"
38244
+  (0.3ms) SELECT COUNT(*) FROM "posts"
38245
+  (0.2ms) ROLLBACK
38246
+  (0.1ms) BEGIN
38247
+  (0.2ms) SAVEPOINT active_record_1
38248
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:29.054912"], ["title", "A"], ["status", 2], ["likes", 2]]
38249
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38250
+  (0.2ms) SAVEPOINT active_record_1
38251
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:29.057002"], ["title", "A"], ["status", 2], ["likes", 2]]
38252
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38253
+  (0.1ms) SAVEPOINT active_record_1
38254
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-05 06:04:29.058901"], ["title", "B"], ["status", 2], ["likes", 1]]
38255
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38256
+  (0.2ms) SAVEPOINT active_record_1
38257
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-05 06:04:29.060795"], ["title", "A"], ["status", 2], ["likes", 1]]
38258
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38259
+  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"
38260
+  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"
38261
+ Post Exists? (0.4ms) SELECT 1 AS one FROM "posts" WHERE (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
38262
+  (0.3ms) SELECT MIN(posts.likes) FROM "posts"
38263
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
38264
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
38265
+ Post Load (1.3ms) 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 (
38266
+ 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
38267
+ 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
38268
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
38269
+ CASE
38270
+ 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)
38271
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
38272
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
38273
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
38274
+ END
38275
+ ) INNER JOIN (
38276
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
38277
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
38278
+ ) AS _active_reporter_dimension_likes_bin_table ON (
38279
+ CASE
38280
+ 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)
38281
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
38282
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
38283
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
38284
+ END
38285
+ ) GROUP BY _active_reporter_dimension_created_at, _active_reporter_dimension_likes, _active_reporter_dimension_title ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
38286
+  (0.3ms) ROLLBACK
38287
+  (12.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
38288
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
38289
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
38290
+  (0.3ms) BEGIN
38291
+  (0.3ms) SAVEPOINT active_record_1
38292
+ Author Create (3.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:06.625423"], ["updated_at", "2020-10-06 03:58:06.625423"], ["name", "James Joyce"]]
38293
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38294
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
38295
+  (0.2ms) SAVEPOINT active_record_1
38296
+ Post Create (0.6ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 03:58:06.654377"], ["updated_at", "2020-10-06 03:58:06.654377"], ["author_id", 847], ["status", 2], ["likes", 1], ["published_at", "2015-10-01 00:00:00"]]
38297
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38298
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
38299
+  (0.2ms) SAVEPOINT active_record_1
38300
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 03:58:06.658865"], ["updated_at", "2020-10-06 03:58:06.658865"], ["author_id", 847], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
38301
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38302
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
38303
+  (0.2ms) SAVEPOINT active_record_1
38304
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 03:58:06.662542"], ["updated_at", "2020-10-06 03:58:06.662542"], ["author_id", 847], ["status", 2], ["likes", 1], ["published_at", "2015-11-01 00:00:00"]]
38305
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38306
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
38307
+  (0.2ms) SAVEPOINT active_record_1
38308
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:06.667268"], ["updated_at", "2020-10-06 03:58:06.667268"], ["author_id", 847], ["status", 2], ["likes", 3]]
38309
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38310
+  (0.3ms) SAVEPOINT active_record_1
38311
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:06.671661"], ["updated_at", "2020-10-06 03:58:06.671661"], ["name", "Virginia Woolf"]]
38312
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38313
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
38314
+  (0.3ms) SAVEPOINT active_record_1
38315
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 03:58:06.679358"], ["updated_at", "2020-10-06 03:58:06.679358"], ["author_id", 848], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
38316
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38317
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
38318
+  (0.2ms) SAVEPOINT active_record_1
38319
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 03:58:06.685221"], ["updated_at", "2020-10-06 03:58:06.685221"], ["author_id", 848], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
38320
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38321
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
38322
+  (0.2ms) SAVEPOINT active_record_1
38323
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:06.689727"], ["updated_at", "2020-10-06 03:58:06.689727"], ["author_id", 848], ["status", 2], ["likes", 3]]
38324
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38325
+  (0.1ms) SAVEPOINT active_record_1
38326
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:06.694095"], ["updated_at", "2020-10-06 03:58:06.694095"], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
38327
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38328
+  (0.2ms) SAVEPOINT active_record_1
38329
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:06.697379"], ["updated_at", "2020-10-06 03:58:06.697379"], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
38330
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38331
+ Post Load (2.1ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
38332
+  (0.7ms) SELECT MIN(posts.published_at) FROM "posts"
38333
+  (0.4ms) SELECT MAX(posts.published_at) FROM "posts"
38334
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
38335
+ Post Load (2.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 (
38336
+ 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
38337
+ 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
38338
+ 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
38339
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
38340
+ CASE
38341
+ 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)
38342
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
38343
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
38344
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
38345
+ END
38346
+ ) GROUP BY _active_reporter_dimension_published_at
38347
+  (0.6ms) SELECT MIN(posts.likes) FROM "posts"
38348
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
38349
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
38350
+ Post Load (1.8ms) 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 (
38351
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
38352
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text UNION
38353
+ SELECT 3.0 AS min, 4.0 AS max, CAST('3.0,4.0' AS text) AS bin_text
38354
+ ) AS _active_reporter_dimension_likes_bin_table ON (
38355
+ CASE
38356
+ 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)
38357
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
38358
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
38359
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
38360
+ END
38361
+ ) GROUP BY _active_reporter_dimension_likes
38362
+  (1.4ms) ROLLBACK
38363
+  (0.2ms) BEGIN
38364
+  (0.3ms) SAVEPOINT active_record_1
38365
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:06.775840"], ["updated_at", "2020-10-06 03:58:06.775840"], ["name", "James Joyce"]]
38366
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38367
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
38368
+  (0.2ms) SAVEPOINT active_record_1
38369
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 03:58:06.794157"], ["updated_at", "2020-10-06 03:58:06.794157"], ["author_id", 849], ["status", 2], ["likes", 1], ["published_at", "2015-10-01 00:00:00"]]
38370
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38371
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
38372
+  (0.1ms) SAVEPOINT active_record_1
38373
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 03:58:06.796918"], ["updated_at", "2020-10-06 03:58:06.796918"], ["author_id", 849], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
38374
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38375
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
38376
+  (0.2ms) SAVEPOINT active_record_1
38377
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 03:58:06.799628"], ["updated_at", "2020-10-06 03:58:06.799628"], ["author_id", 849], ["status", 2], ["likes", 1], ["published_at", "2015-11-01 00:00:00"]]
38378
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38379
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
38380
+  (0.2ms) SAVEPOINT active_record_1
38381
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:06.802821"], ["updated_at", "2020-10-06 03:58:06.802821"], ["author_id", 849], ["status", 2], ["likes", 3]]
38382
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38383
+  (0.2ms) SAVEPOINT active_record_1
38384
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:06.805520"], ["updated_at", "2020-10-06 03:58:06.805520"], ["name", "Virginia Woolf"]]
38385
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38386
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
38387
+  (0.3ms) SAVEPOINT active_record_1
38388
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 03:58:06.808699"], ["updated_at", "2020-10-06 03:58:06.808699"], ["author_id", 850], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
38389
+  (0.3ms) RELEASE SAVEPOINT active_record_1
38390
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
38391
+  (0.2ms) SAVEPOINT active_record_1
38392
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 03:58:06.813055"], ["updated_at", "2020-10-06 03:58:06.813055"], ["author_id", 850], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
38393
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38394
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
38395
+  (0.2ms) SAVEPOINT active_record_1
38396
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:06.816125"], ["updated_at", "2020-10-06 03:58:06.816125"], ["author_id", 850], ["status", 2], ["likes", 3]]
38397
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38398
+  (0.2ms) SAVEPOINT active_record_1
38399
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:06.819390"], ["updated_at", "2020-10-06 03:58:06.819390"], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
38400
+  (0.3ms) RELEASE SAVEPOINT active_record_1
38401
+  (0.2ms) SAVEPOINT active_record_1
38402
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:06.822609"], ["updated_at", "2020-10-06 03:58:06.822609"], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
38403
+  (0.3ms) RELEASE SAVEPOINT active_record_1
38404
+  (0.7ms) SELECT MIN(posts.published_at) FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id"
38405
+  (0.6ms) SELECT MAX(posts.published_at) FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id"
38406
+ Post Exists? (0.4ms) SELECT 1 AS one FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
38407
+ 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 (
38408
+ 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
38409
+ 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
38410
+ 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
38411
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
38412
+ CASE
38413
+ 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)
38414
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
38415
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
38416
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
38417
+ END
38418
+ ) GROUP BY _active_reporter_dimension_published_at, _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
38419
+  (0.5ms) ROLLBACK
38420
+  (0.2ms) BEGIN
38421
+  (0.3ms) SAVEPOINT active_record_1
38422
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:06.849450"], ["updated_at", "2020-10-06 03:58:06.849450"], ["name", "James Joyce"]]
38423
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38424
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
38425
+  (0.3ms) SAVEPOINT active_record_1
38426
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 03:58:06.853776"], ["updated_at", "2020-10-06 03:58:06.853776"], ["author_id", 851], ["status", 2], ["likes", 1], ["published_at", "2015-10-01 00:00:00"]]
38427
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38428
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
38429
+  (0.1ms) SAVEPOINT active_record_1
38430
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 03:58:06.857080"], ["updated_at", "2020-10-06 03:58:06.857080"], ["author_id", 851], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
38431
+  (0.3ms) RELEASE SAVEPOINT active_record_1
38432
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
38433
+  (0.1ms) SAVEPOINT active_record_1
38434
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 03:58:06.860363"], ["updated_at", "2020-10-06 03:58:06.860363"], ["author_id", 851], ["status", 2], ["likes", 1], ["published_at", "2015-11-01 00:00:00"]]
38435
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38436
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
38437
+  (0.2ms) SAVEPOINT active_record_1
38438
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:06.863211"], ["updated_at", "2020-10-06 03:58:06.863211"], ["author_id", 851], ["status", 2], ["likes", 3]]
38439
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38440
+  (0.2ms) SAVEPOINT active_record_1
38441
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:06.865783"], ["updated_at", "2020-10-06 03:58:06.865783"], ["name", "Virginia Woolf"]]
38442
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38443
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
38444
+  (0.3ms) SAVEPOINT active_record_1
38445
+ Post Create (0.6ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 03:58:06.869320"], ["updated_at", "2020-10-06 03:58:06.869320"], ["author_id", 852], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
38446
+  (0.3ms) RELEASE SAVEPOINT active_record_1
38447
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
38448
+  (0.3ms) SAVEPOINT active_record_1
38449
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-10-06 03:58:06.874768"], ["updated_at", "2020-10-06 03:58:06.874768"], ["author_id", 852], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
38450
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38451
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
38452
+  (0.2ms) SAVEPOINT active_record_1
38453
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:06.878746"], ["updated_at", "2020-10-06 03:58:06.878746"], ["author_id", 852], ["status", 2], ["likes", 3]]
38454
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38455
+  (0.3ms) SAVEPOINT active_record_1
38456
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:06.881411"], ["updated_at", "2020-10-06 03:58:06.881411"], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
38457
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38458
+  (0.2ms) SAVEPOINT active_record_1
38459
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:06.884083"], ["updated_at", "2020-10-06 03:58:06.884083"], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
38460
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38461
+ Post Load (1.0ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author DESC NULLS LAST
38462
+  (0.7ms) SELECT MIN(posts.published_at) FROM "posts"
38463
+  (0.6ms) SELECT MAX(posts.published_at) FROM "posts"
38464
+ Post Exists? (0.5ms) SELECT 1 AS one FROM "posts" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
38465
+ Post Load (1.3ms) SELECT _active_reporter_dimension_published_at_bin_table.bin_text AS _active_reporter_dimension_published_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN (
38466
+ 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
38467
+ 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
38468
+ 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
38469
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
38470
+ CASE
38471
+ 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)
38472
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
38473
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
38474
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
38475
+ END
38476
+ ) GROUP BY _active_reporter_dimension_published_at
38477
+ Post Load (0.9ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS LAST
38478
+ 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 FIRST
38479
+  (0.4ms) SELECT MIN(posts.published_at) FROM "posts"
38480
+  (0.4ms) SELECT MAX(posts.published_at) FROM "posts"
38481
+ Post Exists? (0.4ms) SELECT 1 AS one FROM "posts" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
38482
+ Post Load (1.2ms) SELECT _active_reporter_dimension_published_at_bin_table.bin_text AS _active_reporter_dimension_published_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN (
38483
+ 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
38484
+ 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
38485
+ 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
38486
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
38487
+ CASE
38488
+ 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)
38489
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
38490
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
38491
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
38492
+ END
38493
+ ) GROUP BY _active_reporter_dimension_published_at
38494
+  (0.5ms) SELECT MIN(posts.published_at) FROM "posts"
38495
+  (0.5ms) SELECT MAX(posts.published_at) FROM "posts"
38496
+ Post Exists? (0.4ms) SELECT 1 AS one FROM "posts" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
38497
+ 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 (
38498
+ 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
38499
+ 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
38500
+ 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
38501
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
38502
+ CASE
38503
+ 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)
38504
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
38505
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
38506
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
38507
+ END
38508
+ ) GROUP BY _active_reporter_dimension_published_at
38509
+  (0.5ms) ROLLBACK
38510
+  (0.2ms) BEGIN
38511
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
38512
+  (0.3ms) SAVEPOINT active_record_1
38513
+ Author Create (0.6ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:06.944464"], ["updated_at", "2020-10-06 03:58:06.944464"], ["name", "Alice"]]
38514
+  (0.3ms) RELEASE SAVEPOINT active_record_1
38515
+  (0.3ms) SAVEPOINT active_record_1
38516
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:06.947675"], ["updated_at", "2020-10-06 03:58:06.947675"], ["author_id", 853], ["status", 2], ["likes", 3]]
38517
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38518
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
38519
+  (0.2ms) SAVEPOINT active_record_1
38520
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:06.951885"], ["updated_at", "2020-10-06 03:58:06.951885"], ["author_id", 853], ["status", 2], ["likes", 2]]
38521
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38522
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
38523
+  (0.2ms) SAVEPOINT active_record_1
38524
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:06.955634"], ["updated_at", "2020-10-06 03:58:06.955634"], ["name", "Bob"]]
38525
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38526
+  (0.1ms) SAVEPOINT active_record_1
38527
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:06.957407"], ["updated_at", "2020-10-06 03:58:06.957407"], ["author_id", 854], ["status", 2], ["likes", 4]]
38528
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38529
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
38530
+  (0.2ms) SAVEPOINT active_record_1
38531
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:06.959996"], ["updated_at", "2020-10-06 03:58:06.959996"], ["author_id", 854], ["status", 2], ["likes", 1]]
38532
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38533
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
38534
+  (0.2ms) SAVEPOINT active_record_1
38535
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:06.962951"], ["updated_at", "2020-10-06 03:58:06.962951"], ["author_id", 854], ["status", 2], ["likes", 5]]
38536
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38537
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
38538
+  (0.2ms) SAVEPOINT active_record_1
38539
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:06.965825"], ["updated_at", "2020-10-06 03:58:06.965825"], ["name", "Chester"]]
38540
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38541
+  (0.2ms) SAVEPOINT active_record_1
38542
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:06.967536"], ["updated_at", "2020-10-06 03:58:06.967536"], ["author_id", 855], ["status", 2], ["likes", 10]]
38543
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38544
+ Post Load (1.7ms) 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
38545
+  (0.3ms) ROLLBACK
38546
+  (0.2ms) BEGIN
38547
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
38548
+  (0.3ms) SAVEPOINT active_record_1
38549
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:06.979512"], ["updated_at", "2020-10-06 03:58:06.979512"], ["name", "Alice"]]
38550
+  (0.3ms) RELEASE SAVEPOINT active_record_1
38551
+  (0.2ms) SAVEPOINT active_record_1
38552
+ Post Create (0.8ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:06.982544"], ["updated_at", "2020-10-06 03:58:06.982544"], ["author_id", 856], ["status", 2], ["likes", 3]]
38553
+  (0.3ms) RELEASE SAVEPOINT active_record_1
38554
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
38555
+  (0.3ms) SAVEPOINT active_record_1
38556
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:06.987929"], ["updated_at", "2020-10-06 03:58:06.987929"], ["author_id", 856], ["status", 2], ["likes", 2]]
38557
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38558
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
38559
+  (0.3ms) SAVEPOINT active_record_1
38560
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:06.993354"], ["updated_at", "2020-10-06 03:58:06.993354"], ["name", "Bob"]]
38561
+  (0.4ms) RELEASE SAVEPOINT active_record_1
38562
+  (0.3ms) SAVEPOINT active_record_1
38563
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:06.996458"], ["updated_at", "2020-10-06 03:58:06.996458"], ["author_id", 857], ["status", 2], ["likes", 4]]
38564
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38565
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
38566
+  (0.2ms) SAVEPOINT active_record_1
38567
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.001000"], ["updated_at", "2020-10-06 03:58:07.001000"], ["author_id", 857], ["status", 2], ["likes", 1]]
38568
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38569
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
38570
+  (0.2ms) SAVEPOINT active_record_1
38571
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.004236"], ["updated_at", "2020-10-06 03:58:07.004236"], ["author_id", 857], ["status", 2], ["likes", 5]]
38572
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38573
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
38574
+  (0.1ms) SAVEPOINT active_record_1
38575
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.007100"], ["updated_at", "2020-10-06 03:58:07.007100"], ["name", "Chester"]]
38576
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38577
+  (0.2ms) SAVEPOINT active_record_1
38578
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.008806"], ["updated_at", "2020-10-06 03:58:07.008806"], ["author_id", 858], ["status", 2], ["likes", 10]]
38579
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38580
+ Post Load (0.5ms) 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
38581
+  (0.2ms) ROLLBACK
38582
+  (0.1ms) BEGIN
38583
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
38584
+  (0.2ms) SAVEPOINT active_record_1
38585
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.015113"], ["updated_at", "2020-10-06 03:58:07.015113"], ["name", "Alice"]]
38586
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38587
+  (0.2ms) SAVEPOINT active_record_1
38588
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.016624"], ["updated_at", "2020-10-06 03:58:07.016624"], ["author_id", 859], ["status", 2], ["likes", 3]]
38589
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38590
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
38591
+  (0.3ms) SAVEPOINT active_record_1
38592
+ Post Create (0.9ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.020171"], ["updated_at", "2020-10-06 03:58:07.020171"], ["author_id", 859], ["status", 2], ["likes", 2]]
38593
+  (1.1ms) RELEASE SAVEPOINT active_record_1
38594
+ Author Load (0.5ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
38595
+  (0.3ms) SAVEPOINT active_record_1
38596
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.026253"], ["updated_at", "2020-10-06 03:58:07.026253"], ["name", "Bob"]]
38597
+  (0.3ms) RELEASE SAVEPOINT active_record_1
38598
+  (0.2ms) SAVEPOINT active_record_1
38599
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.029082"], ["updated_at", "2020-10-06 03:58:07.029082"], ["author_id", 860], ["status", 2], ["likes", 4]]
38600
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38601
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
38602
+  (0.3ms) SAVEPOINT active_record_1
38603
+ Post Create (0.6ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.033840"], ["updated_at", "2020-10-06 03:58:07.033840"], ["author_id", 860], ["status", 2], ["likes", 1]]
38604
+  (0.3ms) RELEASE SAVEPOINT active_record_1
38605
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
38606
+  (0.3ms) SAVEPOINT active_record_1
38607
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.039397"], ["updated_at", "2020-10-06 03:58:07.039397"], ["author_id", 860], ["status", 2], ["likes", 5]]
38608
+  (0.3ms) RELEASE SAVEPOINT active_record_1
38609
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
38610
+  (0.3ms) SAVEPOINT active_record_1
38611
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.044698"], ["updated_at", "2020-10-06 03:58:07.044698"], ["name", "Chester"]]
38612
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38613
+  (0.3ms) SAVEPOINT active_record_1
38614
+ Post Create (0.6ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.047740"], ["updated_at", "2020-10-06 03:58:07.047740"], ["author_id", 861], ["status", 2], ["likes", 10]]
38615
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38616
+ Post Load (1.0ms) 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
38617
+  (0.4ms) ROLLBACK
38618
+  (0.2ms) BEGIN
38619
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
38620
+  (0.2ms) SAVEPOINT active_record_1
38621
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.057279"], ["updated_at", "2020-10-06 03:58:07.057279"], ["name", "Alice"]]
38622
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38623
+  (0.1ms) SAVEPOINT active_record_1
38624
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.059007"], ["updated_at", "2020-10-06 03:58:07.059007"], ["author_id", 862], ["status", 2], ["likes", 3]]
38625
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38626
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
38627
+  (0.2ms) SAVEPOINT active_record_1
38628
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.062052"], ["updated_at", "2020-10-06 03:58:07.062052"], ["author_id", 862], ["status", 2], ["likes", 2]]
38629
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38630
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
38631
+  (0.2ms) SAVEPOINT active_record_1
38632
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.064994"], ["updated_at", "2020-10-06 03:58:07.064994"], ["name", "Bob"]]
38633
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38634
+  (0.2ms) SAVEPOINT active_record_1
38635
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.066893"], ["updated_at", "2020-10-06 03:58:07.066893"], ["author_id", 863], ["status", 2], ["likes", 4]]
38636
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38637
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
38638
+  (0.3ms) SAVEPOINT active_record_1
38639
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.071290"], ["updated_at", "2020-10-06 03:58:07.071290"], ["author_id", 863], ["status", 2], ["likes", 1]]
38640
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38641
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
38642
+  (0.3ms) SAVEPOINT active_record_1
38643
+ Post Create (0.6ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.076482"], ["updated_at", "2020-10-06 03:58:07.076482"], ["author_id", 863], ["status", 2], ["likes", 5]]
38644
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38645
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
38646
+  (0.3ms) SAVEPOINT active_record_1
38647
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.081334"], ["updated_at", "2020-10-06 03:58:07.081334"], ["name", "Chester"]]
38648
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38649
+  (0.3ms) SAVEPOINT active_record_1
38650
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.084135"], ["updated_at", "2020-10-06 03:58:07.084135"], ["author_id", 864], ["status", 2], ["likes", 10]]
38651
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38652
+ Post Load (1.0ms) 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
38653
+  (0.3ms) ROLLBACK
38654
+  (0.2ms) BEGIN
38655
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
38656
+  (0.2ms) SAVEPOINT active_record_1
38657
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.095164"], ["updated_at", "2020-10-06 03:58:07.095164"], ["name", "Alice"]]
38658
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38659
+  (0.2ms) SAVEPOINT active_record_1
38660
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.097836"], ["updated_at", "2020-10-06 03:58:07.097836"], ["author_id", 865], ["status", 2], ["likes", 3]]
38661
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38662
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
38663
+  (0.2ms) SAVEPOINT active_record_1
38664
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.102078"], ["updated_at", "2020-10-06 03:58:07.102078"], ["author_id", 865], ["status", 2], ["likes", 2]]
38665
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38666
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
38667
+  (0.2ms) SAVEPOINT active_record_1
38668
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.105292"], ["updated_at", "2020-10-06 03:58:07.105292"], ["name", "Bob"]]
38669
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38670
+  (0.2ms) SAVEPOINT active_record_1
38671
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.107198"], ["updated_at", "2020-10-06 03:58:07.107198"], ["author_id", 866], ["status", 2], ["likes", 4]]
38672
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38673
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
38674
+  (0.1ms) SAVEPOINT active_record_1
38675
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.109905"], ["updated_at", "2020-10-06 03:58:07.109905"], ["author_id", 866], ["status", 2], ["likes", 1]]
38676
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38677
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
38678
+  (0.1ms) SAVEPOINT active_record_1
38679
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.112341"], ["updated_at", "2020-10-06 03:58:07.112341"], ["author_id", 866], ["status", 2], ["likes", 5]]
38680
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38681
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
38682
+  (0.1ms) SAVEPOINT active_record_1
38683
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.114640"], ["updated_at", "2020-10-06 03:58:07.114640"], ["name", "Chester"]]
38684
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38685
+  (0.2ms) SAVEPOINT active_record_1
38686
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.115953"], ["updated_at", "2020-10-06 03:58:07.115953"], ["author_id", 867], ["status", 2], ["likes", 10]]
38687
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38688
+ Post Load (0.9ms) SELECT authors.name AS _active_reporter_dimension_author, posts.status AS _active_reporter_dimension_status, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_status ORDER BY _active_reporter_dimension_author ASC NULLS FIRST, _active_reporter_dimension_status ASC NULLS FIRST
38689
+  (0.3ms) ROLLBACK
38690
+  (0.2ms) BEGIN
38691
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
38692
+  (0.3ms) SAVEPOINT active_record_1
38693
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.125672"], ["updated_at", "2020-10-06 03:58:07.125672"], ["name", "Alice"]]
38694
+  (0.3ms) RELEASE SAVEPOINT active_record_1
38695
+  (0.2ms) SAVEPOINT active_record_1
38696
+ Post Create (0.6ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.128667"], ["updated_at", "2020-10-06 03:58:07.128667"], ["author_id", 868], ["status", 2], ["likes", 3]]
38697
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38698
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
38699
+  (0.3ms) SAVEPOINT active_record_1
38700
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.133357"], ["updated_at", "2020-10-06 03:58:07.133357"], ["author_id", 868], ["status", 2], ["likes", 2]]
38701
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38702
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
38703
+  (0.3ms) SAVEPOINT active_record_1
38704
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.137870"], ["updated_at", "2020-10-06 03:58:07.137870"], ["name", "Bob"]]
38705
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38706
+  (0.3ms) SAVEPOINT active_record_1
38707
+ Post Create (0.6ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.140709"], ["updated_at", "2020-10-06 03:58:07.140709"], ["author_id", 869], ["status", 2], ["likes", 4]]
38708
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38709
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
38710
+  (0.3ms) SAVEPOINT active_record_1
38711
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.145355"], ["updated_at", "2020-10-06 03:58:07.145355"], ["author_id", 869], ["status", 2], ["likes", 1]]
38712
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38713
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
38714
+  (0.2ms) SAVEPOINT active_record_1
38715
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.149992"], ["updated_at", "2020-10-06 03:58:07.149992"], ["author_id", 869], ["status", 2], ["likes", 5]]
38716
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38717
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
38718
+  (0.2ms) SAVEPOINT active_record_1
38719
+ Author Create (8.7ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.152996"], ["updated_at", "2020-10-06 03:58:07.152996"], ["name", "Chester"]]
38720
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38721
+  (0.2ms) SAVEPOINT active_record_1
38722
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-10-06 03:58:07.163125"], ["updated_at", "2020-10-06 03:58:07.163125"], ["author_id", 870], ["status", 2], ["likes", 10]]
38723
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38724
+ 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
38725
+  (0.2ms) ROLLBACK
38726
+  (0.2ms) BEGIN
38727
+  (0.2ms) ROLLBACK
38728
+  (0.2ms) BEGIN
38729
+  (0.2ms) ROLLBACK
38730
+  (0.2ms) BEGIN
38731
+  (0.2ms) ROLLBACK
38732
+  (0.2ms) BEGIN
38733
+  (0.2ms) ROLLBACK
38734
+  (0.2ms) BEGIN
38735
+  (0.2ms) ROLLBACK
38736
+  (0.2ms) BEGIN
38737
+  (0.2ms) ROLLBACK
38738
+  (0.2ms) BEGIN
38739
+  (0.2ms) ROLLBACK
38740
+  (0.2ms) BEGIN
38741
+  (0.2ms) ROLLBACK
38742
+  (0.2ms) BEGIN
38743
+  (0.2ms) ROLLBACK
38744
+  (0.2ms) BEGIN
38745
+  (0.2ms) ROLLBACK
38746
+  (0.2ms) BEGIN
38747
+  (0.2ms) ROLLBACK
38748
+  (0.2ms) BEGIN
38749
+  (0.1ms) ROLLBACK
38750
+  (0.2ms) BEGIN
38751
+  (0.1ms) ROLLBACK
38752
+  (0.1ms) BEGIN
38753
+  (0.1ms) ROLLBACK
38754
+  (0.1ms) BEGIN
38755
+  (0.1ms) ROLLBACK
38756
+  (0.1ms) BEGIN
38757
+  (0.2ms) ROLLBACK
38758
+  (0.1ms) BEGIN
38759
+  (0.2ms) ROLLBACK
38760
+  (0.1ms) BEGIN
38761
+  (0.2ms) ROLLBACK
38762
+  (0.1ms) BEGIN
38763
+  (0.1ms) ROLLBACK
38764
+  (0.1ms) BEGIN
38765
+  (0.3ms) SELECT MIN(posts.likes) FROM "posts"
38766
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
38767
+  (0.1ms) SAVEPOINT active_record_1
38768
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 03:58:07.207234"], ["updated_at", "2020-10-06 03:58:07.207234"], ["status", 2], ["likes", 3]]
38769
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38770
+  (0.1ms) SAVEPOINT active_record_1
38771
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 03:58:07.209007"], ["updated_at", "2020-10-06 03:58:07.209007"], ["status", 2], ["likes", 10]]
38772
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38773
+  (0.1ms) SAVEPOINT active_record_1
38774
+ Post Create (0.2ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 03:58:07.210452"], ["updated_at", "2020-10-06 03:58:07.210452"], ["status", 2], ["likes", 1]]
38775
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38776
+  (0.3ms) SELECT MIN(posts.likes) FROM "posts"
38777
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
38778
+  (0.1ms) ROLLBACK
38779
+  (0.1ms) BEGIN
38780
+  (0.2ms) ROLLBACK
38781
+  (0.2ms) BEGIN
38782
+  (0.2ms) SAVEPOINT active_record_1
38783
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 03:58:07.227228"], ["updated_at", "2020-10-06 03:58:07.227228"], ["status", 2], ["likes", 2]]
38784
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38785
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
38786
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
38787
+  (0.1ms) ROLLBACK
38788
+  (0.1ms) BEGIN
38789
+  (0.1ms) ROLLBACK
38790
+  (0.1ms) BEGIN
38791
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
38792
+  (0.2ms) SAVEPOINT active_record_1
38793
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.233770"], ["updated_at", "2020-10-06 03:58:07.233770"], ["name", "Alice"]]
38794
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38795
+  (0.2ms) SAVEPOINT active_record_1
38796
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 03:58:07.235615"], ["updated_at", "2020-10-06 03:58:07.235615"], ["author_id", 871], ["status", 2]]
38797
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38798
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
38799
+  (0.2ms) SAVEPOINT active_record_1
38800
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.238556"], ["updated_at", "2020-10-06 03:58:07.238556"], ["name", "Bob"]]
38801
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38802
+  (0.1ms) SAVEPOINT active_record_1
38803
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 03:58:07.240318"], ["updated_at", "2020-10-06 03:58:07.240318"], ["author_id", 872], ["status", 2]]
38804
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38805
+  (0.2ms) SAVEPOINT active_record_1
38806
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.242168"], ["updated_at", "2020-10-06 03:58:07.242168"], ["status", 2]]
38807
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38808
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice'))
38809
+ 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))
38810
+ 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'))
38811
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob'))
38812
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))
38813
+  (0.1ms) ROLLBACK
38814
+  (0.1ms) BEGIN
38815
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
38816
+  (0.2ms) SAVEPOINT active_record_1
38817
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.250651"], ["updated_at", "2020-10-06 03:58:07.250651"], ["name", "Alice"]]
38818
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38819
+  (0.2ms) SAVEPOINT active_record_1
38820
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 03:58:07.252372"], ["updated_at", "2020-10-06 03:58:07.252372"], ["author_id", 873], ["status", 2]]
38821
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38822
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
38823
+  (0.2ms) SAVEPOINT active_record_1
38824
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 03:58:07.255312"], ["updated_at", "2020-10-06 03:58:07.255312"], ["author_id", 873], ["status", 2]]
38825
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38826
+  (0.1ms) SAVEPOINT active_record_1
38827
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.257165"], ["updated_at", "2020-10-06 03:58:07.257165"], ["status", 2]]
38828
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38829
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
38830
+  (0.1ms) SAVEPOINT active_record_1
38831
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.259547"], ["updated_at", "2020-10-06 03:58:07.259547"], ["name", "Bob"]]
38832
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38833
+  (0.2ms) SAVEPOINT active_record_1
38834
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 03:58:07.261030"], ["updated_at", "2020-10-06 03:58:07.261030"], ["author_id", 874], ["status", 2]]
38835
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38836
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
38837
+  (0.2ms) SAVEPOINT active_record_1
38838
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 03:58:07.263537"], ["updated_at", "2020-10-06 03:58:07.263537"], ["author_id", 874], ["status", 2]]
38839
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38840
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
38841
+  (0.1ms) SAVEPOINT active_record_1
38842
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-10-06 03:58:07.266070"], ["updated_at", "2020-10-06 03:58:07.266070"], ["author_id", 874], ["status", 2]]
38843
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38844
+ 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
38845
+  (0.2ms) ROLLBACK
38846
+  (0.2ms) BEGIN
38847
+  (0.2ms) ROLLBACK
38848
+  (0.2ms) BEGIN
38849
+  (0.2ms) ROLLBACK
38850
+  (0.1ms) BEGIN
38851
+  (0.1ms) ROLLBACK
38852
+  (0.2ms) BEGIN
38853
+  (0.1ms) ROLLBACK
38854
+  (0.1ms) BEGIN
38855
+  (0.2ms) ROLLBACK
38856
+  (0.1ms) BEGIN
38857
+  (0.1ms) ROLLBACK
38858
+  (0.1ms) BEGIN
38859
+  (0.1ms) ROLLBACK
38860
+  (0.2ms) BEGIN
38861
+  (0.2ms) ROLLBACK
38862
+  (0.2ms) BEGIN
38863
+  (0.1ms) ROLLBACK
38864
+  (0.1ms) BEGIN
38865
+  (0.1ms) ROLLBACK
38866
+  (0.2ms) BEGIN
38867
+  (0.2ms) ROLLBACK
38868
+  (0.2ms) BEGIN
38869
+  (0.1ms) ROLLBACK
38870
+  (0.1ms) BEGIN
38871
+  (0.1ms) ROLLBACK
38872
+  (0.1ms) BEGIN
38873
+  (0.1ms) ROLLBACK
38874
+  (0.1ms) BEGIN
38875
+  (0.1ms) ROLLBACK
38876
+  (0.2ms) BEGIN
38877
+  (0.1ms) ROLLBACK
38878
+  (0.1ms) BEGIN
38879
+  (0.1ms) ROLLBACK
38880
+  (0.1ms) BEGIN
38881
+  (0.1ms) ROLLBACK
38882
+  (0.1ms) BEGIN
38883
+  (0.1ms) ROLLBACK
38884
+  (0.1ms) BEGIN
38885
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
38886
+  (0.2ms) SAVEPOINT active_record_1
38887
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.300942"], ["updated_at", "2020-10-06 03:58:07.300942"], ["name", "Tammy"]]
38888
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38889
+  (0.2ms) SAVEPOINT active_record_1
38890
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2018-12-18 00:00:00"], ["updated_at", "2020-10-06 03:58:07.302866"], ["author_id", 875], ["status", 2], ["likes", 23]]
38891
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38892
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
38893
+  (0.1ms) SAVEPOINT active_record_1
38894
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.306061"], ["author_id", 875], ["status", 2], ["likes", 7]]
38895
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38896
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
38897
+  (0.2ms) SAVEPOINT active_record_1
38898
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-06 03:58:07.308756"], ["author_id", 875], ["status", 2], ["likes", 4]]
38899
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38900
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
38901
+  (0.2ms) SAVEPOINT active_record_1
38902
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-08 00:00:00"], ["updated_at", "2020-10-06 03:58:07.311703"], ["author_id", 875], ["status", 2], ["likes", 11]]
38903
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38904
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
38905
+  (0.1ms) SAVEPOINT active_record_1
38906
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.314696"], ["updated_at", "2020-10-06 03:58:07.314696"], ["name", "Timmy"]]
38907
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38908
+  (0.1ms) SAVEPOINT active_record_1
38909
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-06 03:58:07.316094"], ["author_id", 876], ["status", 2], ["likes", 3]]
38910
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38911
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
38912
+  (0.2ms) SAVEPOINT active_record_1
38913
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-02-27 00:00:00"], ["updated_at", "2020-10-06 03:58:07.319418"], ["author_id", 876], ["status", 2], ["likes", 24]]
38914
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38915
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
38916
+  (0.1ms) SAVEPOINT active_record_1
38917
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-02-28 00:00:00"], ["updated_at", "2020-10-06 03:58:07.322565"], ["author_id", 876], ["status", 2]]
38918
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38919
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
38920
+  (0.1ms) SAVEPOINT active_record_1
38921
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.325145"], ["author_id", 876], ["status", 2], ["likes", 19]]
38922
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38923
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
38924
+  (0.1ms) SAVEPOINT active_record_1
38925
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-04-08 00:00:00"], ["updated_at", "2020-10-06 03:58:07.327492"], ["author_id", 876], ["status", 2], ["likes", 8]]
38926
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38927
+  (9.4ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00')
38928
+ Post Exists? (0.7ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
38929
+ Post Load (1.3ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
38930
+ SELECT CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-01-01 00:00:00 UTC,2019-02-01 00:00:00 UTC' AS text) AS bin_text UNION
38931
+ SELECT CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-02-01 00:00:00 UTC,2019-03-01 00:00:00 UTC' AS text) AS bin_text UNION
38932
+ SELECT CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-03-01 00:00:00 UTC,2019-04-01 00:00:00 UTC' AS text) AS bin_text UNION
38933
+ SELECT CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-04-01 00:00:00 UTC,2019-05-01 00:00:00 UTC' AS text) AS bin_text
38934
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
38935
+ CASE
38936
+ 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)
38937
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
38938
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
38939
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
38940
+ END
38941
+ ) WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
38942
+  (0.3ms) ROLLBACK
38943
+  (0.2ms) BEGIN
38944
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
38945
+  (0.2ms) SAVEPOINT active_record_1
38946
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.356752"], ["updated_at", "2020-10-06 03:58:07.356752"], ["name", "Tammy"]]
38947
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38948
+  (0.1ms) SAVEPOINT active_record_1
38949
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2018-12-18 00:00:00"], ["updated_at", "2020-10-06 03:58:07.358617"], ["author_id", 877], ["status", 2], ["likes", 23]]
38950
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38951
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
38952
+  (0.1ms) SAVEPOINT active_record_1
38953
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.361281"], ["author_id", 877], ["status", 2], ["likes", 7]]
38954
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38955
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
38956
+  (0.1ms) SAVEPOINT active_record_1
38957
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-06 03:58:07.363644"], ["author_id", 877], ["status", 2], ["likes", 4]]
38958
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38959
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
38960
+  (0.1ms) SAVEPOINT active_record_1
38961
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-08 00:00:00"], ["updated_at", "2020-10-06 03:58:07.366227"], ["author_id", 877], ["status", 2], ["likes", 11]]
38962
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38963
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
38964
+  (0.2ms) SAVEPOINT active_record_1
38965
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.369194"], ["updated_at", "2020-10-06 03:58:07.369194"], ["name", "Timmy"]]
38966
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38967
+  (0.1ms) SAVEPOINT active_record_1
38968
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-06 03:58:07.371036"], ["author_id", 878], ["status", 2], ["likes", 3]]
38969
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38970
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
38971
+  (0.2ms) SAVEPOINT active_record_1
38972
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-02-27 00:00:00"], ["updated_at", "2020-10-06 03:58:07.373950"], ["author_id", 878], ["status", 2], ["likes", 24]]
38973
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38974
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
38975
+  (0.2ms) SAVEPOINT active_record_1
38976
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-02-28 00:00:00"], ["updated_at", "2020-10-06 03:58:07.377101"], ["author_id", 878], ["status", 2]]
38977
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38978
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
38979
+  (0.1ms) SAVEPOINT active_record_1
38980
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.379977"], ["author_id", 878], ["status", 2], ["likes", 19]]
38981
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38982
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
38983
+  (0.2ms) SAVEPOINT active_record_1
38984
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-04-08 00:00:00"], ["updated_at", "2020-10-06 03:58:07.382391"], ["author_id", 878], ["status", 2], ["likes", 8]]
38985
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38986
+  (0.6ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00')
38987
+ Post Exists? (0.6ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
38988
+ Post Load (1.2ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
38989
+ SELECT CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-01-01 00:00:00 UTC,2019-02-01 00:00:00 UTC' AS text) AS bin_text UNION
38990
+ SELECT CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-02-01 00:00:00 UTC,2019-03-01 00:00:00 UTC' AS text) AS bin_text UNION
38991
+ SELECT CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-03-01 00:00:00 UTC,2019-04-01 00:00:00 UTC' AS text) AS bin_text UNION
38992
+ SELECT CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-04-01 00:00:00 UTC,2019-05-01 00:00:00 UTC' AS text) AS bin_text
38993
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
38994
+ CASE
38995
+ 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)
38996
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
38997
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
38998
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
38999
+ END
39000
+ ) WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
39001
+  (0.3ms) ROLLBACK
39002
+  (0.2ms) BEGIN
39003
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
39004
+  (0.2ms) SAVEPOINT active_record_1
39005
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.402119"], ["updated_at", "2020-10-06 03:58:07.402119"], ["name", "Tammy"]]
39006
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39007
+  (0.2ms) SAVEPOINT active_record_1
39008
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2018-12-18 00:00:00"], ["updated_at", "2020-10-06 03:58:07.404032"], ["author_id", 879], ["status", 2], ["likes", 23]]
39009
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39010
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
39011
+  (0.1ms) SAVEPOINT active_record_1
39012
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.406976"], ["author_id", 879], ["status", 2], ["likes", 7]]
39013
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39014
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
39015
+  (0.1ms) SAVEPOINT active_record_1
39016
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-06 03:58:07.409574"], ["author_id", 879], ["status", 2], ["likes", 4]]
39017
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39018
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
39019
+  (0.2ms) SAVEPOINT active_record_1
39020
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-08 00:00:00"], ["updated_at", "2020-10-06 03:58:07.411955"], ["author_id", 879], ["status", 2], ["likes", 11]]
39021
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39022
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
39023
+  (0.1ms) SAVEPOINT active_record_1
39024
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.414509"], ["updated_at", "2020-10-06 03:58:07.414509"], ["name", "Timmy"]]
39025
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39026
+  (0.2ms) SAVEPOINT active_record_1
39027
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-06 03:58:07.415931"], ["author_id", 880], ["status", 2], ["likes", 3]]
39028
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39029
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
39030
+  (0.2ms) SAVEPOINT active_record_1
39031
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-02-27 00:00:00"], ["updated_at", "2020-10-06 03:58:07.419011"], ["author_id", 880], ["status", 2], ["likes", 24]]
39032
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39033
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
39034
+  (0.1ms) SAVEPOINT active_record_1
39035
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-02-28 00:00:00"], ["updated_at", "2020-10-06 03:58:07.421861"], ["author_id", 880], ["status", 2]]
39036
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39037
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
39038
+  (0.2ms) SAVEPOINT active_record_1
39039
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.424401"], ["author_id", 880], ["status", 2], ["likes", 19]]
39040
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39041
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
39042
+  (0.2ms) SAVEPOINT active_record_1
39043
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-04-08 00:00:00"], ["updated_at", "2020-10-06 03:58:07.427684"], ["author_id", 880], ["status", 2], ["likes", 8]]
39044
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39045
+  (0.6ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00')
39046
+ Post Exists? (0.5ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
39047
+ Post Load (1.4ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
39048
+ SELECT CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-01-01 00:00:00 UTC,2019-02-01 00:00:00 UTC' AS text) AS bin_text UNION
39049
+ SELECT CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-02-01 00:00:00 UTC,2019-03-01 00:00:00 UTC' AS text) AS bin_text UNION
39050
+ SELECT CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-03-01 00:00:00 UTC,2019-04-01 00:00:00 UTC' AS text) AS bin_text UNION
39051
+ SELECT CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-04-01 00:00:00 UTC,2019-05-01 00:00:00 UTC' AS text) AS bin_text
39052
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
39053
+ CASE
39054
+ 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)
39055
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
39056
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
39057
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
39058
+ END
39059
+ ) WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
39060
+  (0.3ms) ROLLBACK
39061
+  (0.2ms) BEGIN
39062
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
39063
+  (0.2ms) SAVEPOINT active_record_1
39064
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.446499"], ["updated_at", "2020-10-06 03:58:07.446499"], ["name", "Tammy"]]
39065
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39066
+  (0.2ms) SAVEPOINT active_record_1
39067
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2018-12-18 00:00:00"], ["updated_at", "2020-10-06 03:58:07.448189"], ["author_id", 881], ["status", 2], ["likes", 23]]
39068
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39069
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
39070
+  (0.2ms) SAVEPOINT active_record_1
39071
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.451301"], ["author_id", 881], ["status", 2], ["likes", 7]]
39072
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39073
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
39074
+  (0.2ms) SAVEPOINT active_record_1
39075
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-06 03:58:07.454432"], ["author_id", 881], ["status", 2], ["likes", 4]]
39076
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39077
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
39078
+  (0.1ms) SAVEPOINT active_record_1
39079
+ Post Create (1.2ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-08 00:00:00"], ["updated_at", "2020-10-06 03:58:07.457090"], ["author_id", 881], ["status", 2], ["likes", 11]]
39080
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39081
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
39082
+  (0.1ms) SAVEPOINT active_record_1
39083
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.460869"], ["updated_at", "2020-10-06 03:58:07.460869"], ["name", "Timmy"]]
39084
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39085
+  (0.2ms) SAVEPOINT active_record_1
39086
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-06 03:58:07.462277"], ["author_id", 882], ["status", 2], ["likes", 3]]
39087
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39088
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
39089
+  (0.1ms) SAVEPOINT active_record_1
39090
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-02-27 00:00:00"], ["updated_at", "2020-10-06 03:58:07.464831"], ["author_id", 882], ["status", 2], ["likes", 24]]
39091
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39092
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
39093
+  (0.3ms) SAVEPOINT active_record_1
39094
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-02-28 00:00:00"], ["updated_at", "2020-10-06 03:58:07.467422"], ["author_id", 882], ["status", 2]]
39095
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39096
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
39097
+  (0.2ms) SAVEPOINT active_record_1
39098
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.471868"], ["author_id", 882], ["status", 2], ["likes", 19]]
39099
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39100
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
39101
+  (0.2ms) SAVEPOINT active_record_1
39102
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-04-08 00:00:00"], ["updated_at", "2020-10-06 03:58:07.476033"], ["author_id", 882], ["status", 2], ["likes", 8]]
39103
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39104
+  (0.8ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00')
39105
+ Post Exists? (0.7ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
39106
+ Post Load (1.6ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
39107
+ SELECT CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-01-01 00:00:00 UTC,2019-02-01 00:00:00 UTC' AS text) AS bin_text UNION
39108
+ SELECT CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-02-01 00:00:00 UTC,2019-03-01 00:00:00 UTC' AS text) AS bin_text UNION
39109
+ SELECT CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-03-01 00:00:00 UTC,2019-04-01 00:00:00 UTC' AS text) AS bin_text UNION
39110
+ SELECT CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-04-01 00:00:00 UTC,2019-05-01 00:00:00 UTC' AS text) AS bin_text
39111
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
39112
+ CASE
39113
+ 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)
39114
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
39115
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
39116
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
39117
+ END
39118
+ ) WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
39119
+ Post Load (1.1ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
39120
+ Post Load (1.1ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
39121
+  (0.3ms) ROLLBACK
39122
+  (0.2ms) BEGIN
39123
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
39124
+  (0.1ms) SAVEPOINT active_record_1
39125
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.509137"], ["updated_at", "2020-10-06 03:58:07.509137"], ["name", "Tammy"]]
39126
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39127
+  (0.1ms) SAVEPOINT active_record_1
39128
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2018-12-18 00:00:00"], ["updated_at", "2020-10-06 03:58:07.510690"], ["author_id", 883], ["status", 2], ["likes", 23]]
39129
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39130
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
39131
+  (0.2ms) SAVEPOINT active_record_1
39132
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.513208"], ["author_id", 883], ["status", 2], ["likes", 7]]
39133
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39134
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
39135
+  (0.2ms) SAVEPOINT active_record_1
39136
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-06 03:58:07.516024"], ["author_id", 883], ["status", 2], ["likes", 4]]
39137
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39138
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
39139
+  (0.3ms) SAVEPOINT active_record_1
39140
+ Post Create (0.7ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-08 00:00:00"], ["updated_at", "2020-10-06 03:58:07.519554"], ["author_id", 883], ["status", 2], ["likes", 11]]
39141
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39142
+ Author Load (0.7ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
39143
+  (4.0ms) SAVEPOINT active_record_1
39144
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.525286"], ["updated_at", "2020-10-06 03:58:07.525286"], ["name", "Timmy"]]
39145
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39146
+  (0.2ms) SAVEPOINT active_record_1
39147
+ Post Create (0.7ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-06 03:58:07.531930"], ["author_id", 884], ["status", 2], ["likes", 3]]
39148
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39149
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
39150
+  (0.3ms) SAVEPOINT active_record_1
39151
+ Post Create (0.6ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-02-27 00:00:00"], ["updated_at", "2020-10-06 03:58:07.537064"], ["author_id", 884], ["status", 2], ["likes", 24]]
39152
+  (0.3ms) RELEASE SAVEPOINT active_record_1
39153
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
39154
+  (0.3ms) SAVEPOINT active_record_1
39155
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-02-28 00:00:00"], ["updated_at", "2020-10-06 03:58:07.542543"], ["author_id", 884], ["status", 2]]
39156
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39157
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
39158
+  (0.3ms) SAVEPOINT active_record_1
39159
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.547490"], ["author_id", 884], ["status", 2], ["likes", 19]]
39160
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39161
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
39162
+  (0.2ms) SAVEPOINT active_record_1
39163
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-04-08 00:00:00"], ["updated_at", "2020-10-06 03:58:07.551978"], ["author_id", 884], ["status", 2], ["likes", 8]]
39164
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39165
+  (0.6ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00')
39166
+ Post Exists? (0.5ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
39167
+ Post Exists? (0.6ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.created_at >= '2018-12-01 00:00:00' AND posts.created_at < '2019-01-01 00:00:00')) AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
39168
+ Post Load (0.9ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
39169
+ SELECT CAST('2018-12-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS max, CAST('2018-12-01 00:00:00 UTC,2019-01-01 00:00:00 UTC' AS text) AS bin_text
39170
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
39171
+ CASE
39172
+ 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)
39173
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
39174
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
39175
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
39176
+ END
39177
+ ) WHERE ((posts.created_at >= '2018-12-01 00:00:00' AND posts.created_at < '2019-01-01 00:00:00')) GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST LIMIT $1 [["LIMIT", 1]]
39178
+ Post Load (0.9ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
39179
+ SELECT CAST('2018-12-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS max, CAST('2018-12-01 00:00:00 UTC,2019-01-01 00:00:00 UTC' AS text) AS bin_text
39180
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
39181
+ CASE
39182
+ 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)
39183
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
39184
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
39185
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
39186
+ END
39187
+ ) WHERE ((posts.created_at >= '2018-12-01 00:00:00' AND posts.created_at < '2019-01-01 00:00:00')) GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
39188
+ Post Load (1.9ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
39189
+ SELECT CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-01-01 00:00:00 UTC,2019-02-01 00:00:00 UTC' AS text) AS bin_text UNION
39190
+ SELECT CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-02-01 00:00:00 UTC,2019-03-01 00:00:00 UTC' AS text) AS bin_text UNION
39191
+ SELECT CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-03-01 00:00:00 UTC,2019-04-01 00:00:00 UTC' AS text) AS bin_text UNION
39192
+ SELECT CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-04-01 00:00:00 UTC,2019-05-01 00:00:00 UTC' AS text) AS bin_text
39193
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
39194
+ CASE
39195
+ 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)
39196
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
39197
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
39198
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
39199
+ END
39200
+ ) WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
39201
+  (0.4ms) ROLLBACK
39202
+  (0.3ms) BEGIN
39203
+  (0.3ms) ROLLBACK
39204
+  (0.2ms) BEGIN
39205
+  (0.2ms) ROLLBACK
39206
+  (0.2ms) BEGIN
39207
+  (0.2ms) ROLLBACK
39208
+  (0.2ms) BEGIN
39209
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
39210
+  (0.3ms) SAVEPOINT active_record_1
39211
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.600974"], ["updated_at", "2020-10-06 03:58:07.600974"], ["name", "Phil"]]
39212
+  (0.3ms) RELEASE SAVEPOINT active_record_1
39213
+  (0.2ms) SAVEPOINT active_record_1
39214
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.603703"], ["author_id", 885], ["status", 2]]
39215
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39216
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
39217
+  (0.2ms) SAVEPOINT active_record_1
39218
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.607202"], ["author_id", 885], ["status", 2]]
39219
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39220
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phyllis"], ["LIMIT", 1]]
39221
+  (0.2ms) SAVEPOINT active_record_1
39222
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.610231"], ["updated_at", "2020-10-06 03:58:07.610231"], ["name", "Phyllis"]]
39223
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39224
+  (0.2ms) SAVEPOINT active_record_1
39225
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.611854"], ["author_id", 886], ["status", 2]]
39226
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39227
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phyllis"], ["LIMIT", 1]]
39228
+  (0.2ms) SAVEPOINT active_record_1
39229
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.614692"], ["author_id", 886], ["status", 2]]
39230
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39231
+ Post Load (0.5ms) SELECT "posts".* FROM "posts"
39232
+  (0.3ms) ROLLBACK
39233
+  (0.2ms) BEGIN
39234
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
39235
+  (0.3ms) SAVEPOINT active_record_1
39236
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.623449"], ["updated_at", "2020-10-06 03:58:07.623449"], ["name", "Phil"]]
39237
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39238
+  (0.2ms) SAVEPOINT active_record_1
39239
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.626098"], ["author_id", 887], ["status", 2]]
39240
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39241
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
39242
+  (0.3ms) SAVEPOINT active_record_1
39243
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.630601"], ["author_id", 887], ["status", 2]]
39244
+  (0.3ms) RELEASE SAVEPOINT active_record_1
39245
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phyllis"], ["LIMIT", 1]]
39246
+  (0.2ms) SAVEPOINT active_record_1
39247
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.635603"], ["updated_at", "2020-10-06 03:58:07.635603"], ["name", "Phyllis"]]
39248
+  (0.6ms) RELEASE SAVEPOINT active_record_1
39249
+  (0.3ms) SAVEPOINT active_record_1
39250
+ Post Create (0.6ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.639175"], ["author_id", 888], ["status", 2]]
39251
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39252
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phyllis"], ["LIMIT", 1]]
39253
+  (0.2ms) SAVEPOINT active_record_1
39254
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.643574"], ["author_id", 888], ["status", 2]]
39255
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39256
+ Post Load (0.4ms) SELECT "posts".* FROM "posts"
39257
+  (0.2ms) ROLLBACK
39258
+  (0.2ms) BEGIN
39259
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
39260
+  (0.3ms) SAVEPOINT active_record_1
39261
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.652309"], ["updated_at", "2020-10-06 03:58:07.652309"], ["name", "Phil"]]
39262
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39263
+  (0.2ms) SAVEPOINT active_record_1
39264
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.654777"], ["author_id", 889], ["status", 2]]
39265
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39266
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
39267
+  (0.2ms) SAVEPOINT active_record_1
39268
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.657963"], ["author_id", 889], ["status", 2]]
39269
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39270
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (authors.name IN ('Phil'))
39271
+  (0.3ms) ROLLBACK
39272
+  (0.2ms) BEGIN
39273
+ Post Exists? (0.5ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (authors.name IN ('')) LIMIT $1 [["LIMIT", 1]]
39274
+  (0.2ms) ROLLBACK
39275
+  (0.2ms) BEGIN
39276
+ Post Exists? (0.7ms) 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]]
39277
+  (0.2ms) ROLLBACK
39278
+  (0.2ms) BEGIN
39279
+  (0.2ms) ROLLBACK
39280
+  (0.2ms) BEGIN
39281
+  (0.2ms) ROLLBACK
39282
+  (0.2ms) BEGIN
39283
+  (0.1ms) ROLLBACK
39284
+  (0.2ms) BEGIN
39285
+  (0.2ms) ROLLBACK
39286
+  (0.2ms) BEGIN
39287
+  (0.2ms) ROLLBACK
39288
+  (0.2ms) BEGIN
39289
+  (0.3ms) ROLLBACK
39290
+  (0.2ms) BEGIN
39291
+  (0.2ms) ROLLBACK
39292
+  (0.2ms) BEGIN
39293
+  (0.2ms) ROLLBACK
39294
+  (0.2ms) BEGIN
39295
+  (0.2ms) ROLLBACK
39296
+  (0.2ms) BEGIN
39297
+  (0.2ms) ROLLBACK
39298
+  (0.2ms) BEGIN
39299
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
39300
+  (0.2ms) SAVEPOINT active_record_1
39301
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.701081"], ["updated_at", "2020-10-06 03:58:07.701081"], ["name", "Timmy"]]
39302
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39303
+  (0.3ms) SAVEPOINT active_record_1
39304
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.703401"], ["author_id", 890], ["status", 2], ["likes", 1]]
39305
+  (0.3ms) RELEASE SAVEPOINT active_record_1
39306
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
39307
+  (0.2ms) SAVEPOINT active_record_1
39308
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-06 03:58:07.708529"], ["author_id", 890], ["status", 2], ["likes", 2]]
39309
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39310
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
39311
+  (0.2ms) SAVEPOINT active_record_1
39312
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.711777"], ["updated_at", "2020-10-06 03:58:07.711777"], ["name", "Tammy"]]
39313
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39314
+  (0.2ms) SAVEPOINT active_record_1
39315
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-06 03:58:07.713308"], ["author_id", 891], ["status", 2], ["likes", 3]]
39316
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39317
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
39318
+  (0.2ms) SAVEPOINT active_record_1
39319
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.716319"], ["author_id", 891], ["status", 2], ["likes", 4]]
39320
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39321
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
39322
+  (0.2ms) SAVEPOINT active_record_1
39323
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-15 00:00:00"], ["updated_at", "2020-10-06 03:58:07.720145"], ["author_id", 891], ["status", 2], ["likes", 2]]
39324
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39325
+ Post Load (0.7ms) SELECT 'totals' AS _active_reporter_dimension_totals, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" GROUP BY _active_reporter_dimension_totals ORDER BY _active_reporter_dimension_totals ASC NULLS FIRST
39326
+  (0.2ms) ROLLBACK
39327
+  (0.2ms) BEGIN
39328
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
39329
+  (0.2ms) SAVEPOINT active_record_1
39330
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.730127"], ["updated_at", "2020-10-06 03:58:07.730127"], ["name", "Timmy"]]
39331
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39332
+  (0.2ms) SAVEPOINT active_record_1
39333
+ Post Create (0.6ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.732630"], ["author_id", 892], ["status", 2], ["likes", 1]]
39334
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39335
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
39336
+  (0.2ms) SAVEPOINT active_record_1
39337
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-10-06 03:58:07.737418"], ["author_id", 892], ["status", 2], ["likes", 2]]
39338
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39339
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
39340
+  (0.3ms) SAVEPOINT active_record_1
39341
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-10-06 03:58:07.742040"], ["updated_at", "2020-10-06 03:58:07.742040"], ["name", "Tammy"]]
39342
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39343
+  (0.2ms) SAVEPOINT active_record_1
39344
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-10-06 03:58:07.744561"], ["author_id", 893], ["status", 2], ["likes", 3]]
39345
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39346
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
39347
+  (0.2ms) SAVEPOINT active_record_1
39348
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.748984"], ["author_id", 893], ["status", 2], ["likes", 4]]
39349
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39350
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
39351
+  (0.3ms) SAVEPOINT active_record_1
39352
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-15 00:00:00"], ["updated_at", "2020-10-06 03:58:07.752843"], ["author_id", 893], ["status", 2], ["likes", 2]]
39353
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39354
+ 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" 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
39355
+ 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
39356
+  (0.2ms) ROLLBACK
39357
+  (0.2ms) BEGIN
39358
+  (0.2ms) SAVEPOINT active_record_1
39359
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.761816"], ["title", "A"], ["status", 2], ["likes", 2]]
39360
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39361
+  (0.2ms) SAVEPOINT active_record_1
39362
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.764136"], ["title", "A"], ["status", 2], ["likes", 2]]
39363
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39364
+  (0.2ms) SAVEPOINT active_record_1
39365
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.766333"], ["title", "B"], ["status", 2], ["likes", 1]]
39366
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39367
+  (0.3ms) SAVEPOINT active_record_1
39368
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-06 03:58:07.768887"], ["title", "A"], ["status", 2], ["likes", 1]]
39369
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39370
+  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"
39371
+  (1.1ms) SELECT MAX(posts.created_at) FROM "posts"
39372
+ Post Exists? (0.5ms) SELECT 1 AS one FROM "posts" WHERE (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
39373
+ Post Load (1.4ms) 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 (
39374
+ 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
39375
+ 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
39376
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
39377
+ CASE
39378
+ 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)
39379
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
39380
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
39381
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
39382
+ END
39383
+ ) GROUP BY _active_reporter_dimension_title, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
39384
+  (0.3ms) ROLLBACK
39385
+  (0.2ms) BEGIN
39386
+  (0.2ms) SAVEPOINT active_record_1
39387
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.788607"], ["title", "A"], ["status", 2], ["likes", 2]]
39388
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39389
+  (0.2ms) SAVEPOINT active_record_1
39390
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.791869"], ["title", "A"], ["status", 2], ["likes", 2]]
39391
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39392
+  (0.2ms) SAVEPOINT active_record_1
39393
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.794975"], ["title", "B"], ["status", 2], ["likes", 1]]
39394
+  (0.3ms) RELEASE SAVEPOINT active_record_1
39395
+  (0.2ms) SAVEPOINT active_record_1
39396
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-06 03:58:07.798241"], ["title", "A"], ["status", 2], ["likes", 1]]
39397
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39398
+ Post Load (0.5ms) 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
39399
+  (0.2ms) ROLLBACK
39400
+  (0.1ms) BEGIN
39401
+  (0.2ms) SAVEPOINT active_record_1
39402
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.804695"], ["title", "A"], ["status", 2], ["likes", 2]]
39403
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39404
+  (0.1ms) SAVEPOINT active_record_1
39405
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.806811"], ["title", "A"], ["status", 2], ["likes", 2]]
39406
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39407
+  (0.2ms) SAVEPOINT active_record_1
39408
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.808976"], ["title", "B"], ["status", 2], ["likes", 1]]
39409
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39410
+  (0.1ms) SAVEPOINT active_record_1
39411
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-06 03:58:07.811451"], ["title", "A"], ["status", 2], ["likes", 1]]
39412
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39413
+  (0.3ms) SELECT MIN(posts.likes) FROM "posts"
39414
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
39415
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
39416
+ Post Load (0.9ms) SELECT posts.title AS _active_reporter_dimension_title, _active_reporter_dimension_likes_bin_table.bin_text AS _active_reporter_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
39417
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
39418
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
39419
+ ) AS _active_reporter_dimension_likes_bin_table ON (
39420
+ CASE
39421
+ 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)
39422
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
39423
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
39424
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
39425
+ END
39426
+ ) GROUP BY _active_reporter_dimension_title, _active_reporter_dimension_likes ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
39427
+  (0.3ms) ROLLBACK
39428
+  (0.2ms) BEGIN
39429
+  (0.3ms) SAVEPOINT active_record_1
39430
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.821657"], ["title", "A"], ["status", 2], ["likes", 2]]
39431
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39432
+  (0.2ms) SAVEPOINT active_record_1
39433
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.825307"], ["title", "A"], ["status", 2], ["likes", 2]]
39434
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39435
+  (0.2ms) SAVEPOINT active_record_1
39436
+ Post Create (0.6ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.828527"], ["title", "B"], ["status", 2], ["likes", 1]]
39437
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39438
+  (0.3ms) SAVEPOINT active_record_1
39439
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-06 03:58:07.832163"], ["title", "A"], ["status", 2], ["likes", 1]]
39440
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39441
+  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"
39442
+  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"
39443
+ Post Exists? (0.6ms) SELECT 1 AS one FROM "posts" WHERE (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
39444
+  (0.5ms) SELECT MIN(posts.likes) FROM "posts"
39445
+  (0.5ms) SELECT MAX(posts.likes) FROM "posts"
39446
+ Post Exists? (0.4ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
39447
+ Post Load (1.6ms) 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 (
39448
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
39449
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
39450
+ ) AS _active_reporter_dimension_likes_bin_table ON (
39451
+ CASE
39452
+ 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)
39453
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
39454
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
39455
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
39456
+ END
39457
+ ) INNER JOIN (
39458
+ 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
39459
+ 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
39460
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
39461
+ CASE
39462
+ 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)
39463
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
39464
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
39465
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
39466
+ END
39467
+ ) GROUP BY _active_reporter_dimension_title, _active_reporter_dimension_likes, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
39468
+  (0.3ms) ROLLBACK
39469
+  (0.2ms) BEGIN
39470
+  (0.2ms) SAVEPOINT active_record_1
39471
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.932000"], ["title", "A"], ["status", 2], ["likes", 2]]
39472
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39473
+  (0.2ms) SAVEPOINT active_record_1
39474
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.935336"], ["title", "A"], ["status", 2], ["likes", 2]]
39475
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39476
+  (0.2ms) SAVEPOINT active_record_1
39477
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.937953"], ["title", "B"], ["status", 2], ["likes", 1]]
39478
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39479
+  (0.2ms) SAVEPOINT active_record_1
39480
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-06 03:58:07.940967"], ["title", "A"], ["status", 2], ["likes", 1]]
39481
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39482
+  (0.2ms) ROLLBACK
39483
+  (0.2ms) BEGIN
39484
+  (0.3ms) SAVEPOINT active_record_1
39485
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.946656"], ["title", "A"], ["status", 2], ["likes", 2]]
39486
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39487
+  (0.2ms) SAVEPOINT active_record_1
39488
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.950112"], ["title", "A"], ["status", 2], ["likes", 2]]
39489
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39490
+  (0.2ms) SAVEPOINT active_record_1
39491
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.952137"], ["title", "B"], ["status", 2], ["likes", 1]]
39492
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39493
+  (0.1ms) SAVEPOINT active_record_1
39494
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-06 03:58:07.954038"], ["title", "A"], ["status", 2], ["likes", 1]]
39495
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39496
+  (0.3ms) SELECT COUNT(*) FROM "posts"
39497
+  (0.2ms) SELECT COUNT(*) FROM "posts"
39498
+  (0.1ms) ROLLBACK
39499
+  (0.1ms) BEGIN
39500
+  (0.1ms) SAVEPOINT active_record_1
39501
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.958671"], ["title", "A"], ["status", 2], ["likes", 2]]
39502
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39503
+  (0.1ms) SAVEPOINT active_record_1
39504
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.960526"], ["title", "A"], ["status", 2], ["likes", 2]]
39505
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39506
+  (0.1ms) SAVEPOINT active_record_1
39507
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-10-06 03:58:07.962556"], ["title", "B"], ["status", 2], ["likes", 1]]
39508
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39509
+  (0.2ms) SAVEPOINT active_record_1
39510
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-10-06 03:58:07.964255"], ["title", "A"], ["status", 2], ["likes", 1]]
39511
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39512
+  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"
39513
+  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"
39514
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
39515
+  (0.5ms) SELECT MIN(posts.likes) FROM "posts"
39516
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
39517
+ Post Exists? (0.5ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
39518
+ Post Load (1.7ms) 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 (
39519
+ 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
39520
+ 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
39521
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
39522
+ CASE
39523
+ 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)
39524
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
39525
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
39526
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
39527
+ END
39528
+ ) INNER JOIN (
39529
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
39530
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
39531
+ ) AS _active_reporter_dimension_likes_bin_table ON (
39532
+ CASE
39533
+ 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)
39534
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
39535
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
39536
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
39537
+ END
37032
39538
  ) GROUP BY _active_reporter_dimension_created_at, _active_reporter_dimension_likes, _active_reporter_dimension_title ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
37033
39539
   (0.3ms) ROLLBACK