{"action":"created","comment":{"url":"https://api.github.com/repos/NaisilaPuka/pghero/pulls/comments/212967435","pull_request_review_id":149702164,"id":212967435,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjk2NzQzNQ==","diff_hunk":"@@ -1,49 +1,233 @@\n module PgHero\n   module Methods\n     module Indexes\n+      include Citus\n+\n       def index_hit_rate\n-        select_one <<-SQL\n-          SELECT\n-            (sum(idx_blks_hit)) / nullif(sum(idx_blks_hit + idx_blks_read), 0) AS rate\n-          FROM\n-            pg_statio_user_indexes\n-        SQL\n+        if !citus_enabled?\n+          select_one <<-SQL\n+            SELECT\n+              (sum(idx_blks_hit)) / nullif(sum(idx_blks_hit + idx_blks_read), 0) AS rate\n+            FROM\n+              pg_statio_user_indexes\n+          SQL\n+        else\n+          select_one <<-SQL\n+            WITH worker_idx_blks_stats_json AS (\n+              SELECT\n+                result::json\n+              FROM\n+                run_command_on_workers($$\n+                SELECT\n+                  json_agg(row_to_json(worker_idx_blks_stats))\n+                FROM\n+                  (\n+                    SELECT\n+                      sum(idx_blks_hit) AS idx_blks_hit,\n+                      sum(idx_blks_read) AS idx_blks_read\n+                    FROM\n+                      pg_statio_user_indexes\n+                  )\n+                  worker_idx_blks_stats $$)\n+            )\n+            SELECT\n+              (sum(idx_blks_hit)) / nullif(sum(idx_blks_hit + idx_blks_read), 0) AS rate\n+            FROM\n+              (\n+                SELECT\n+                  idx_blks_hit,\n+                  idx_blks_read\n+                FROM\n+                  pg_statio_user_indexes\n+                UNION ALL\n+                SELECT\n+                  (json_array_elements(result)->>'idx_blks_hit')::bigint AS idx_blks_hit,\n+                  (json_array_elements(result)->>'idx_blks_read')::bigint AS idx_blks_read\n+                FROM\n+                  worker_idx_blks_stats_json\n+              ) AS cluster_idx_blks_stats\n+          SQL\n+        end\n       end\n \n       def index_caching\n-        select_all <<-SQL\n-          SELECT\n-            schemaname AS schema,\n-            relname AS table,\n-            indexrelname AS index,\n-            CASE WHEN idx_blks_hit + idx_blks_read = 0 THEN\n-              0\n-            ELSE\n-              ROUND(1.0 * idx_blks_hit / (idx_blks_hit + idx_blks_read), 2)\n-            END AS hit_rate\n-          FROM\n-            pg_statio_user_indexes\n-          ORDER BY\n-            3 DESC, 1\n-        SQL\n+        if !citus_enabled?\n+          select_all <<-SQL\n+            SELECT\n+              schemaname AS schema,\n+              relname AS table,\n+              indexrelname AS index,\n+              CASE WHEN idx_blks_hit + idx_blks_read = 0 THEN\n+                0\n+              ELSE\n+                ROUND(1.0 * idx_blks_hit / (idx_blks_hit + idx_blks_read), 2)\n+              END AS hit_rate\n+            FROM\n+              pg_statio_user_indexes\n+            ORDER BY\n+              3 DESC, 1\n+          SQL\n+        else\n+          select_all <<-SQL\n+            WITH dist_indexes AS (\n+              SELECT\n+                indexname,\n+                logicalrelid,\n+                schemaname,\n+                tablename\n+              FROM\n+                pg_indexes\n+                JOIN pg_dist_partition ON (schemaname || '.' || tablename)::regclass = logicalrelid\n+              ORDER BY \n+                1, 4, 3\n+            ),\n+            placements_idx_blks_hit_read AS (\n+              SELECT\n+                indexname,\n+                (run_command_on_placements(logicalrelid, $$\n+                  SELECT\n+                    idx_blks_hit\n+                  FROM\n+                    pg_statio_user_indexes\n+                  WHERE\n+                    indexrelname = replace('%s','$$ || logicalrelid::text || $$', '$$ || indexname::text || $$') $$ )).result::bigint AS idx_blks_hit,\n+                (run_command_on_placements(logicalrelid, $$\n+                  SELECT\n+                    idx_blks_read\n+                  FROM\n+                    pg_statio_user_indexes\n+                  WHERE\n+                    indexrelname = replace('%s','$$ || logicalrelid::text || $$', '$$ || indexname::text || $$') $$ )).result::bigint AS idx_blks_read\n+              FROM\n+                dist_indexes\n+            )\n+            SELECT\n+              schemaname AS schema,\n+              relname AS table,\n+              indexrelname AS index,\n+              CASE WHEN idx_blks_hit + idx_blks_read = 0 THEN\n+                0\n+              ELSE\n+                ROUND(1.0 * idx_blks_hit / (idx_blks_hit + idx_blks_read), 2)\n+              END AS hit_rate\n+            FROM (\n+              SELECT\n+                schemaname,\n+                tablename AS relname,\n+                p.indexname as indexrelname,\n+                sum(idx_blks_hit) AS idx_blks_hit,\n+                sum(idx_blks_read) AS idx_blks_read\n+              FROM\n+                placements_idx_blks_hit_read p\n+                JOIN dist_indexes d ON p.indexname = d.indexname\n+              GROUP BY\n+                3, 2, 1\n+              UNION ALL\n+              SELECT\n+                schemaname,\n+                relname,\n+                indexrelname,\n+                idx_blks_hit,\n+                idx_blks_read\n+              FROM\n+                pg_statio_user_indexes s\n+              WHERE\n+                NOT EXISTS(SELECT * FROM dist_indexes WHERE indexname = indexrelname AND tablename = relname AND schemaname = s.schemaname)\n+            ) all_stats\n+            ORDER BY\n+              3 DESC, 1\n+          SQL\n+        end\n       end\n \n       def index_usage\n-        select_all <<-SQL\n-          SELECT\n-            schemaname AS schema,\n-            relname AS table,\n-            CASE idx_scan\n-              WHEN 0 THEN 'Insufficient data'\n-              ELSE (100 * idx_scan / (seq_scan + idx_scan))::text\n-            END percent_of_times_index_used,\n-            n_live_tup AS estimated_rows\n-          FROM\n-            pg_stat_user_tables\n-          ORDER BY\n-            n_live_tup DESC,\n-            relname ASC\n-         SQL\n+        if !citus_enabled?\n+          select_all <<-SQL\n+            SELECT\n+              schemaname AS schema,\n+              relname AS table,\n+              CASE idx_scan\n+                WHEN 0 THEN 'Insufficient data'\n+                ELSE (100 * idx_scan / (seq_scan + idx_scan))::text\n+              END percent_of_times_index_used,\n+              n_live_tup AS estimated_rows\n+            FROM\n+              pg_stat_user_tables\n+            ORDER BY\n+              n_live_tup DESC,\n+              relname ASC\n+           SQL\n+        else\n+          select_all <<-SQL\n+            WITH dist_tables_with_indexes (tablename) AS (\n+              SELECT \n+                DISTINCT indrelid::regclass\n+              FROM\n+                pg_index\n+                JOIN pg_dist_partition ON indrelid = logicalrelid","path":"lib/pghero/methods/indexes.rb","position":203,"original_position":203,"commit_id":"e4b83145f066657e86b8f72d6a57f198e6d2fd05","original_commit_id":"e4b83145f066657e86b8f72d6a57f198e6d2fd05","user":{"login":"byucesoy","id":2082070,"node_id":"MDQ6VXNlcjIwODIwNzA=","avatar_url":"https://avatars3.githubusercontent.com/u/2082070?v=4","gravatar_id":"","url":"https://api.github.com/users/byucesoy","html_url":"https://github.com/byucesoy","followers_url":"https://api.github.com/users/byucesoy/followers","following_url":"https://api.github.com/users/byucesoy/following{/other_user}","gists_url":"https://api.github.com/users/byucesoy/gists{/gist_id}","starred_url":"https://api.github.com/users/byucesoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/byucesoy/subscriptions","organizations_url":"https://api.github.com/users/byucesoy/orgs","repos_url":"https://api.github.com/users/byucesoy/repos","events_url":"https://api.github.com/users/byucesoy/events{/privacy}","received_events_url":"https://api.github.com/users/byucesoy/received_events","type":"User","site_admin":false},"body":"JOINs should be aligned with FROM. (We should have fixed this in previous PRs too)","created_at":"2018-08-27T13:07:07Z","updated_at":"2018-08-27T13:07:23Z","html_url":"https://github.com/NaisilaPuka/pghero/pull/6#discussion_r212967435","pull_request_url":"https://api.github.com/repos/NaisilaPuka/pghero/pulls/6","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/NaisilaPuka/pghero/pulls/comments/212967435"},"html":{"href":"https://github.com/NaisilaPuka/pghero/pull/6#discussion_r212967435"},"pull_request":{"href":"https://api.github.com/repos/NaisilaPuka/pghero/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/NaisilaPuka/pghero/pulls/6","id":208581859,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4NTgxODU5","html_url":"https://github.com/NaisilaPuka/pghero/pull/6","diff_url":"https://github.com/NaisilaPuka/pghero/pull/6.diff","patch_url":"https://github.com/NaisilaPuka/pghero/pull/6.patch","issue_url":"https://api.github.com/repos/NaisilaPuka/pghero/issues/6","number":6,"state":"open","locked":false,"title":" Make index_hit_rate, index_caching and index_usage methods Citus compatible","user":{"login":"NaisilaPuka","id":37271756,"node_id":"MDQ6VXNlcjM3MjcxNzU2","avatar_url":"https://avatars0.githubusercontent.com/u/37271756?v=4","gravatar_id":"","url":"https://api.github.com/users/NaisilaPuka","html_url":"https://github.com/NaisilaPuka","followers_url":"https://api.github.com/users/NaisilaPuka/followers","following_url":"https://api.github.com/users/NaisilaPuka/following{/other_user}","gists_url":"https://api.github.com/users/NaisilaPuka/gists{/gist_id}","starred_url":"https://api.github.com/users/NaisilaPuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NaisilaPuka/subscriptions","organizations_url":"https://api.github.com/users/NaisilaPuka/orgs","repos_url":"https://api.github.com/users/NaisilaPuka/repos","events_url":"https://api.github.com/users/NaisilaPuka/events{/privacy}","received_events_url":"https://api.github.com/users/NaisilaPuka/received_events","type":"User","site_admin":false},"body":"I have modified `index_hit_rate`, `index_caching` and `index_usage` with an `if else` statement depending on `citus_enabled` variable. I am mostly running command on placements for distributed tables. The method currently being used in the project is `index_hit_rate`.","created_at":"2018-08-15T14:38:49Z","updated_at":"2018-08-27T13:07:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b38a8432172aa5357851620e635f485e37b2ce01","assignee":null,"assignees":[],"requested_reviewers":[{"login":"onderkalaci","id":7829470,"node_id":"MDQ6VXNlcjc4Mjk0NzA=","avatar_url":"https://avatars2.githubusercontent.com/u/7829470?v=4","gravatar_id":"","url":"https://api.github.com/users/onderkalaci","html_url":"https://github.com/onderkalaci","followers_url":"https://api.github.com/users/onderkalaci/followers","following_url":"https://api.github.com/users/onderkalaci/following{/other_user}","gists_url":"https://api.github.com/users/onderkalaci/gists{/gist_id}","starred_url":"https://api.github.com/users/onderkalaci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onderkalaci/subscriptions","organizations_url":"https://api.github.com/users/onderkalaci/orgs","repos_url":"https://api.github.com/users/onderkalaci/repos","events_url":"https://api.github.com/users/onderkalaci/events{/privacy}","received_events_url":"https://api.github.com/users/onderkalaci/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/NaisilaPuka/pghero/pulls/6/commits","review_comments_url":"https://api.github.com/repos/NaisilaPuka/pghero/pulls/6/comments","review_comment_url":"https://api.github.com/repos/NaisilaPuka/pghero/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NaisilaPuka/pghero/issues/6/comments","statuses_url":"https://api.github.com/repos/NaisilaPuka/pghero/statuses/e4b83145f066657e86b8f72d6a57f198e6d2fd05","head":{"label":"NaisilaPuka:citus_index_1","ref":"citus_index_1","sha":"e4b83145f066657e86b8f72d6a57f198e6d2fd05","user":{"login":"NaisilaPuka","id":37271756,"node_id":"MDQ6VXNlcjM3MjcxNzU2","avatar_url":"https://avatars0.githubusercontent.com/u/37271756?v=4","gravatar_id":"","url":"https://api.github.com/users/NaisilaPuka","html_url":"https://github.com/NaisilaPuka","followers_url":"https://api.github.com/users/NaisilaPuka/followers","following_url":"https://api.github.com/users/NaisilaPuka/following{/other_user}","gists_url":"https://api.github.com/users/NaisilaPuka/gists{/gist_id}","starred_url":"https://api.github.com/users/NaisilaPuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NaisilaPuka/subscriptions","organizations_url":"https://api.github.com/users/NaisilaPuka/orgs","repos_url":"https://api.github.com/users/NaisilaPuka/repos","events_url":"https://api.github.com/users/NaisilaPuka/events{/privacy}","received_events_url":"https://api.github.com/users/NaisilaPuka/received_events","type":"User","site_admin":false},"repo":{"id":138748640,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg3NDg2NDA=","name":"pghero","full_name":"NaisilaPuka/pghero","owner":{"login":"NaisilaPuka","id":37271756,"node_id":"MDQ6VXNlcjM3MjcxNzU2","avatar_url":"https://avatars0.githubusercontent.com/u/37271756?v=4","gravatar_id":"","url":"https://api.github.com/users/NaisilaPuka","html_url":"https://github.com/NaisilaPuka","followers_url":"https://api.github.com/users/NaisilaPuka/followers","following_url":"https://api.github.com/users/NaisilaPuka/following{/other_user}","gists_url":"https://api.github.com/users/NaisilaPuka/gists{/gist_id}","starred_url":"https://api.github.com/users/NaisilaPuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NaisilaPuka/subscriptions","organizations_url":"https://api.github.com/users/NaisilaPuka/orgs","repos_url":"https://api.github.com/users/NaisilaPuka/repos","events_url":"https://api.github.com/users/NaisilaPuka/events{/privacy}","received_events_url":"https://api.github.com/users/NaisilaPuka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NaisilaPuka/pghero","description":"A performance dashboard for Postgres","fork":true,"url":"https://api.github.com/repos/NaisilaPuka/pghero","forks_url":"https://api.github.com/repos/NaisilaPuka/pghero/forks","keys_url":"https://api.github.com/repos/NaisilaPuka/pghero/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NaisilaPuka/pghero/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NaisilaPuka/pghero/teams","hooks_url":"https://api.github.com/repos/NaisilaPuka/pghero/hooks","issue_events_url":"https://api.github.com/repos/NaisilaPuka/pghero/issues/events{/number}","events_url":"https://api.github.com/repos/NaisilaPuka/pghero/events","assignees_url":"https://api.github.com/repos/NaisilaPuka/pghero/assignees{/user}","branches_url":"https://api.github.com/repos/NaisilaPuka/pghero/branches{/branch}","tags_url":"https://api.github.com/repos/NaisilaPuka/pghero/tags","blobs_url":"https://api.github.com/repos/NaisilaPuka/pghero/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NaisilaPuka/pghero/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NaisilaPuka/pghero/git/refs{/sha}","trees_url":"https://api.github.com/repos/NaisilaPuka/pghero/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NaisilaPuka/pghero/statuses/{sha}","languages_url":"https://api.github.com/repos/NaisilaPuka/pghero/languages","stargazers_url":"https://api.github.com/repos/NaisilaPuka/pghero/stargazers","contributors_url":"https://api.github.com/repos/NaisilaPuka/pghero/contributors","subscribers_url":"https://api.github.com/repos/NaisilaPuka/pghero/subscribers","subscription_url":"https://api.github.com/repos/NaisilaPuka/pghero/subscription","commits_url":"https://api.github.com/repos/NaisilaPuka/pghero/commits{/sha}","git_commits_url":"https://api.github.com/repos/NaisilaPuka/pghero/git/commits{/sha}","comments_url":"https://api.github.com/repos/NaisilaPuka/pghero/comments{/number}","issue_comment_url":"https://api.github.com/repos/NaisilaPuka/pghero/issues/comments{/number}","contents_url":"https://api.github.com/repos/NaisilaPuka/pghero/contents/{+path}","compare_url":"https://api.github.com/repos/NaisilaPuka/pghero/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NaisilaPuka/pghero/merges","archive_url":"https://api.github.com/repos/NaisilaPuka/pghero/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NaisilaPuka/pghero/downloads","issues_url":"https://api.github.com/repos/NaisilaPuka/pghero/issues{/number}","pulls_url":"https://api.github.com/repos/NaisilaPuka/pghero/pulls{/number}","milestones_url":"https://api.github.com/repos/NaisilaPuka/pghero/milestones{/number}","notifications_url":"https://api.github.com/repos/NaisilaPuka/pghero/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NaisilaPuka/pghero/labels{/name}","releases_url":"https://api.github.com/repos/NaisilaPuka/pghero/releases{/id}","deployments_url":"https://api.github.com/repos/NaisilaPuka/pghero/deployments","created_at":"2018-06-26T14:18:40Z","updated_at":"2018-08-27T12:53:33Z","pushed_at":"2018-08-27T13:05:08Z","git_url":"git://github.com/NaisilaPuka/pghero.git","ssh_url":"git@github.com:NaisilaPuka/pghero.git","clone_url":"https://github.com/NaisilaPuka/pghero.git","svn_url":"https://github.com/NaisilaPuka/pghero","homepage":"","size":1302,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"NaisilaPuka:master","ref":"master","sha":"f65190a2d9695a4522ed93f3de7c86c6507102e4","user":{"login":"NaisilaPuka","id":37271756,"node_id":"MDQ6VXNlcjM3MjcxNzU2","avatar_url":"https://avatars0.githubusercontent.com/u/37271756?v=4","gravatar_id":"","url":"https://api.github.com/users/NaisilaPuka","html_url":"https://github.com/NaisilaPuka","followers_url":"https://api.github.com/users/NaisilaPuka/followers","following_url":"https://api.github.com/users/NaisilaPuka/following{/other_user}","gists_url":"https://api.github.com/users/NaisilaPuka/gists{/gist_id}","starred_url":"https://api.github.com/users/NaisilaPuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NaisilaPuka/subscriptions","organizations_url":"https://api.github.com/users/NaisilaPuka/orgs","repos_url":"https://api.github.com/users/NaisilaPuka/repos","events_url":"https://api.github.com/users/NaisilaPuka/events{/privacy}","received_events_url":"https://api.github.com/users/NaisilaPuka/received_events","type":"User","site_admin":false},"repo":{"id":138748640,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg3NDg2NDA=","name":"pghero","full_name":"NaisilaPuka/pghero","owner":{"login":"NaisilaPuka","id":37271756,"node_id":"MDQ6VXNlcjM3MjcxNzU2","avatar_url":"https://avatars0.githubusercontent.com/u/37271756?v=4","gravatar_id":"","url":"https://api.github.com/users/NaisilaPuka","html_url":"https://github.com/NaisilaPuka","followers_url":"https://api.github.com/users/NaisilaPuka/followers","following_url":"https://api.github.com/users/NaisilaPuka/following{/other_user}","gists_url":"https://api.github.com/users/NaisilaPuka/gists{/gist_id}","starred_url":"https://api.github.com/users/NaisilaPuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NaisilaPuka/subscriptions","organizations_url":"https://api.github.com/users/NaisilaPuka/orgs","repos_url":"https://api.github.com/users/NaisilaPuka/repos","events_url":"https://api.github.com/users/NaisilaPuka/events{/privacy}","received_events_url":"https://api.github.com/users/NaisilaPuka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NaisilaPuka/pghero","description":"A performance dashboard for Postgres","fork":true,"url":"https://api.github.com/repos/NaisilaPuka/pghero","forks_url":"https://api.github.com/repos/NaisilaPuka/pghero/forks","keys_url":"https://api.github.com/repos/NaisilaPuka/pghero/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NaisilaPuka/pghero/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NaisilaPuka/pghero/teams","hooks_url":"https://api.github.com/repos/NaisilaPuka/pghero/hooks","issue_events_url":"https://api.github.com/repos/NaisilaPuka/pghero/issues/events{/number}","events_url":"https://api.github.com/repos/NaisilaPuka/pghero/events","assignees_url":"https://api.github.com/repos/NaisilaPuka/pghero/assignees{/user}","branches_url":"https://api.github.com/repos/NaisilaPuka/pghero/branches{/branch}","tags_url":"https://api.github.com/repos/NaisilaPuka/pghero/tags","blobs_url":"https://api.github.com/repos/NaisilaPuka/pghero/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NaisilaPuka/pghero/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NaisilaPuka/pghero/git/refs{/sha}","trees_url":"https://api.github.com/repos/NaisilaPuka/pghero/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NaisilaPuka/pghero/statuses/{sha}","languages_url":"https://api.github.com/repos/NaisilaPuka/pghero/languages","stargazers_url":"https://api.github.com/repos/NaisilaPuka/pghero/stargazers","contributors_url":"https://api.github.com/repos/NaisilaPuka/pghero/contributors","subscribers_url":"https://api.github.com/repos/NaisilaPuka/pghero/subscribers","subscription_url":"https://api.github.com/repos/NaisilaPuka/pghero/subscription","commits_url":"https://api.github.com/repos/NaisilaPuka/pghero/commits{/sha}","git_commits_url":"https://api.github.com/repos/NaisilaPuka/pghero/git/commits{/sha}","comments_url":"https://api.github.com/repos/NaisilaPuka/pghero/comments{/number}","issue_comment_url":"https://api.github.com/repos/NaisilaPuka/pghero/issues/comments{/number}","contents_url":"https://api.github.com/repos/NaisilaPuka/pghero/contents/{+path}","compare_url":"https://api.github.com/repos/NaisilaPuka/pghero/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NaisilaPuka/pghero/merges","archive_url":"https://api.github.com/repos/NaisilaPuka/pghero/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NaisilaPuka/pghero/downloads","issues_url":"https://api.github.com/repos/NaisilaPuka/pghero/issues{/number}","pulls_url":"https://api.github.com/repos/NaisilaPuka/pghero/pulls{/number}","milestones_url":"https://api.github.com/repos/NaisilaPuka/pghero/milestones{/number}","notifications_url":"https://api.github.com/repos/NaisilaPuka/pghero/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NaisilaPuka/pghero/labels{/name}","releases_url":"https://api.github.com/repos/NaisilaPuka/pghero/releases{/id}","deployments_url":"https://api.github.com/repos/NaisilaPuka/pghero/deployments","created_at":"2018-06-26T14:18:40Z","updated_at":"2018-08-27T12:53:33Z","pushed_at":"2018-08-27T13:05:08Z","git_url":"git://github.com/NaisilaPuka/pghero.git","ssh_url":"git@github.com:NaisilaPuka/pghero.git","clone_url":"https://github.com/NaisilaPuka/pghero.git","svn_url":"https://github.com/NaisilaPuka/pghero","homepage":"","size":1302,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NaisilaPuka/pghero/pulls/6"},"html":{"href":"https://github.com/NaisilaPuka/pghero/pull/6"},"issue":{"href":"https://api.github.com/repos/NaisilaPuka/pghero/issues/6"},"comments":{"href":"https://api.github.com/repos/NaisilaPuka/pghero/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/NaisilaPuka/pghero/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/NaisilaPuka/pghero/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NaisilaPuka/pghero/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/NaisilaPuka/pghero/statuses/e4b83145f066657e86b8f72d6a57f198e6d2fd05"}},"author_association":"OWNER"}}
{"actor":{"display_login":"byucesoy"}}