{"id":134402,"date":"2020-07-08T00:42:33","date_gmt":"2020-07-07T16:42:33","guid":{"rendered":"http:\/\/4563.org\/?p=134402"},"modified":"2020-07-08T00:42:33","modified_gmt":"2020-07-07T16:42:33","slug":"%e5%a4%a7%e5%ae%b6%e5%bc%80%e5%8f%91-etl-%e6%97%b6%e5%93%aa%e4%b8%aa%e7%94%a8%e7%9a%84%e5%a4%9a%ef%bc%8c-spark-rdd-vs-dataframe-vs-dataset-vs-spark-sql%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=134402","title":{"rendered":"\u5927\u5bb6\u5f00\u53d1 ETL \u65f6\u54ea\u4e2a\u7528\u7684\u591a\uff0c Spark RDD vs DataFrame vs DataSet vs Spark SQL\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5927\u5bb6\u5f00\u53d1 ETL \u65f6\u54ea\u4e2a\u7528\u7684\u591a\uff0c Spark RDD vs DataFrame vs DataSet vs Spark SQL\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : leiuu <\/span>  <span><i><\/i> 5<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>RT \u3002 \u540e\u7eed\u53ef\u80fd\u60f3\u8981\u505a hive \u4efb\u52a1\u5230 Spark \u7684\u8fc1\u79fb\u3002 \u76ee\u524d\u5728\u8fd9\u51e0\u4e2a API \u4e2d\u6bd4\u8f83\u7ea0\u7ed3\u3002 \u60f3\u4e86\u89e3\uff0c\u4e00\u7248\u751f\u4ea7\u8fd9\u51e0\u4e2a\u54ea\u4e2a\u7528\u7684\u591a\uff08\u5728 etl \u4efb\u52a1\u4e2d\uff09\uff0c\u5982\u679c\u6709\u597d\u7684\u751f\u4ea7\u6a21\u677f\u63a8\u8350\uff0c\u90a3\u5c31\u66f4\u597d\u7684\u4e86\u3002       <\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>11<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"2498121\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : shuianfendi6 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             DataFrame \u5427\uff0crdd \u5df2\u7ecf\u88ab\u53d6\u4ee3\u4e86<br \/>spark sql \u5199\u8d77\u6765\u5f88\u723d\uff0c\u4f46\u662f\u7c7b\u578b\u68c0\u67e5\u5565\u7684\u90fd\u6ca1\uff0c\u5bb9\u6613\u51fa\u9519                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2498122\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : liprais <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             DataFrame vs DataSet vs Spark SQL<br \/>\u8fd9\u4e09\u4e2a\u73b0\u5728\u662f\u4e00\u4e2a\u4e1c\u897f<br \/>\u6ca1\u4e8b\u522b\u7528 rdd                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2498123\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : leiuu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @shuianfendi6 rdd \u53ef\u80fd\u4e00\u4e9b\u8f83\u590d\u6742\u7684\u64cd\u4f5c \u8fd8\u6709\u4e00\u70b9\u7528\u5904<\/p>\n<p>@liprais \u53ef\u5426\u5c55\u5f00\u8bf4\u8bf4\u3002\u5177\u4f53\u8bed\u6cd5\u4e0a\u5462\uff0c\u503e\u5411\u4e8e\u76f4\u63a5\u5199 sql \u8fd8\u662f\u7528 spark \u7684\u8bed\u6cd5\u5982 where \u3001groupBy \u3001join \u7b49\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2498124\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : liprais <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @leiuu \u4f60\u4f1a\u54ea\u4e2a\u5c31\u7528\u54ea\u4e2a\u5457<br \/>\u8fd9\u4e09\u4e2a\u4e1c\u897f\u73b0\u5728\u6ca1\u6709\u4efb\u4f55\u533a\u522b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2498125\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             ETL \u53ea\u7528\u8fc7 Spring Batch                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2498126\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : leiuu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @liprais \u660e\u767d\u3002\u8fd9\u4e2a\u4e09\u79cd\u5012\u662f\u4e0a\u624b\u90fd\u6bd4\u8f83\u5feb\u3002spark sql \u56e0\u4e3a\u548c\u6807\u51c6 sql \u7c7b\u4f3c\u53ef\u80fd\u4f1a\u7b80\u5355\u4e9b\u3002\u5176\u5b9e\u662f\u60f3\u4e86\u89e3\u8fd9\u51e0\u79cd\u7528\u6cd5\u5b9e\u9645\u751f\u4ea7\u8fc7\u7a0b\u6709\u6ca1\u6709\u4e00\u4e9b\u95ee\u9898\u3002\u54ea\u79cd\u66f4\u9002\u5408\u4ee3\u66ff hive \u751f\u4ea7\u6570\u636e\u3002\u5f53\u7136\u539f\u7406\u4e0a\u5e94\u8be5\u90fd\u662f\u57fa\u4e8e rdd \u5b9e\u73b0\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2498127\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : leiuu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hantsy spring \u7adf\u7136\u8fd8\u6709\u8fd9 \u771f\u5168\u5bb6\u6876                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2498128\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : RudyGuo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             hive sql \u548c Spark sql \u8bed\u6cd5\u57fa\u672c\u4e00\u6837                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2498129\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @leiuu Spring Batch \u53ea\u4f5c\u5904\u7406 ETL\uff0c\u4e0d\u7ba1\u6570\u636e\u7684 Source\uff0cSink \u3002<\/p>\n<p>\u73b0\u5728\u7684\u8bdd\uff0c\u5927\u6570\u636e\u670d\u52a1\u5e94\u8be5\u8003\u8651 Spring Cloud Data Flow\uff0c\u590d\u6742\u5904\u7406\u6d41\u7a0b\u6709\u53ef\u89c6\u5316 Web UI \u652f\u6301\uff0c\u7ba1\u7406\u4e0d\u540c\u7684\u6570\u636e\u6765\u6e90\uff0c\u5904\u7406\u8fc7\u7a0b\u53ef\u4ee5\u5f00\u53d1\u6210 Severless \u7a0b\u5e8f\uff0c\u52a8\u6001\u5b89\u88c5\u548c\u7ec4\u88c5\u6210\u6d41\u7a0b\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2498130\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Apache \u4e0a\u5927\u6570\u636e\u65b9\u9762\u6bd4 Flink\uff0cBeam \u6ca1\u6709\u7528\u8fc7\uff0c\u4e0d\u8fc7\u6211\u4e00\u4e9b\u7ecf\u5386\uff0c\u8001\u5916\u66f4\u559c\u6b22\u662f\u4e70\u80cc\u540e\u5546\u4e1a\u516c\u53f8\u7684\u670d\u52a1\uff0c\u5f00\u6e90\u9879\u76ee\u652f\u6301\u529b\u5ea6\u5b9e\u5728\u4e0d\u591f\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2498131\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Comdex <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e00\u822c\u5199 SparkSQL\uff0c \u4e1a\u52a1\u903b\u8f91\u590d\u6742\u5c31\u4e0a DataFrame \u52a0\u70b9 java \u4ee3\u7801                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5927\u5bb6\u5f00\u53d1 ETL \u65f6\u54ea\u4e2a\u7528\u7684\u591a\uff0c &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/134402"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=134402"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/134402\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=134402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=134402"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=134402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}