{"id":2694,"date":"2022-11-01T22:43:44","date_gmt":"2022-11-01T13:43:44","guid":{"rendered":"https:\/\/blog.since2020.jp\/?p=2694"},"modified":"2023-01-31T09:40:50","modified_gmt":"2023-01-31T00:40:50","slug":"looker4_connection","status":"publish","type":"post","link":"https:\/\/since2020.jp\/media\/looker4_connection\/","title":{"rendered":"Looker\u3067\u7d4c\u55b6\u30c7\u30fc\u30bf\u5206\u6790\uff01#4\u3000Looker\u3078\u306e\u30c7\u30fc\u30bf\u63a5\u7d9a\u3001\u30e2\u30c7\u30ea\u30f3\u30b0\uff08LookML\uff09"},"content":{"rendered":"\n<p>\u4eca\u56de\u306fLooker\u3078\u306e\u30c7\u30fc\u30bf\u63a5\u7d9a\u3068\u30e2\u30c7\u30ea\u30f3\u30b0\uff08LookML\uff09\u306e\u8a71\u3067\u3059\u3002<\/p>\n\n\n<h2>Looler\u306eDB\u63a5\u7d9a<\/h2>\nLooker\u306f60\u4ee5\u4e0a\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u63a5\u7d9a\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u3002\r\n<a href=\"https:\/\/docs.looker.com\/setup-and-management\/database-config\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">https:\/\/docs.looker.com\/setup-and-management\/database-config<\/a>\r\nAWS\u3001Azure\u306eDB\u3084Microsoft SQL Server\u3001MySQL\u306a\u3069\u8457\u540d\u306aDB\u306f\u5927\u4f53\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u306d\u3002<a href=\"https:\/\/note.com\/yoshi223_since\/n\/n308072ab1170\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">#1<\/a>\u3067\u3082\u89e6\u308c\u307e\u3057\u305f\u304c\u30ed\u30fc\u30ab\u30eb\u30d5\u30a1\u30a4\u30eb\u306e\u53d6\u308a\u8fbc\u307f\u306f\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u30c7\u30fc\u30bf\u306e\u5b8c\u5168\u6027\u63a8\u9032\u3084\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u62c5\u4fdd\u306e\u30dd\u30ea\u30b7\u30fc\u3092\u898b\u308c\u3070\u3001\u7d0d\u5f97\u3068\u3044\u3046\u611f\u3058\u3067\u3059\u3002\r\n\r\nDB\u63a5\u7d9a\u81ea\u4f53\u306f10\u5206\u3067\u7d42\u308f\u308b\u304f\u3089\u3044\u7c21\u5358\u3067\u3059\u3002DB\u306fBigQuery\u306a\u306e\u3067\u3001Looker\u63a5\u7d9a\u7528\u306e\u30b5\u30fc\u30d3\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210\u2192JSON\u30ad\u30fc\u3092Looker\u753b\u9762\u3067\u8a2d\u5b9a\u3057\u3066\u63a5\u7d9a\u8a8d\u8a3c\u3057\u307e\u3059\u3002\r\n<a href=\"https:\/\/docs.looker.com\/ja\/setup-and-management\/database-config\/google-bigquery\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">https:\/\/docs.looker.com\/ja\/setup-and-management\/database-config\/google-bigquery<\/a>\r\n\r\nLooker\u304b\u3089DB\u3092\u53c2\u7167\u3067\u304d\u308b\u72b6\u614b\u306b\u306a\u3063\u305f\u306e\u3067\u3001\u6b21\u306bLookML\u3092\u4f5c\u3063\u3066\u3044\u304d\u307e\u3059\u3002LookML\u306fDB\u3068\u30e6\u30fc\u30b6\u306e\u9593\u306e\u30e2\u30c7\u30ea\u30f3\u30b0\u5c64\u306b\u3042\u305f\u308a\u307e\u3059\u3002\r\n\u4f8b\u3048\u3070DB\u306e\u58f2\u4e0a\u3084\u5951\u7d04\u7387\u306a\u3069\u306e\u30c7\u30fc\u30bf\u3092Looker\u3067\u8868\u793a\u3059\u308b\u3068\u304d\u306b\u3001\u5408\u8a08\u3067\u51fa\u3059\u304b\u5e73\u5747\u3067\u51fa\u3059\u304b\u5b9a\u7fa9\u3057\u305f\u308a\u3057\u307e\u3059\u3002\uff08\u58f2\u4e0a\u2192\u5408\u8a08\u3001\u5951\u7d04\u7387\u2192\u5e73\u5747\u3067\u3059\u306d\uff09\r\nLookML\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u3044\u304f\u3064\u304b\u306e\u30ec\u30a4\u30e4\u30fc\u3067\u69cb\u6210\u3055\u308c\u3066\u3044\u3066\u3001\u6700\u521d\u5206\u304b\u308a\u306b\u304f\u3044\u3068\u601d\u3046\u306e\u3067\u8aac\u660e\u3057\u307e\u3059\u3002\n\n<h2>\u5404\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/h2>\n<img decoding=\"async\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/60366016\/picture_pc_2c63d3d152cbe7fbefa74c6e77b1da61.png?width=800\" alt=\"\u753b\u50cf1\" \/>\r\n\r\n<b>Project<\/b>\r\n\u6700\u4e0a\u4f4d\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002\u7570\u306a\u308b\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u3067\u4f7f\u7528\u3057\u307e\u3059\u3002Git\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u304c\u3053\u306e\u30ec\u30a4\u30e4\u30fc\u3067\u884c\u308f\u308c\u308b\u306e\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u6bce\u306b\u5207\u308a\u5206\u3051\u308b\u3068\u3044\u3044\u3067\u3057\u3087\u3046\u3002\r\n<b>Models<\/b>\r\n\u3053\u306e\u30ec\u30a4\u30e4\u30fc\u3067\u8907\u6570\u30c6\u30fc\u30d6\u30eb\u306eJOIN\u3084\u4e0b\u306e\u30ec\u30a4\u30e4\u30fc\u306eExplores\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u63a5\u7d9aDB\u306e\u3053\u306e\u7bc4\u56f2\u306e\u30c7\u30fc\u30bf\u3092\u4f7f\u3044\u307e\u3059\u3063\u3066\u3044\u3046\u305d\u306e\u540d\u306e\u901a\u308a\u3001\u30c7\u30fc\u30bf\u30e2\u30c7\u30eb\u306e\u30ec\u30a4\u30e4\u30fc\u3067\u3059\u3002\r\n<b>Explores<\/b>\r\n\u30e6\u30fc\u30b6\u306e\u30c7\u30fc\u30bf\u5206\u6790\u306e\u51fa\u767a\u70b9\u3068\u306a\u308b\u30ec\u30a4\u30e4\u30fc\u3067\u3059\u3002\u58f2\u4e0a\u660e\u7d30\u3001\u5e83\u544a\u8cbb\u306a\u3069\u30d3\u30b8\u30cd\u30b9\u30c6\u30fc\u30de\u306b\u5408\u308f\u305b\u3066\u307e\u3068\u3081\u308b\u3068\u3044\u3044\u611f\u3058\u3067\u3059\u3002\r\n<b>Views<\/b>\r\nViews = DB\u306e\u30c6\u30fc\u30d6\u30eb\u3067\u3059\u3002Looker\u4e0a\u3067JOIN\u3057\u305f\u4eee\u60f3\u30c6\u30fc\u30d6\u30eb\u3082Views\u306b\u5bfe\u5fdc\u3057\u307e\u3059\u3002Views\u306e\u4e2d\u306bDimension\u3001Measure\u304c\u542b\u307e\u308c\u3001Dimension\u304c\u671f\u9593\u3084\u58f2\u4e0a\u533a\u5206\u3001\u9867\u5ba2\u5c5e\u6027\u306a\u3069\u306e\u30c7\u30fc\u30bf\u3092\u898b\u308b\u5207\u308a\u53e3\u3001Measure\u304c\u58f2\u4e0a\u3084\u5951\u7d04\u6570\u306a\u3069\u306e\u6307\u6a19\u3067\u3059\u3002\r\n\u4f8b\u3048\u3070\u3000\u671f\u9593 * \u58f2\u4e0a\u533a\u5206 * \u58f2\u4e0a\u3000\u3067\u7279\u5b9a\u671f\u9593\u306e\u58f2\u4e0a\u533a\u5206\u5225\u306e\u58f2\u4e0a\r\n\u58f2\u4e0a\u533a\u5206 * \u9867\u5ba2\u5c5e\u6027 * \u58f2\u4e0a\u3000\u3067\u58f2\u4e0a\u533a\u5206\u5225\u306e\u5404\u9867\u5ba2\u5c5e\u6027\u306e\u58f2\u4e0a\u3067\u3059\u3002\r\n\u3053\u306e\u3088\u3046\u306bViews\u3067\u4f5c\u3063\u305fDimension\u3068Measure\u306e\u639b\u3051\u5408\u308f\u305b\u304c\u30c7\u30fc\u30bf\u5206\u6790\u306e\u5165\u308a\u53e3\u306b\u306a\u308a\u307e\u3059\u3002\r\n\r\n\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u3042\u308a\u3001\u30c7\u30fc\u30bf\u30e2\u30c7\u30eb\u304c\u3042\u308a\u3001\u30d3\u30b8\u30cd\u30b9\u30c6\u30fc\u30de\u6bce\u306b\u307e\u3068\u3081\u305f\u30a8\u30af\u30b9\u30d7\u30ed\u30fc\u30e9\u30fc\u304c\u3042\u308a\u3001DB\u306e\uff11\u30c6\u30fc\u30d6\u30eb\u3068\u30a4\u30b3\u30fc\u30eb\u306e\u30d3\u30e5\u30fc\u304c\u3042\u308b&#8230;\u3068\u3044\u3046\u6d41\u308c\u3067\u3059\u3002\u82e5\u5e72\u7169\u96d1\u305d\u3046\u306b\u898b\u3048\u307e\u3059\u304c\u3001\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u304c\u304d\u3061\u3093\u3068\u6574\u5f62\u3055\u308c\u3066\u3044\u308c\u3070\u3001LookML\u3067\u306fMeasure\u3092\u5b9a\u7fa9\u3059\u308b\u3060\u3051\u3067\u3059\u3050\u306b\u53ef\u8996\u5316\u3067\u304d\u307e\u3059\u3002\r\n\r\n<a href=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/60370653\/picture_pc_2fd125b65413691b3cd00c63d56159a6.png?width=2000&amp;height=2000&amp;fit=bounds&amp;quality=85\" aria-label=\"\u753b\u50cf2\u3092\u62e1\u5927\u8868\u793a\"><img decoding=\"async\" class=\"is-slide lazyloaded\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/60370653\/picture_pc_2fd125b65413691b3cd00c63d56159a6.png?width=800\" alt=\"\u753b\u50cf2\" width=\"620\" height=\"326\" data-src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/60370653\/picture_pc_2fd125b65413691b3cd00c63d56159a6.png?width=800\" data-modal=\"true\" \/><\/a>\r\n\r\nDimension\u3068Measure\u3092\u9078\u629e\u3001\u5b9f\u884c\u3067\u53ef\u8996\u5316\uff01\r\n\u3053\u306e\u307e\u307e\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306b\u30b0\u30e9\u30d5\u3068\u3057\u3066\u914d\u7f6e\u3057\u305f\u308a\u3001\u30e1\u30fc\u30eb\u3084Slack\u306b\u53ef\u8996\u5316\u30c7\u30fc\u30bf\u3092\u9001\u308c\u307e\u3059\u3002\n\n<h2>\u307e\u3068\u3081<\/h2>\nBigQuery\u306b\u96c6\u3081\u3066\u4e00\u5143\u5316\u3057\u305f\u30c7\u30fc\u30bf\u3092Looker\u63a5\u7d9a\u3001LookML\u3067\u30d3\u30b8\u30cd\u30b9\u30c6\u30fc\u30de\u6bce\u306bExplores\u3092\u5207\u308a\u5206\u3051\u3066\u3001Dimension\u3068Measure\u3092\u4f5c\u6210\u3002\r\nDimension\u3068Measure\u306e\u9078\u629e\u3067\u53ef\u8996\u5316\u304cLooker\u4e0a\u3067\u7c21\u5358\u306b\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u30021\u30af\u30ea\u30c3\u30af\u3067\u898b\u305f\u3044\u30c7\u30fc\u30bf\u304c\u3059\u3050\u53ef\u8996\u5316\u3055\u308c\u308b\u306e\u306f\u723d\u5feb\u3067\u3059..","protected":false},"excerpt":{"rendered":"<p>\u4eca\u56de\u306fLooker\u3078\u306e\u30c7\u30fc\u30bf\u63a5\u7d9a\u3068\u30e2\u30c7\u30ea\u30f3\u30b0\uff08LookML\uff09\u306e\u8a71\u3067\u3059\u3002 Looler\u306eDB\u63a5\u7d9a Looker\u306f60\u4ee5\u4e0a\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u63a5\u7d9a\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u3002 https:\/\/docs.looker.com\/setup-an [&hellip;]<\/p>\n","protected":false},"author":75,"featured_media":1794,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","swell_btn_cv_data":"","footnotes":"","_wp_rev_ctl_limit":""},"categories":[1246],"tags":[108,58,39],"class_list":["post-2694","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-infrastructure","tag-bigquery","tag-looker","tag-39"],"_links":{"self":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/2694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/comments?post=2694"}],"version-history":[{"count":0,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/2694\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media\/1794"}],"wp:attachment":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media?parent=2694"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/categories?post=2694"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/tags?post=2694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}