{"id":1844,"date":"2025-01-22T13:47:11","date_gmt":"2025-01-22T05:47:11","guid":{"rendered":"https:\/\/www.fanyamin.com\/wordpress\/?p=1844"},"modified":"2025-01-22T13:47:11","modified_gmt":"2025-01-22T05:47:11","slug":"databricks-and-superset","status":"publish","type":"post","link":"https:\/\/www.fanyamin.com\/wordpress\/?p=1844","title":{"rendered":"Databricks and Superset"},"content":{"rendered":"<h3><strong>Databricks<\/strong><\/h3>\n<p>Databricks \u662f\u4e00\u4e2a\u57fa\u4e8e\u4e91\u7684\u7edf\u4e00\u6570\u636e\u5206\u6790\u5e73\u53f0\uff0c\u4e13\u4e3a\u5927\u89c4\u6a21\u6570\u636e\u5904\u7406\u3001\u6570\u636e\u79d1\u5b66\u3001\u673a\u5668\u5b66\u4e60\u548c\u6570\u636e\u5de5\u7a0b\u8bbe\u8ba1\u3002\u5b83\u7531 Apache Spark \u7684\u521b\u59cb\u56e2\u961f\u521b\u5efa\uff0c\u65e8\u5728\u4f7f\u5927\u89c4\u6a21\u6570\u636e\u5206\u6790\u66f4\u52a0\u7b80\u5355\u3001\u9ad8\u6548\u548c\u534f\u4f5c\u3002<\/p>\n<h4><strong>\u4e3b\u8981\u7279\u70b9<\/strong><\/h4>\n<ol>\n<li>\n<p><strong>\u591a\u7528\u9014\u5e73\u53f0\uff1a<\/strong><\/p>\n<ul>\n<li>\u652f\u6301\u6570\u636e\u5de5\u7a0b\u3001\u6570\u636e\u79d1\u5b66\u548c\u6570\u636e\u5206\u6790\u3002<\/li>\n<li>\u63d0\u4f9b ETL\uff08\u63d0\u53d6\u3001\u8f6c\u6362\u3001\u52a0\u8f7d\uff09\u3001\u6570\u636e\u63a2\u7d22\u3001\u673a\u5668\u5b66\u4e60\u6a21\u578b\u8bad\u7ec3\u548c\u90e8\u7f72\u7b49\u529f\u80fd\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u7edf\u4e00\u7684\u6570\u636e\u7ba1\u7406\uff1a<\/strong><\/p>\n<ul>\n<li>\u652f\u6301\u5904\u7406\u7ed3\u6784\u5316\u548c\u975e\u7ed3\u6784\u5316\u6570\u636e\u3002<\/li>\n<li>\u4e0e\u6570\u636e\u6e56\u548c\u6570\u636e\u4ed3\u5e93\u96c6\u6210\uff08\u4f8b\u5982 Delta Lake\uff09\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u9ad8\u6548\u7684\u8ba1\u7b97\u5f15\u64ce\uff1a<\/strong><\/p>\n<ul>\n<li>\u4f7f\u7528\u4f18\u5316\u7684 Apache Spark \u5f15\u64ce\u4ee5\u5904\u7406\u5927\u89c4\u6a21\u6570\u636e\u3002<\/li>\n<li>\u63d0\u4f9b\u81ea\u52a8\u5316\u4f18\u5316\u548c\u52a8\u6001\u5206\u533a\u7ba1\u7406\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u534f\u4f5c\u529f\u80fd\uff1a<\/strong><\/p>\n<ul>\n<li>\u63d0\u4f9b\u7b14\u8bb0\u672c\uff08Notebook\uff09\u73af\u5883\uff0c\u652f\u6301 Python\u3001R\u3001Scala \u548c SQL\u3002<\/li>\n<li>\u652f\u6301\u56e2\u961f\u534f\u4f5c\u548c\u5b9e\u65f6\u5171\u4eab\u5de5\u4f5c\u7ed3\u679c\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u591a\u4e91\u652f\u6301\uff1a<\/strong><\/p>\n<ul>\n<li>\u53ef\u90e8\u7f72\u5728\u4e3b\u6d41\u4e91\u5e73\u53f0\u4e0a\uff08\u5982 AWS\u3001Azure \u548c Google Cloud\uff09\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u5b89\u5168\u6027\u548c\u53ef\u6269\u5c55\u6027\uff1a<\/strong><\/p>\n<ul>\n<li>\u63d0\u4f9b\u6570\u636e\u52a0\u5bc6\u3001\u7528\u6237\u8bbf\u95ee\u63a7\u5236\u548c\u5ba1\u8ba1\u529f\u80fd\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h4><strong>\u5e94\u7528\u573a\u666f<\/strong><\/h4>\n<ul>\n<li><strong>\u6570\u636e\u6e56\u5206\u6790<\/strong>\uff1a\u7528\u4e8e\u6570\u636e\u6e05\u6d17\u3001\u8f6c\u6362\u548c\u5206\u6790\u3002<\/li>\n<li><strong>\u673a\u5668\u5b66\u4e60<\/strong>\uff1a\u8bad\u7ec3\u548c\u90e8\u7f72\u6a21\u578b\u3002<\/li>\n<li><strong>\u6570\u636e\u96c6\u6210<\/strong>\uff1a\u5c06\u4e0d\u540c\u6765\u6e90\u7684\u6570\u636e\u96c6\u6210\u5230\u7edf\u4e00\u7684\u5e73\u53f0\u3002<\/li>\n<li><strong>BI \u548c\u62a5\u8868\u652f\u6301<\/strong>\uff1a\u4e0e BI \u5de5\u5177\u96c6\u6210\uff08\u5982 Tableau\u3001Power BI \u548c Superset\uff09\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3><strong>Apache Superset<\/strong><\/h3>\n<p>Apache Superset \u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u5546\u4e1a\u667a\u80fd\uff08BI\uff09\u5e73\u53f0\uff0c\u7528\u4e8e\u4ea4\u4e92\u5f0f\u6570\u636e\u53ef\u89c6\u5316\u548c\u4eea\u8868\u76d8\u6784\u5efa\u3002\u5b83\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7528\u6237\u53cb\u597d\u7684\u754c\u9762\uff0c\u5141\u8bb8\u7528\u6237\u4ece\u5404\u79cd\u6570\u636e\u6e90\u4e2d\u63d0\u53d6\u6570\u636e\u5e76\u521b\u5efa\u56fe\u8868\u548c\u4eea\u8868\u76d8\u3002<\/p>\n<h4><strong>\u4e3b\u8981\u7279\u70b9<\/strong><\/h4>\n<ol>\n<li>\n<p><strong>\u76f4\u89c2\u7684\u754c\u9762\uff1a<\/strong><\/p>\n<ul>\n<li>\u63d0\u4f9b\u62d6\u653e\u5f0f\u56fe\u8868\u6784\u5efa\u5de5\u5177\uff0c\u9002\u5408\u975e\u6280\u672f\u7528\u6237\u3002<\/li>\n<li>\u652f\u6301 SQL \u7f16\u8f91\u5668\uff0c\u9002\u5408\u6280\u672f\u7528\u6237\u7f16\u5199\u590d\u6742\u67e5\u8be2\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u4e30\u5bcc\u7684\u53ef\u89c6\u5316\u9009\u9879\uff1a<\/strong><\/p>\n<ul>\n<li>\u652f\u6301\u591a\u79cd\u56fe\u8868\u7c7b\u578b\uff08\u6298\u7ebf\u56fe\u3001\u67f1\u72b6\u56fe\u3001\u997c\u56fe\u3001\u5730\u56fe\u7b49\uff09\u3002<\/li>\n<li>\u63d0\u4f9b\u52a8\u6001\u4ea4\u4e92\u5f0f\u4eea\u8868\u76d8\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u6570\u636e\u8fde\u63a5\uff1a<\/strong><\/p>\n<ul>\n<li>\u652f\u6301\u8fde\u63a5\u5230\u591a\u79cd\u6570\u636e\u6e90\uff0c\u5982\u5173\u7cfb\u578b\u6570\u636e\u5e93\uff08PostgreSQL\u3001MySQL\uff09\u3001\u6570\u636e\u4ed3\u5e93\uff08Redshift\u3001BigQuery\uff09\u548c\u5927\u6570\u636e\u5de5\u5177\uff08Presto\u3001Druid\uff09\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u7075\u6d3b\u6027\u548c\u6269\u5c55\u6027\uff1a<\/strong><\/p>\n<ul>\n<li>\u53ef\u81ea\u5b9a\u4e49\u4eea\u8868\u76d8\u548c\u63d2\u4ef6\u3002<\/li>\n<li>\u652f\u6301\u591a\u7528\u6237\u89d2\u8272\u7ba1\u7406\u548c\u5b89\u5168\u6027\u8bbe\u7f6e\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u5f00\u6e90\u4e14\u8f7b\u91cf\uff1a<\/strong><\/p>\n<ul>\n<li>\u5f00\u6e90\uff0c\u6613\u4e8e\u90e8\u7f72\u3002<\/li>\n<li>\u9002\u5408\u4e2d\u5c0f\u578b\u56e2\u961f\u5feb\u901f\u6784\u5efa BI \u7cfb\u7edf\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h4><strong>\u5e94\u7528\u573a\u666f<\/strong><\/h4>\n<ul>\n<li><strong>\u5b9e\u65f6\u6570\u636e\u76d1\u63a7<\/strong>\uff1a\u6784\u5efa\u4eea\u8868\u76d8\u4ee5\u76d1\u63a7\u5173\u952e\u4e1a\u52a1\u6307\u6807\uff08KPI\uff09\u3002<\/li>\n<li><strong>\u6570\u636e\u5206\u6790<\/strong>\uff1a\u5feb\u901f\u5206\u6790\u6570\u636e\u96c6\u7684\u6a21\u5f0f\u548c\u8d8b\u52bf\u3002<\/li>\n<li><strong>\u62a5\u8868\u548c\u5206\u4eab<\/strong>\uff1a\u521b\u5efa\u548c\u5206\u4eab\u5b9a\u5236\u5316\u7684\u62a5\u8868\u3002<\/li>\n<li><strong>BI \u66ff\u4ee3\u65b9\u6848<\/strong>\uff1a\u7528\u4f5c\u8f7b\u91cf\u7ea7 BI \u5de5\u5177\uff0c\u66ff\u4ee3\u66f4\u590d\u6742\u6216\u6602\u8d35\u7684\u5546\u4e1a\u5de5\u5177\uff08\u5982 Tableau\uff09\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3><strong>\u5bf9\u6bd4<\/strong><\/h3>\n<table>\n<thead>\n<tr>\n<th><strong>\u529f\u80fd<\/strong><\/th>\n<th><strong>Databricks<\/strong><\/th>\n<th><strong>Superset<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>\u76ee\u6807\u7528\u6237<\/strong><\/td>\n<td>\u6570\u636e\u5de5\u7a0b\u5e08\u3001\u6570\u636e\u79d1\u5b66\u5bb6<\/td>\n<td>\u6570\u636e\u5206\u6790\u5e08\u3001\u4e1a\u52a1\u4eba\u5458<\/td>\n<\/tr>\n<tr>\n<td><strong>\u7528\u9014<\/strong><\/td>\n<td>\u6570\u636e\u5904\u7406\u3001\u673a\u5668\u5b66\u4e60\u3001\u5927\u6570\u636e\u5206\u6790<\/td>\n<td>\u6570\u636e\u53ef\u89c6\u5316\u3001\u4eea\u8868\u76d8\u548c\u62a5\u544a\u521b\u5efa<\/td>\n<\/tr>\n<tr>\n<td><strong>\u6280\u672f\u6df1\u5ea6<\/strong><\/td>\n<td>\u6df1\u5165\u652f\u6301\u5927\u89c4\u6a21\u6570\u636e\u548c\u673a\u5668\u5b66\u4e60\u5e94\u7528<\/td>\n<td>\u66f4\u4fa7\u91cd\u7528\u6237\u53cb\u597d\u7684\u6570\u636e\u53ef\u89c6\u5316\u548c\u5c55\u793a<\/td>\n<\/tr>\n<tr>\n<td><strong>\u90e8\u7f72\u6a21\u5f0f<\/strong><\/td>\n<td>\u4e91\u7aef\uff08AWS\u3001Azure\u3001GCP\uff09<\/td>\n<td>\u672c\u5730\u6216\u4e91\u7aef<\/td>\n<\/tr>\n<tr>\n<td><strong>\u6570\u636e\u5904\u7406\u80fd\u529b<\/strong><\/td>\n<td>\u652f\u6301\u5927\u89c4\u6a21\u6570\u636e\u5904\u7406\u548c ETL \u7ba1\u9053<\/td>\n<td>\u4e3b\u8981\u5904\u7406\u5df2\u6574\u7406\u597d\u7684\u6570\u636e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5982\u679c\u4f60\u9700\u8981\u8fdb\u884c\u6570\u636e\u5904\u7406\u548c\u673a\u5668\u5b66\u4e60\u5de5\u4f5c\uff0cDatabricks \u662f\u4e00\u4e2a\u7406\u60f3\u7684\u9009\u62e9\u3002\u5982\u679c\u4f60\u66f4\u5173\u6ce8\u6570\u636e\u53ef\u89c6\u5316\u548c\u5feb\u901f\u6784\u5efa\u4eea\u8868\u76d8\uff0cSuperset \u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u4e14\u529f\u80fd\u5f3a\u5927\u7684\u5de5\u5177\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Databricks Databricks \u662f\u4e00\u4e2a\u57fa\u4e8e\u4e91\u7684\u7edf\u4e00\u6570\u636e\u5206\u6790\u5e73\u53f0\uff0c\u4e13\u4e3a\u5927\u89c4\u6a21\u6570\u636e\u5904\u7406\u3001\u6570\u636e\u79d1\u5b66\u3001\u673a\u5668\u5b66\u4e60\u548c\u6570\u636e\u5de5\u7a0b\u8bbe\u8ba1\u3002\u5b83\u7531 Apache Spark \u7684\u521b\u59cb\u56e2\u961f\u521b\u5efa\uff0c\u65e8\u5728\u4f7f\u5927\u89c4\u6a21\u6570\u636e\u5206\u6790\u66f4\u52a0\u7b80\u5355\u3001\u9ad8\u6548\u548c\u534f\u4f5c\u3002 \u4e3b\u8981\u7279\u70b9 \u591a\u7528\u9014\u5e73\u53f0\uff1a \u652f\u6301\u6570\u636e\u5de5\u7a0b\u3001\u6570\u636e\u79d1\u5b66\u548c\u6570\u636e\u5206\u6790\u3002 \u63d0\u4f9b ETL\uff08\u63d0\u53d6\u3001\u8f6c\u6362\u3001\u52a0\u8f7d\uff09\u3001\u6570\u636e\u63a2\u7d22\u3001\u673a\u5668\u5b66\u4e60\u6a21\u578b\u8bad\u7ec3\u548c\u90e8\u7f72\u7b49\u529f\u80fd\u3002 \u7edf\u4e00\u7684\u6570\u636e\u7ba1\u7406\uff1a \u652f\u6301\u5904\u7406\u7ed3\u6784\u5316\u548c\u975e\u7ed3\u6784\u5316\u6570\u636e\u3002 \u4e0e\u6570\u636e\u6e56\u548c\u6570\u636e\u4ed3\u5e93\u96c6\u6210\uff08\u4f8b\u5982 Delta Lake\uff09\u3002 \u9ad8\u6548\u7684\u8ba1\u7b97\u5f15\u64ce\uff1a \u4f7f\u7528\u4f18\u5316\u7684 Apache Spark \u5f15\u64ce\u4ee5\u5904\u7406\u5927\u89c4\u6a21\u6570\u636e\u3002 \u63d0\u4f9b\u81ea\u52a8\u5316\u4f18\u5316\u548c\u52a8\u6001\u5206\u533a\u7ba1\u7406\u3002 \u534f\u4f5c\u529f\u80fd\uff1a \u63d0\u4f9b\u7b14\u8bb0\u672c\uff08Notebook\uff09\u73af\u5883\uff0c\u652f\u6301 Python\u3001R\u3001Scala \u548c SQL\u3002 \u652f\u6301\u56e2\u961f\u534f\u4f5c\u548c\u5b9e\u65f6\u5171\u4eab\u5de5\u4f5c\u7ed3\u679c\u3002 \u591a\u4e91\u652f\u6301\uff1a \u53ef\u90e8\u7f72\u5728\u4e3b\u6d41\u4e91\u5e73\u53f0\u4e0a\uff08\u5982 AWS\u3001Azure \u548c Google Cloud\uff09\u3002 \u5b89\u5168\u6027\u548c\u53ef\u6269\u5c55\u6027\uff1a \u63d0\u4f9b\u6570\u636e\u52a0\u5bc6\u3001\u7528\u6237\u8bbf\u95ee\u63a7\u5236\u548c\u5ba1\u8ba1\u529f\u80fd\u3002 \u5e94\u7528\u573a\u666f \u6570\u636e\u6e56\u5206\u6790\uff1a\u7528\u4e8e\u6570\u636e\u6e05\u6d17\u3001\u8f6c\u6362\u548c\u5206\u6790\u3002 \u673a\u5668\u5b66\u4e60\uff1a\u8bad\u7ec3\u548c\u90e8\u7f72\u6a21\u578b\u3002 \u6570\u636e\u96c6\u6210\uff1a\u5c06\u4e0d\u540c\u6765\u6e90\u7684\u6570\u636e\u96c6\u6210\u5230\u7edf\u4e00\u7684\u5e73\u53f0\u3002 BI \u548c\u62a5\u8868\u652f\u6301\uff1a\u4e0e BI \u5de5\u5177\u96c6\u6210\uff08\u5982 Tableau\u3001Power BI \u548c Superset\uff09\u3002 Apache Superset Apache Superset \u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u5546\u4e1a\u667a\u80fd\uff08BI\uff09\u5e73\u53f0\uff0c\u7528\u4e8e\u4ea4\u4e92\u5f0f\u6570\u636e\u53ef\u89c6\u5316\u548c\u4eea\u8868\u76d8\u6784\u5efa\u3002\u5b83\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7528\u6237\u53cb\u597d\u7684\u754c\u9762\uff0c\u5141\u8bb8\u7528\u6237\u4ece\u5404\u79cd\u6570\u636e\u6e90\u4e2d\u63d0\u53d6\u6570\u636e\u5e76\u521b\u5efa\u56fe\u8868\u548c\u4eea\u8868\u76d8\u3002 \u4e3b\u8981\u7279\u70b9 \u76f4\u89c2\u7684\u754c\u9762\uff1a [&hellip;] <a class=\"read-more\" href=\"https:\/\/www.fanyamin.com\/wordpress\/?p=1844\" title=\"Permanent Link to: Databricks and Superset\">&rarr;Read&nbsp;more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-1844","post","type-post","status-publish","format-standard","hentry","category-5"],"_links":{"self":[{"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1844"}],"collection":[{"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1844"}],"version-history":[{"count":1,"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1844\/revisions"}],"predecessor-version":[{"id":1845,"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1844\/revisions\/1845"}],"wp:attachment":[{"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}