{"id":22044,"date":"2024-09-06T14:32:35","date_gmt":"2024-09-06T06:32:35","guid":{"rendered":"https:\/\/aif.amtbbs.org\/?p=22044"},"modified":"2024-09-06T14:32:35","modified_gmt":"2024-09-06T06:32:35","slug":"%e4%bd%bf%e7%94%a8ballerina%e5%bc%80%e5%8f%91%e6%95%8f%e6%8d%b7%e7%9a%84etl%e6%b5%81%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/aif.amtbbs.org\/index.php\/2024\/09\/06\/22044\/","title":{"rendered":"\u4f7f\u7528Ballerina\u5f00\u53d1\u654f\u6377\u7684ETL\u6d41\u7a0b"},"content":{"rendered":"<p style=\"font-weight: 400;\">\u672c\u6587\u8ba8\u8bba\u4e86\u7075\u6d3b\u7684\u3001\u7c7b\u4f3c\u5fae\u670d\u52a1\u7684ETL\u6d41\u7684\u4f53\u7cfb\u7ed3\u6784\u548cBallerina\u8bed\u8a00\u5b9e\u73b0\u3002\u8003\u8651\u5230\u5927\u591a\u6570\u4e1a\u52a1\u90e8\u95e8\u751f\u6210\u6570\u636e\uff0c\u5e76\u6709\u7740\u72ec\u7279\u7684\u6570\u636e\u9700\u6c42\uff0cBallerina\u8bed\u8a00\u63d0\u4f9b\u7684\u6570\u636e\u5904\u7406\u80fd\u529b\u3001\u8fde\u63a5\u6027\u548c\u7075\u6d3b\u7684\u90e8\u7f72\u9009\u9879\u53ef\u80fd\u5177\u6709\u53d8\u9769\u6027\u3002<\/p>\n<p><img data-dominant-color=\"a9acbd\" data-has-transparency=\"false\" style=\"--dominant-color: #a9acbd;\" loading=\"lazy\" decoding=\"async\" class=\"not-transparent alignnone size-full wp-image-22046\" src=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2024\/09\/b72b48436f4feaea3d0812ed4562a3d7c52c7e-300x198-1.png\" width=\"300\" height=\"198\" alt=\"\" srcset=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2024\/09\/b72b48436f4feaea3d0812ed4562a3d7c52c7e-300x198-1.png 300w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2024\/09\/b72b48436f4feaea3d0812ed4562a3d7c52c7e-300x198-1-150x99.png 150w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>\u63d0\u53d6\u3001\u8f6c\u6362\u548c\u52a0\u8f7d\uff08ETL\uff09\u7684\u4e09\u4e2a\u9636\u6bb5\u901a\u5e38\u6d89\u53ca\u591a\u4e2a\u4efb\u52a1\uff0c\u6bcf\u4e2a\u4efb\u52a1\u90fd\u53ef\u4ee5\u72ec\u7acb\u6267\u884c\u3002\u4f60\u53ef\u4ee5\u5c06\u6bcf\u4e2a\u4efb\u52a1\u4f5c\u4e3a\u5fae\u670d\u52a1\u6765\u5f00\u53d1\u3002<\/p>\n<p>\u516c\u53f8\u4f01\u4e1a\u6bcf\u5929\u4ece\u5404\u79cd\u4e1a\u52a1\u8fd0\u8425\u4e2d\u751f\u6210\u5927\u91cf\u6570\u636e\u3002\u6bd4\u5982\u8bf4\uff0c\u6bcf\u5f53\u5ba2\u6237\u5728\u96f6\u552e\u5e97\u7ed3\u8d26\u65f6\uff0c\u53ef\u4ee5\u5728\u9500\u552e\u70b9\uff08PoS\uff09\u7cfb\u7edf\u83b7\u53d6\u8bf8\u5982\u5ba2\u6237\u6807\u8bc6\u7b26\u3001\u96f6\u552e\u5e97\u6807\u8bc6\u7b26\u3001\u7ed3\u8d26\u65f6\u95f4\u3001\u8d2d\u4e70\u7269\u54c1\u5217\u8868\u548c\u603b\u9500\u552e\u989d\u4e4b\u7c7b\u7684\u6570\u636e\u3002\u540c\u6837\uff0c\u73b0\u573a\u9500\u552e\u4eba\u5458\u53ef\u80fd\u4f1a\u5c06\u6f5c\u5728\u7684\u9500\u552e\u673a\u4f1a\u5f55\u5165\u5230\u7535\u5b50\u8868\u683c\u4e2d\u3002\u6b64\u5916\uff0c\u5927\u591a\u6570\u5546\u4e1a\u901a\u4fe1\u662f\u901a\u8fc7\u7535\u5b50\u90ae\u4ef6\u8fdb\u884c\u7684\uff0c\u8fd9\u4f7f\u5f97\u7535\u5b50\u90ae\u4ef6\u6210\u4e3a\u4e00\u4e2a\u5927\u6709\u4ef7\u503c\u7684\u6570\u636e\u6e90\u3002\u4e3a\u4e86\u5728\u6574\u4e2a\u7ec4\u7ec7\u4fdd\u6301\u4fe1\u606f\u7684\u4e00\u81f4\u6027\uff0c\u5e76\u4ece\u8fd9\u4e9b\u6570\u636e\u4e2d\u83b7\u5f97\u4e1a\u52a1\u6d1e\u5bdf\u529b\uff0c\u4ece\u8fd9\u4e9b\u5206\u6563\u7684\u6570\u636e\u6e90\u4e2d\u63d0\u53d6\u5fc5\u8981\u7684\u7ec6\u8282\u5e76\u4fdd\u6301\u6240\u6709\u7684\u76f8\u5173\u4fe1\u606f\u96c6\u4e2d\u5316\u5c31\u663e\u5f97\u81f3\u5173\u91cd\u8981\u3002<\/p>\n<p>\u63d0\u53d6\u3001\u8f6c\u6362\u548c\u52a0\u8f7d\uff08ETL\uff09\u6280\u672f\u4fa7\u91cd\u4e8e\u8fd9\u4e2a\u95ee\u9898\uff1a\u4ece\u591a\u4e2a\u6570\u636e\u6e90\u63d0\u53d6\u6570\u636e\uff0c\u5c06\u63d0\u53d6\u5230\u7684\u6570\u636e\u8f6c\u6362\u6210\u6240\u9700\u7684\u683c\u5f0f\uff0c\u6700\u540e\u5c06\u5176\u52a0\u8f7d\u5230\u76f8\u5173\u7684\u6570\u636e\u5b58\u50a8\u6216\u7cfb\u7edf\u4e2d\u3002\u7136\u800c\uff0c\u7531\u4e8e\u4e1a\u52a1\u548c\u6280\u672f\u7684\u8fdb\u6b65\uff0cETL\u5e94\u7528\u751f\u6001\u4e5f\u5728\u8fc5\u901f\u53d1\u751f\u53d8\u5316\u3002\u5176\u4e2d\u9762\u4e34\u4e00\u4e9b\u6311\u6218\uff1a<\/p>\n<ul data-id=\"u738a58b-URkZHdch\">\n<li data-id=\"ld70c578-dOE7hXih\">\u4f7f\u7528\u4eba\u5de5\u667a\u80fd\u4ece\u81ea\u7136\u8bed\u8a00\u6216\u975e\u7ed3\u6784\u5316\u6570\u636e\u6e90\u4e2d\u63d0\u53d6\u4fe1\u606f\u3002<\/li>\n<li data-id=\"ld70c578-B0JC0FRp\">\u4f7f\u7528\u4eba\u5de5\u667a\u80fd\u6765\u8f6c\u6362\u6570\u636e\u3002<\/li>\n<li data-id=\"ld70c578-jjURMjMN\">\u4e0e\u57fa\u4e8e\u4e91\u7684\u7cfb\u7edf\u8fde\u63a5\u4ee5\u63d0\u53d6\u6216\u52a0\u8f7d\u6570\u636e\u3002<\/li>\n<li data-id=\"ld70c578-XZcDmKsq\">\u5728\u6df7\u5408\u4e91\u73af\u5883\u4e2d\u7075\u6d3b\u90e8\u7f72ETL\u6d41\u3002<\/li>\n<li data-id=\"ld70c578-8IvTFhAN\">ETL\u6d41\u7684\u53ef\u6269\u5c55\u6027\u3002<\/li>\n<li data-id=\"ld70c578-TXthonb6\">\u50cf\u5fae\u670d\u52a1\u90a3\u6837\u654f\u6377\u548c\u5feb\u901f\u5730\u90e8\u7f72ETL\u6d41\u3002<\/li>\n<li data-id=\"ld70c578-LFvZuE6n\">\u652f\u6301\u6d41\u5f0fETL\u64cd\u4f5c\u3002<\/li>\n<li data-id=\"ld70c578-2ZWr90e3\">\u9488\u5bf9\u5c0f\u89c4\u6a21\u7528\u4f8b\u7684\u4f4e\u6210\u672cETL\u90e8\u7f72\u3002<\/li>\n<\/ul>\n<p>\u6211\u4eec\u5728\u4e0b\u6587\u5c06\u8ba8\u8bba\u6784\u5efa\u8fd9\u79cd\u654f\u6377ETL\u6d41\u7684\u4f53\u7cfb\u7ed3\u6784\u4ee5\u53ca\u5feb\u901f\u90e8\u7f72\u8fd9\u4e9bETL\u6d41\u7684\u65b9\u6cd5\u3002<\/p>\n<h3>\u7528\u4e8e\u6784\u5efa\u654f\u6377ETL\u6d41\u7684\u4f53\u7cfb\u7ed3\u6784<\/h3>\n<p>ETL\u7684\u6bcf\u4e2a\u63d0\u53d6\u3001\u8f6c\u6362\u548c\u52a0\u8f7d\u9636\u6bb5\u901a\u5e38\u6d89\u53ca\u591a\u4e2a\u4efb\u52a1\u3002\u6bd4\u5982\u8bf4\uff0c\u63d0\u53d6\u9636\u6bb5\u53ef\u80fd\u6d89\u53ca\u4eceCSV\u6587\u6863\u548c\u7535\u5b50\u90ae\u4ef6\u4e2d\u63d0\u53d6\u6570\u636e\u7684\u4efb\u52a1\u3002\u4e0e\u4e4b\u76f8\u4eff\uff0c\u8f6c\u6362\u9636\u6bb5\u53ef\u80fd\u6d89\u53ca\u5220\u9664\u7f3a\u5931\u5b57\u6bb5\u7684\u6570\u636e\u9879\u3001\u8fde\u63a5\u5b57\u6bb5\u3001\u5206\u7c7b\u4ee5\u53ca\u5c06\u6570\u636e\u4ece\u4e00\u79cd\u683c\u5f0f\u6620\u5c04\u5230\u53e6\u4e00\u79cd\u683c\u5f0f\u7b49\u4efb\u52a1\u3002\u6700\u540e\uff0c\u52a0\u8f7d\u9636\u6bb5\u53ef\u80fd\u6d89\u53ca\u52a0\u8f7d\u5230\u6570\u636e\u4ed3\u5e93\u3001\u66f4\u65b0\u6570\u636e\u5e93\u4e2d\u7684\u6570\u636e\u9879\u6216\u5c06\u6570\u636e\u63d2\u5165\u4e0d\u540c\u7cfb\u7edf\u4e2d\u7b49\u4efb\u52a1\u3002\u8fd9\u6837\u7684ETL\u6d41\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p>\u56fe1<\/p>\n<p>\u4e00\u65e6\u63d0\u4f9b\u4e86\u539f\u59cb\u6570\u636e\u6216\u53e6\u4e00\u4e2a\u4efb\u52a1\u7684\u8f93\u51fa\uff0c\u8fd9\u4e9b\u4efb\u52a1\u4e2d\u7684\u6bcf\u4e00\u4e2a\u90fd\u53ef\u4ee5\u72ec\u7acb\u6267\u884c\u3002\u56e0\u6b64\uff0c\u53ef\u4ee5\u4f7f\u7528\u5408\u9002\u7684\u6280\u672f\u5b9e\u73b0\u8fd9\u6bcf\u4e00\u4e2a\u4efb\u52a1\uff0c\u5e76\u5c06\u5b83\u4eec\u4f5c\u4e3a\u53ef\u72ec\u7acb\u90e8\u7f72\u548c\u6269\u5c55\u7684\u96c6\u7fa4\u52a0\u4ee5\u6267\u884c\u3002\u8fd9\u4f7f\u5f97\u6211\u4eec\u53ef\u4ee5\u5c06\u6bcf\u4e2a\u4efb\u52a1\u4f5c\u4e3a\u5fae\u670d\u52a1\u6765\u5f00\u53d1\u3002<\/p>\n<p>\u6b64\u5916\uff0c\u4efb\u52a1\u4e4b\u95f4\u5b58\u5728\u4f9d\u8d56\u5173\u7cfb\u3002\u6bd4\u5982\u8bf4\uff0c\u201c\u8fde\u63a5\u5b57\u6bb5\u201d\u4efb\u52a1\u4f9d\u8d56\u201c\u4ece\u6587\u4ef6\u7cfb\u7edf\u4e2d\u63d0\u53d6\u201d\u4efb\u52a1\u3002\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u65b9\u6cd5\u5728\u8fd9\u7c7b\u76f8\u5173\u4efb\u52a1\u4e4b\u95f4\u4f20\u9012\u6570\u636e\u3002\u4e00\u79cd\u7b80\u5355\u7684\u65b9\u6cd5\u5c31\u662f\u4f7f\u7528REST API\u8c03\u7528\u5728\u8fd9\u4e9b\u4efb\u52a1\u4e4b\u95f4\u8fdb\u884c\u8054\u7cfb\u3002\u7136\u800c\uff0c\u5982\u679c\u5728\u4efb\u52a1\u4e4b\u95f4\u4f7f\u7528\u6d88\u606f\u4f20\u9012\u7cfb\u7edf\uff0c\u5c31\u53ef\u4ee5\u4fc3\u8fdb\u89e3\u8026\u5e76\u63d0\u9ad8\u53ef\u9760\u6027\u3002\u7136\u540e\uff0c\u6bcf\u4e2a\u4efb\u52a1\u4f7f\u7528\u6765\u81ea\u6d88\u606f\u4f20\u9012\u7cfb\u7edf\u4e2d\u67d0\u4e2a\u4e3b\u9898\u7684\u6570\u636e\uff0c\u5e76\u5728\u5904\u7406\u5b8c\u6210\u540e\u5c06\u8f93\u51fa\u6570\u636e\u53d1\u5e03\u5230\u53e6\u4e00\u4e2a\u4e3b\u9898\u3002\u8fd9\u79cd\u65b9\u6cd5\u6709\u8bf8\u591a\u4f18\u70b9\uff1a<\/p>\n<ul data-id=\"u738a58b-KR0BHkMZ\">\n<li data-id=\"ld70c578-CI2RcpEU\">\u6bcf\u4e2a\u4efb\u52a1\u53ef\u4ee5\u4ee5\u81ea\u5df1\u7684\u901f\u5ea6\u5de5\u4f5c\uff0c\u800c\u4e0d\u4f1a\u88ab\u524d\u4e00\u4e2a\u4efb\u52a1\u7684\u8bf7\u6c42\u8fc7\u8f7d\u3002<\/li>\n<li data-id=\"ld70c578-LG7QRYTh\">\u5982\u679c\u4efb\u52a1\u5931\u8d25\uff0c\u6570\u636e\u4e0d\u4f1a\u4e22\u5931\u3002<\/li>\n<li data-id=\"ld70c578-g6EyV5Fz\">\u53ef\u4ee5\u5c06\u53e6\u5916\u7684\u4efb\u52a1\u6dfb\u52a0\u5230ETL\u6d41\u4e2d\uff0c\u800c\u4e0d\u4f1a\u5f71\u54cd\u5f53\u524d\u4efb\u52a1\u3002<\/li>\n<\/ul>\n<p>\u5c06ETL\u4efb\u52a1\u4f5c\u4e3a\u5fae\u670d\u52a1\u6765\u5b9e\u73b0\u5e76\u901a\u8fc7\u6d88\u606f\u4f20\u9012\u5c42\u65b9\u4fbf\u5176\u901a\u4fe1\u7684\u4f53\u7cfb\u7ed3\u6784\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<p>\u56fe2<\/p>\n<p>\u5c06\u6bcf\u4e2aETL\u4efb\u52a1\u5206\u79bb\u4e3a\u5fae\u670d\u52a1\u53ef\u4ee5\u89c6\u4f5c\u903b\u8f91\u4f53\u7cfb\u7ed3\u6784\u3002\u5728\u5b9e\u9645\u7684\u5b9e\u73b0\u4e2d\uff0c\u53ef\u4ee5\u6839\u636e\u53ef\u6269\u5c55\u6027\u3001\u5f00\u53d1\u56e2\u961f\u548c\u9884\u671f\u7684\u53ef\u6269\u5c55\u6027\u9700\u6c42\u7b49\u56e0\u7d20\uff0c\u786e\u5b9a\u662f\u5c06ETL\u4efb\u52a1\u4f5c\u4e3a\u5355\u72ec\u7684\u5fae\u670d\u52a1\u6765\u5b9e\u73b0\uff0c\u8fd8\u662f\u5c06\u591a\u4e2a\u4efb\u52a1\u7ec4\u5408\u6210\u5355\u4e2a\u5fae\u670d\u52a1\u3002<\/p>\n<h3>\u5b9e\u73b0ETL\u4efb\u52a1<\/h3>\n<p>\u4e0b\u4e00\u6b65\u662f\u5b9e\u73b0\u5355\u72ec\u7684ETL\u4efb\u52a1\u3002\u56e0\u4e3a\u8fd9\u6bcf\u4e00\u4e2a\u4efb\u52a1\u90fd\u662f\u5fae\u670d\u52a1\uff0c\u4efb\u4f55\u6280\u672f\u90fd\u53ef\u4ee5\u7528\u4e8e\u5b9e\u73b0\u3002ETL\u4efb\u52a1\u901a\u5e38\u5305\u62ec\u4e09\u4e2a\u6b65\u9aa4\uff1a<\/p>\n<ul data-id=\"u738a58b-1VWaBfjE\">\n<li data-id=\"ld70c578-pSr9LJ5J\">\u4e0e\u672c\u5730\u6570\u636e\u4e2d\u5fc3\u548c\u4e91\u7aef\u53ef\u7528\u7684\u6570\u636e\u5b58\u50a8\u548c\u5916\u90e8\u7aef\u70b9\u96c6\u6210\u3002<\/li>\n<li data-id=\"ld70c578-DCxXdJ1H\">\u5904\u7406\u5e9e\u5927\u4e14\u590d\u6742\u7684\u6570\u636e\u7ed3\u6784\u3002<\/li>\n<li data-id=\"ld70c578-S3uBDYtS\">\u901a\u8fc7\u591a\u79cd\u683c\u5f0f\u548c\u534f\u8bae\u4f20\u8f93\u6570\u636e\u3002<\/li>\n<\/ul>\n<p>\u8bb8\u591a\u652f\u6301\u5fae\u670d\u52a1\u98ce\u683c\u90e8\u7f72\u7684\u96c6\u6210\u6280\u672f\u90fd\u53ef\u4ee5\u7528\u4e8e\u5b9e\u73b0ETL\u4efb\u52a1\u3002\u9002\u5408\u6b64\u7528\u9014\u7684\u4e00\u79cd\u6280\u672f\u662fBallerina\u7f16\u7a0b\u8bed\u8a00\uff0c\u5b83\u662f\u4e13\u95e8\u4e3a\u96c6\u6210\u800c\u8bbe\u8ba1\u7684\u3002Ballerina\u76f4\u63a5\u652f\u6301\u670d\u52a1\u5f00\u53d1\u3001\u6570\u636e\u5e93\u8fde\u63a5\u3001\u901a\u7528\u534f\u8bae\u3001\u6570\u636e\u8f6c\u6362\u4ee5\u53ca\u591a\u79cd\u6570\u636e\u7c7b\u578b\uff08\u5982JSON\u3001XML\u3001CSV\u548cEDI\uff09\u3002\u6b64\u5916\uff0c\u5b83\u8fd8\u9644\u5e26\u5927\u91cf\u8fde\u63a5\u4ef6\uff0c\u4ee5\u4fbf\u4e0e\u672c\u5730\u7cfb\u7edf\u548cSaaS\u7cfb\u7edf\u96c6\u6210\u3002\u6211\u4eec\u5728\u4e0b\u9762\u5c06\u63a2\u8ba8\u4e00\u4e9b\u4f7f\u7528Ballerina\u5f00\u53d1ETL\u4efb\u52a1\u7684\u793a\u4f8b\u3002<\/p>\n<h4>\u6570\u636e\u63d0\u53d6<\/h4>\n<p>\u4e1a\u52a1\u6570\u636e\u6709\u53ef\u80fd\u653e\u5728\u6570\u636e\u5e93\u3001CSV\u6587\u4ef6\u3001EDI\u6587\u6863\u3001\u7535\u5b50\u8868\u683c\u6216ERP\u5e94\u7528\u8f6f\u4ef6\u7b49\u5404\u79cd\u4f01\u4e1a\u7cfb\u7edf\u4e2d\u3002\u56e0\u6b64\uff0c\u6570\u636e\u63d0\u53d6\u4efb\u52a1\u9700\u8981\u8fde\u63a5\u6240\u6709\u8fd9\u4e9b\u6570\u636e\u6e90\uff0c\u5e76\u4f7f\u7528\u5b83\u4eec\u652f\u6301\u7684\u683c\u5f0f\u8bfb\u53d6\u6570\u636e\u3002\u4e0b\u9762\u662f\u4f7f\u7528Ballerina\u4ece\u6570\u636e\u5e93\u3001CSV\u6587\u4ef6\u548cEDI\u6587\u6863\u4e2d\u63d0\u53d6\u6570\u636e\u7684\u51e0\u4e2a\u793a\u4f8b\u3002<\/p>\n<ul data-id=\"u738a58b-Sg4J2XM3\">\n<li data-id=\"ld70c578-JKwhXU2V\">\u8bfb\u53d6\u6570\u636e\u5e93<\/li>\n<\/ul>\n<p>\u590d\u5236<\/p>\n<p>stream orders = dbClient-&gt;\/orderdata; check from var orderData in orders do { io:println(orderData); };<\/p>\n<ul>\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<\/ul>\n<ul data-id=\"u738a58b-DoM0Rb5D\">\n<li data-id=\"ld70c578-wkiglR9w\">\u8bfb\u53d6CSV\u6587\u4ef6<\/li>\n<\/ul>\n<p>\u590d\u5236<\/p>\n<p>stream productDataStream = check io:fileReadCsvAsStream(&#8220;product_data.csv&#8221;); check productDataStream.forEach( function(string[] productData) { io:println(productData); });<\/p>\n<ul>\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<\/ul>\n<ul data-id=\"u738a58b-ZhgiFea6\">\n<li data-id=\"ld70c578-aNRYCWAt\">\u8bfb\u53d6EDI\u6587\u6863<\/li>\n<\/ul>\n<p>\u590d\u5236<\/p>\n<p>string ediText = check io:fileReadString(&#8220;resources\/purchase_order.edi&#8221;); PurchaseOrder simpleOrder = check fromEdiString(ediText); io:println(string `Order Id: ${simpleOrder.header.orderId}`);<\/p>\n<ul>\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<\/ul>\n<p>\u6570\u636e\u63d0\u53d6\u9636\u6bb5\u53ef\u80fd\u8fd8\u9700\u8981\u4ece\u975e\u7ed3\u6784\u5316\u6570\u636e\u6e90\u4e2d\u63d0\u53d6\u6570\u636e\u3002\u8fd9\u65b9\u9762\u7684\u4e00\u4e2a\u5178\u4f8b\u662f\u4ece\u7535\u5b50\u90ae\u4ef6\u3001\u7559\u8a00\u548c\u8bc4\u8bba\u4e2d\u63d0\u53d6\u7ed3\u6784\u5316\u4fe1\u606f\u3002\u4e0b\u9762\u7684\u4f8b\u5b50\u6f14\u793a\u4e86\u4f7f\u7528Ballerina\u548cOpenAI\u4ece\u8bc4\u8bba\u4e2d\u63d0\u53d6\u597d\u8bc4\u3001\u5dee\u8bc4\u548c\u6539\u8fdb\u5efa\u8bae\u7b49\u4fe1\u606f\u3002<\/p>\n<p>\u590d\u5236<\/p>\n<p>chat:CreateChatCompletionRequest request = { model: &#8220;gpt-3.5-turbo&#8221;, messages: [ { role: &#8220;user&#8221;, content: string ` Extract the following details in JSON from the reviews given. { good_points: string, bad_points: string, improvement_points: string } The fields should contain points extracted from all reviews Here are the reviews: ${string:&#8217;join(&#8220;,&#8221;, &#8230;summaryRequest.reviews)} ` } ] }; chat:CreateChatCompletionResponse summary = check openAiChat-&gt;\/chat\/completions.post(request); if summary.choices.length() &gt; 0 { string content = check summary.choices[0].message?.content.ensureType(); io:println(content); chat:CreateChatCompletionRequest request = { model: &#8220;gpt-3.5-turbo&#8221;, messages: [ { role: &#8220;user&#8221;, content: string ` Extract the following details in JSON from the reviews given. { good_points: string, bad_points: string, improvement_points: string } The fields should contain points extracted from all reviews Here are the reviews: ${string:&#8217;join(&#8220;,&#8221;, &#8230;summaryRequest.reviews)} ` } ] }; chat:CreateChatCompletionResponse summary = check openAiChat-&gt;\/chat\/completions.post(request); if summary.choices.length() &gt; 0 { string content = check summary.choices[0].message?.content.ensureType(); io:println(content); }<\/p>\n<ul>\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<li>6.<\/li>\n<li>7.<\/li>\n<li>8.<\/li>\n<li>9.<\/li>\n<li>10.<\/li>\n<li>11.<\/li>\n<li>12.<\/li>\n<li>13.<\/li>\n<li>14.<\/li>\n<li>15.<\/li>\n<li>16.<\/li>\n<li>17.<\/li>\n<li>18.<\/li>\n<li>19.<\/li>\n<li>20.<\/li>\n<li>21.<\/li>\n<li>22.<\/li>\n<li>23.<\/li>\n<li>24.<\/li>\n<li>25.<\/li>\n<li>26.<\/li>\n<li>27.<\/li>\n<li>28.<\/li>\n<li>29.<\/li>\n<li>30.<\/li>\n<li>31.<\/li>\n<li>32.<\/li>\n<li>33.<\/li>\n<li>34.<\/li>\n<li>35.<\/li>\n<li>36.<\/li>\n<li>37.<\/li>\n<li>38.<\/li>\n<li>39.<\/li>\n<li>40.<\/li>\n<li>41.<\/li>\n<li>42.<\/li>\n<li>43.<\/li>\n<li>44.<\/li>\n<li>45.<\/li>\n<li>46.<\/li>\n<li>47.<\/li>\n<\/ul>\n<h4>\u6570\u636e\u8f6c\u6362<\/h4>\n<p>\u63d0\u53d6\u7684\u6570\u636e\u53ef\u80fd\u6765\u81ea\u5458\u5de5\u586b\u5199\u7684\u7535\u5b50\u8868\u683c\u3001\u4ece\u624b\u5199\u6587\u6863\u626b\u63cf\u800c\u6765\u7684\u6587\u672c\u6216\u64cd\u4f5c\u5458\u8f93\u5165\u5230\u7cfb\u7edf\u7684\u6570\u636e\u3002\u56e0\u6b64\uff0c\u8fd9\u7c7b\u6570\u636e\u53ef\u80fd\u542b\u6709\u62fc\u5199\u9519\u8bef\u3001\u7f3a\u5931\u5b57\u6bb5\u3001\u91cd\u590d\u4fe1\u606f\u6216\u65e0\u6548\u6570\u636e\u3002\u56e0\u6b64\uff0c\u8f6c\u6362\u9636\u6bb5\u5fc5\u987b\u5728\u5c06\u8fd9\u4e9b\u6570\u636e\u8bb0\u5f55\u52a0\u8f7d\u5230\u76ee\u6807\u7cfb\u7edf\u4e4b\u524d\u52a0\u4ee5\u6e05\u6d01\u3002\u6b64\u5916\uff0c\u53ef\u80fd\u9700\u8981\u5728\u8f6c\u6362\u9636\u6bb5\u5c06\u6765\u81ea\u591a\u4e2a\u6570\u636e\u6e90\u7684\u76f8\u5173\u7ec6\u8282\u7ec4\u5408\u8d77\u6765\uff0c\u4ee5\u4fbf\u4e30\u5bcc\u6570\u636e\u3002\u4e0b\u9762\u7684\u4f8b\u5b50\u5c55\u793a\u4e86\u4f7f\u7528Ballerina\u6765\u5b8c\u6210\u8fd9\u4e9b\u4efb\u52a1\u3002<\/p>\n<ul data-id=\"u738a58b-LebpXJlf\">\n<li data-id=\"ld70c578-VOFoLnmS\">\u5220\u9664\u91cd\u590d\u4fe1\u606f<\/li>\n<\/ul>\n<p>\u590d\u5236<\/p>\n<p>function removeDuplicates(SalesOrder[] orders) returns SalesOrder[] { return from var {itemId, customerId, itemName, quantity, date} in orders group by itemId, customerId, itemName select { itemId, customerId, itemName, quantity: [quantity][0], date: [date][0] }; }<\/p>\n<ul>\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<li>6.<\/li>\n<li>7.<\/li>\n<li>8.<\/li>\n<li>9.<\/li>\n<li>10.<\/li>\n<li>11.<\/li>\n<\/ul>\n<ul data-id=\"u738a58b-c1AsNKhX\">\n<li data-id=\"ld70c578-sA80GJCk\">\u8bc6\u522b\u65e0\u6548\u6570\u636e\u9879<\/li>\n<\/ul>\n<p>\u590d\u5236<\/p>\n<p>function isValidEmail(string inputString) returns boolean { string:RegExp emailPattern = re `[A-Za-z0-9\\._%+-]+@[A-Za-z0-9\\.-]+\\.[A-Za-z]{2,}`; return emailPattern.isFullMatch(inputString); }<\/p>\n<ul>\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<\/ul>\n<ul data-id=\"u738a58b-3aW94seY\">\n<li data-id=\"ld70c578-CDmn8HX1\">\u6570\u636e\u4e30\u5bcc<\/li>\n<\/ul>\n<p>\u590d\u5236<\/p>\n<p>CRMResponse response = check crmClient-&gt;\/crm\/api\/customers\/&#8217;json(customerId = customer.id); if response.status == &#8220;OK&#8221; { customer.billingAddress = response.billingAddress; customer.primaryContact = response.telephone; }<\/p>\n<ul>\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<\/ul>\n<p>\u63d0\u53d6\u7684\u6570\u636e\u5e38\u5e38\u9700\u8981\u5728\u5b58\u50a8\u5230\u76ee\u6807\u7cfb\u7edf\u4e4b\u524d\u8f6c\u6362\u6210\u4e0d\u540c\u7684\u683c\u5f0f\u3002\u7136\u800c\uff0cETL\u4efb\u52a1\u901a\u5e38\u4e0d\u5f97\u4e0d\u5904\u7406\u7531\u6570\u767e\u4e2a\u5b57\u6bb5\u7ec4\u6210\u7684\u975e\u5e38\u5e9e\u5927\u7684\u6570\u636e\u7ed3\u6784\uff0c\u8fd9\u53ef\u80fd\u4f7f\u6570\u636e\u6620\u5c04\u6210\u4e3a\u4e00\u9879\u4e4f\u5473\u67af\u71e5\u7684\u4efb\u52a1\u3002\u53ef\u4ee5\u4f7f\u7528Ballerina\u7684\u53ef\u89c6\u5316\u6570\u636e\u6620\u5c04\u529f\u80fd\u7b80\u5316\u8fd9\u9879\u64cd\u4f5c\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<p>\u56fe3<\/p>\n<h4>\u6570\u636e\u52a0\u8f7d<\/h4>\n<p>\u6700\u540e\uff0c\u6570\u636e\u52a0\u8f7d\u9636\u6bb5\u7684\u4efb\u52a1\u9700\u8981\u8fde\u63a5\u4e0d\u540c\u7684\u76ee\u6807\u7cfb\u7edf\uff0c\u5e76\u901a\u8fc7\u6240\u9700\u7684\u534f\u8bae\u53d1\u9001\u6570\u636e\u3002\u4f7f\u7528TLS\u548cOAuth2\u7b49\u6280\u672f\u5b9e\u73b0\u5b89\u5168\u8fde\u63a5\u5230\u8fd9\u4e9b\u76ee\u6807\u7cfb\u7edf\u4e5f\u5f88\u91cd\u8981\u3002Ballerina\u6709\u5927\u91cf\u7684\u8fde\u63a5\u4ef6\uff0c\u5e76\u5185\u7f6e\u652f\u6301\u6240\u6709\u5e38\u89c1\u7684\u5b89\u5168\u6807\u51c6\uff0c\u56e0\u800c\u5b9e\u73b0\u6b64\u7c7b\u6570\u636e\u52a0\u8f7d\u4efb\u52a1\u53d8\u5f97\u5bb9\u6613\u3002\u4e0b\u9762\u7684\u793a\u4f8b\u5c55\u793a\u4e86\u5982\u4f55\u5c06\u6570\u636e\u63d2\u5165\u5230Google BigQuery\u4e2d\u3002<\/p>\n<p>\u590d\u5236<\/p>\n<p>SalesData[] salesDataset = check io:fileReadCsv(&#8220;.\/resources\/sales_data.csv&#8221;); bigquery:TabledatainsertallrequestRows[] rows = from var salesData in salesDataset select {insertId: uuid:createType1AsString(), &#8216;json: salesData}; bigquery:TableDataInsertAllRequest payload = {rows}; _ = check bigQueryClient-&gt;insertAllTableData(projectId, datasetId, tableId, payload);<\/p>\n<ul>\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<\/ul>\n<p>\u6709\u65f6\u5019\uff0c\u4e1a\u52a1\u7528\u6237\u53ef\u80fd\u5e0c\u671b\u68c0\u67e5\u67d0\u4e9b\u6570\u636e\u8bb0\u5f55\uff0c\u6bd4\u5982\u7f3a\u5931\u503c\u6216\u65e0\u6548\u503c\u7684\u6570\u636e\u9879\u3002\u5c31\u5fae\u670d\u52a1\u4f53\u7cfb\u7ed3\u6784\u800c\u8a00\uff0c\u5f15\u5165\u8fd9\u6837\u4e00\u4e2a\u989d\u5916\u7684\u4efb\u52a1\u53ea\u9700\u8981\u6dfb\u52a0\u4e00\u4e2a\u5fae\u670d\u52a1\u6765\u8bfb\u53d6\u76f8\u5173\u4e3b\u9898\uff0c\u5e76\u5c06\u6570\u636e\u52a0\u8f7d\u5230\u7535\u5b50\u8868\u683c\u4e4b\u7c7b\u7684\u6700\u7ec8\u7528\u6237\u7cfb\u7edf\u4e2d\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u4ece\u4e3b\u9898\u4e2d\u8bfb\u53d6\u6570\u636e\u5e76\u5c06\u5176\u63d2\u5165\u5230Google Sheets\u7684\u793a\u4f8b\u3002<\/p>\n<p>\u590d\u5236<\/p>\n<p>sheets:Spreadsheet sheet = check spreadsheetClient-&gt;createSpreadsheet(sheetName); _ = check spreadsheetClient-&gt; appendValue(sheet.spreadsheetId, [&#8220;Product&#8221;, &#8220;Sales&#8221;, &#8220;Date&#8221;], {sheetName: workSheetName}); foreach var {product, sales, date} in salesSummary { _ = check spreadsheetClient-&gt; appendValue(sheet.spreadsheetId, [product, sales, date], {sheetName: workSheetName}); }<\/p>\n<ul>\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<li>6.<\/li>\n<li>7.<\/li>\n<\/ul>\n<h3>\u90e8\u7f72\u548c\u6d4b\u8bd5ETL\u6d41<\/h3>\n<p>\u5c06\u5355\u4e2aETL\u4efb\u52a1\u4f5c\u4e3a\u5fae\u670d\u52a1\u6765\u5f00\u53d1\u4fbf\u4e8e\u5c06\u6574\u4e2aETL\u6d41\u90e8\u7f72\u5230Kubernetes\u96c6\u7fa4\u4e2d\u3002\u6bcf\u4e2aETL\u4efb\u52a1\u90fd\u53ef\u4ee5\u662fKubernetes\u90e8\u7f72\u73af\u5883\u4e2d\u7684\u4e00\u4e2apod\uff0c\u4ece\u800c\u53ef\u4ee5\u6839\u636e\u8d1f\u8f7d\u5927\u5c0f\u6765\u589e\u52a0\u6216\u51cf\u5c11\u5355\u4e2aETL\u4efb\u52a1\u7684pod\u6570\u91cf\u3002\u7136\u800c\uff0c\u7ec4\u7ec7\u901a\u5e38\u6709\u591a\u4e2aETL\u6d41\uff0c\u6bcf\u4e2a\u6d41\u53c8\u6d89\u53ca\u8bb8\u591a\u4efb\u52a1\u3002\u6b64\u5916\uff0c\u8fd9\u4e9bETL\u6d41\u53ef\u80fd\u5f52\u4e0d\u540c\u7684\u56e2\u961f\u62e5\u6709\u3002\u56e0\u6b64\uff0c\u62e5\u6709\u9002\u5f53\u7684CI\/CD\u7ba1\u9053\u3001\u6743\u9650\u6a21\u578b\u3001\u76d1\u6d4b\u529f\u80fd\u4ee5\u53ca\u7528\u4e8e\u5f00\u53d1\u3001\u6d4b\u8bd5\u3001\u6027\u80fd\u9a8c\u8bc1\u548c\u751f\u4ea7\u7684\u591a\u4e2a\u73af\u5883\u81f3\u5173\u91cd\u8981\u3002<\/p>\n<p>Ballerina\u53ef\u4ee5\u4e0e\u6240\u6709\u5e38\u89c1\u7684CI\/CD\u3001\u76d1\u6d4b\u548c\u90e8\u7f72\u6280\u672f\u4e00\u8d77\u5de5\u4f5c\uff0c\u4ece\u800c\u65e0\u7f1d\u5730\u5c06\u57fa\u4e8eBallerina\u7684ETL\u6d41\u4e0e\u7ec4\u7ec7\u7684\u73b0\u6709\u57fa\u7840\u8bbe\u65bd\u96c6\u6210\u5728\u4e00\u8d77\u3002\u6bd4\u5982\u8bf4\uff0cBallerina ETL\u6e90\u4ee3\u7801\u53ef\u4ee5\u5728GitHub\u4e2d\u52a0\u4ee5\u7ef4\u62a4\uff0cCI\/CD\u64cd\u4f5c\u53ef\u4ee5\u4f7f\u7528Jenkins\u6765\u5b9e\u73b0\uff0cETL\u6d41\u53ef\u4ee5\u90e8\u7f72\u5728Amazon EKS\u4e0a\uff0c\u6267\u884c\u5219\u53ef\u4ee5\u4f7f\u7528Prometheus\u548cGrafana\u52a0\u4ee5\u76d1\u6d4b\u3002<\/p>\n<p>\u53e6\u4e00\u4e2a\u90e8\u7f72\u9009\u9879\u662fChoreo\u5e73\u53f0\uff0c\u8be5\u5e73\u53f0\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u63d0\u4f9b\u4e86\u6240\u6709\u8fd9\u4e9b\u529f\u80fd\u3002\u7531\u4e8eChoreo\u8ba9\u7528\u6237\u65e0\u9700\u6784\u5efa\u5e73\u53f0\uff0c\u56e0\u6b64\u53ef\u4ee5\u901a\u8fc7\u90e8\u7f72\u4e00\u7ec4\u9009\u5b9a\u7684ETL\u6d41\u3001\u8fdb\u884c\u6d4b\u8bd5\u5e76\u5c06\u5b83\u4eec\u8f6c\u79fb\u5230\u751f\u4ea7\u73af\u5883\u4e2d\uff0c\u7acb\u5373\u5f00\u542fETL\u4e4b\u65c5\u3002\u7136\u540e\u53ef\u4ee5\u5bf9\u8fd9\u4e9bETL\u6d41\u8fdb\u884c\u6539\u52a8\uff0c\u6216\u8005\u53ef\u4ee5\u5728\u76f8\u5e94\u7684\u6570\u636e\u6e90\u5b58\u50a8\u5e93\u4e2d\u5f15\u5165\u65b0\u7684ETL\u6d41\uff0c\u65b0\u7684ETL\u6d41\u7531Choreo\u6444\u53d6\u540e\u90e8\u7f72\u5230\u5f00\u53d1\u73af\u5883\u4e2d\u3002<\/p>\n<h3>\u7ed3\u8bed<\/h3>\n<p>\u672c\u6587\u8ba8\u8bba\u4e86\u7075\u6d3b\u7684\u3001\u7c7b\u4f3c\u5fae\u670d\u52a1\u7684ETL\u6d41\u7684\u4f53\u7cfb\u7ed3\u6784\u548cBallerina\u8bed\u8a00\u5b9e\u73b0\u3002\u8003\u8651\u5230\u5927\u591a\u6570\u4e1a\u52a1\u90e8\u95e8\u751f\u6210\u6570\u636e\uff0c\u5e76\u6709\u7740\u72ec\u7279\u7684\u6570\u636e\u9700\u6c42\uff0cBallerina\u8bed\u8a00\u63d0\u4f9b\u7684\u6570\u636e\u5904\u7406\u80fd\u529b\u3001\u8fde\u63a5\u6027\u548c\u7075\u6d3b\u7684\u90e8\u7f72\u9009\u9879\u53ef\u80fd\u5177\u6709\u53d8\u9769\u6027\u3002Ballerina\u56e2\u961f\u76ee\u524d\u6b63\u5728\u7aed\u529b\u6539\u8fdb\u5de5\u5177\u652f\u6301\uff0c\u529b\u6c42\u4f7f\u6784\u5efa\u96c6\u6210\u548cETL\u6d41\u53d8\u5f97\u66f4\u7b80\u5355\u3002<\/p>\n<p>&nbsp;<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_22044\" class=\"pvc_stats total_only  \" data-element-id=\"22044\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.0\" viewBox=\"0 0 502 315\" preserveAspectRatio=\"xMidYMid meet\"><g transform=\"translate(0,332) scale(0.1,-0.1)\" fill=\"\" stroke=\"none\"><path d=\"M2394 3279 l-29 -30 -3 -207 c-2 -182 0 -211 15 -242 39 -76 157 -76 196 0 15 31 17 60 15 243 l-3 209 -33 29 c-26 23 -41 29 -80 29 -41 0 -53 -5 -78 -31z\"\/><path d=\"M3085 3251 c-45 -19 -58 -50 -96 -229 -47 -217 -49 -260 -13 -295 52 -53 146 -42 177 20 16 31 87 366 87 410 0 70 -86 122 -155 94z\"\/><path d=\"M1751 3234 c-13 -9 -29 -31 -37 -50 -12 -29 -10 -49 21 -204 19 -94 39 -189 45 -210 14 -50 54 -80 110 -80 34 0 48 6 76 34 21 21 34 44 34 59 0 14 -18 113 -40 219 -37 178 -43 195 -70 221 -36 32 -101 37 -139 11z\"\/><path d=\"M1163 3073 c-36 -7 -73 -59 -73 -102 0 -56 133 -378 171 -413 34 -32 83 -37 129 -13 70 36 67 87 -16 290 -86 209 -89 214 -129 231 -35 14 -42 15 -82 7z\"\/><path d=\"M3689 3066 c-15 -9 -33 -30 -42 -48 -48 -103 -147 -355 -147 -375 0 -98 131 -148 192 -74 13 15 57 108 97 206 80 196 84 226 37 273 -30 30 -99 39 -137 18z\"\/><path d=\"M583 2784 c-38 -19 -67 -74 -58 -113 9 -42 211 -354 242 -373 16 -10 45 -18 66 -18 51 0 107 52 107 100 0 39 -1 41 -124 234 -80 126 -108 162 -133 173 -41 17 -61 16 -100 -3z\"\/><path d=\"M4250 2784 c-14 -9 -74 -91 -133 -183 -95 -150 -107 -173 -107 -213 0 -55 33 -94 87 -104 67 -13 90 8 211 198 130 202 137 225 78 284 -27 27 -42 34 -72 34 -22 0 -50 -8 -64 -16z\"\/><path d=\"M2275 2693 c-553 -48 -1095 -270 -1585 -649 -135 -104 -459 -423 -483 -476 -23 -49 -22 -139 2 -186 73 -142 361 -457 571 -626 285 -228 642 -407 990 -497 242 -63 336 -73 660 -74 310 0 370 5 595 52 535 111 1045 392 1455 803 122 121 250 273 275 326 19 41 19 137 0 174 -41 79 -309 363 -465 492 -447 370 -946 591 -1479 653 -113 14 -422 18 -536 8z m395 -428 c171 -34 330 -124 456 -258 112 -119 167 -219 211 -378 27 -96 24 -300 -5 -401 -72 -255 -236 -447 -474 -557 -132 -62 -201 -76 -368 -76 -167 0 -236 14 -368 76 -213 98 -373 271 -451 485 -162 444 86 934 547 1084 153 49 292 57 452 25z m909 -232 c222 -123 408 -262 593 -441 76 -74 138 -139 138 -144 0 -16 -233 -242 -330 -319 -155 -123 -309 -223 -461 -299 l-81 -41 32 46 c18 26 49 83 70 128 143 306 141 649 -6 957 -25 52 -61 116 -79 142 l-34 47 45 -20 c26 -10 76 -36 113 -56z m-2057 25 c-40 -58 -105 -190 -130 -263 -110 -324 -59 -707 132 -981 25 -35 42 -64 37 -64 -19 0 -241 119 -326 174 -188 122 -406 314 -532 468 l-58 71 108 103 c185 178 428 349 672 473 66 33 121 60 123 61 2 0 -10 -19 -26 -42z\"\/><path d=\"M2375 1950 c-198 -44 -350 -190 -395 -379 -18 -76 -8 -221 19 -290 114 -284 457 -406 731 -260 98 52 188 154 231 260 27 69 37 214 19 290 -38 163 -166 304 -326 360 -67 23 -215 33 -279 19z\"\/><\/g><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u8ba8\u8bba\u4e86\u7075\u6d3b\u7684\u3001\u7c7b\u4f3c\u5fae\u670d\u52a1\u7684ETL\u6d41\u7684\u4f53\u7cfb\u7ed3\u6784\u548cBallerina\u8bed\u8a00\u5b9e\u73b0\u3002\u8003\u8651\u5230\u5927\u591a\u6570\u4e1a\u52a1\u90e8\u95e8\u751f\u6210\u6570\u636e\uff0c\u5e76 [&hellip;]<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_22044\" class=\"pvc_stats total_only  \" data-element-id=\"22044\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.0\" viewBox=\"0 0 502 315\" preserveAspectRatio=\"xMidYMid meet\"><g transform=\"translate(0,332) scale(0.1,-0.1)\" fill=\"\" stroke=\"none\"><path d=\"M2394 3279 l-29 -30 -3 -207 c-2 -182 0 -211 15 -242 39 -76 157 -76 196 0 15 31 17 60 15 243 l-3 209 -33 29 c-26 23 -41 29 -80 29 -41 0 -53 -5 -78 -31z\"\/><path d=\"M3085 3251 c-45 -19 -58 -50 -96 -229 -47 -217 -49 -260 -13 -295 52 -53 146 -42 177 20 16 31 87 366 87 410 0 70 -86 122 -155 94z\"\/><path d=\"M1751 3234 c-13 -9 -29 -31 -37 -50 -12 -29 -10 -49 21 -204 19 -94 39 -189 45 -210 14 -50 54 -80 110 -80 34 0 48 6 76 34 21 21 34 44 34 59 0 14 -18 113 -40 219 -37 178 -43 195 -70 221 -36 32 -101 37 -139 11z\"\/><path d=\"M1163 3073 c-36 -7 -73 -59 -73 -102 0 -56 133 -378 171 -413 34 -32 83 -37 129 -13 70 36 67 87 -16 290 -86 209 -89 214 -129 231 -35 14 -42 15 -82 7z\"\/><path d=\"M3689 3066 c-15 -9 -33 -30 -42 -48 -48 -103 -147 -355 -147 -375 0 -98 131 -148 192 -74 13 15 57 108 97 206 80 196 84 226 37 273 -30 30 -99 39 -137 18z\"\/><path d=\"M583 2784 c-38 -19 -67 -74 -58 -113 9 -42 211 -354 242 -373 16 -10 45 -18 66 -18 51 0 107 52 107 100 0 39 -1 41 -124 234 -80 126 -108 162 -133 173 -41 17 -61 16 -100 -3z\"\/><path d=\"M4250 2784 c-14 -9 -74 -91 -133 -183 -95 -150 -107 -173 -107 -213 0 -55 33 -94 87 -104 67 -13 90 8 211 198 130 202 137 225 78 284 -27 27 -42 34 -72 34 -22 0 -50 -8 -64 -16z\"\/><path d=\"M2275 2693 c-553 -48 -1095 -270 -1585 -649 -135 -104 -459 -423 -483 -476 -23 -49 -22 -139 2 -186 73 -142 361 -457 571 -626 285 -228 642 -407 990 -497 242 -63 336 -73 660 -74 310 0 370 5 595 52 535 111 1045 392 1455 803 122 121 250 273 275 326 19 41 19 137 0 174 -41 79 -309 363 -465 492 -447 370 -946 591 -1479 653 -113 14 -422 18 -536 8z m395 -428 c171 -34 330 -124 456 -258 112 -119 167 -219 211 -378 27 -96 24 -300 -5 -401 -72 -255 -236 -447 -474 -557 -132 -62 -201 -76 -368 -76 -167 0 -236 14 -368 76 -213 98 -373 271 -451 485 -162 444 86 934 547 1084 153 49 292 57 452 25z m909 -232 c222 -123 408 -262 593 -441 76 -74 138 -139 138 -144 0 -16 -233 -242 -330 -319 -155 -123 -309 -223 -461 -299 l-81 -41 32 46 c18 26 49 83 70 128 143 306 141 649 -6 957 -25 52 -61 116 -79 142 l-34 47 45 -20 c26 -10 76 -36 113 -56z m-2057 25 c-40 -58 -105 -190 -130 -263 -110 -324 -59 -707 132 -981 25 -35 42 -64 37 -64 -19 0 -241 119 -326 174 -188 122 -406 314 -532 468 l-58 71 108 103 c185 178 428 349 672 473 66 33 121 60 123 61 2 0 -10 -19 -26 -42z\"\/><path d=\"M2375 1950 c-198 -44 -350 -190 -395 -379 -18 -76 -8 -221 19 -290 114 -284 457 -406 731 -260 98 52 188 154 231 260 27 69 37 214 19 290 -38 163 -166 304 -326 360 -67 23 -215 33 -279 19z\"\/><\/g><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":56,"featured_media":22046,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,20,80],"tags":[1295],"class_list":["post-22044","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-23","category-20","category-80","tag--etl-"],"_links":{"self":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/22044","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/users\/56"}],"replies":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/comments?post=22044"}],"version-history":[{"count":1,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/22044\/revisions"}],"predecessor-version":[{"id":22047,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/22044\/revisions\/22047"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/media\/22046"}],"wp:attachment":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/media?parent=22044"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/categories?post=22044"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/tags?post=22044"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}