{"id":209261,"date":"2020-11-29T06:18:13","date_gmt":"2020-11-28T22:18:13","guid":{"rendered":"http:\/\/4563.org\/?p=209261"},"modified":"2020-11-29T06:18:13","modified_gmt":"2020-11-28T22:18:13","slug":"%e9%81%87%e5%88%b0%e4%b8%80%e4%b8%aa-hive-sql-%e7%9a%84-bug%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=209261","title":{"rendered":"\u9047\u5230\u4e00\u4e2a hive sql \u7684 bug\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u9047\u5230\u4e00\u4e2a hive sql \u7684 bug\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : e583409 <\/span>  <span><i><\/i> 1<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        hive \u91cc\u9762\u4e3a\u4ec0\u4e48\u7b2c\u4e00\u6761 sql \u67e5\u4e0d\u5230\u6570\u636e\u5462\uff1f<br \/>select t1.pubmed_id,t2.issn from docs_list_temp t1 inner join ods.docs_merge t2 on t1.pubmed_id = t2.pubmed_id where t1.pubmed_id in (29492850,32277430);<\/p>\n<p>\u80fd\u67e5\u51fa\u6765 2 \u6761\u6570\u636e<br \/>select * from docs_list_temp t1 where t1.pubmed_id in (29492850,32277430);<\/p>\n<p>\u80fd\u67e5\u51fa\u6765 2 \u6761\u6570\u636e<br \/>select * from ods.docs_merge t2 where t2.pubmed_id in (29492850,32277430);      <\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>7<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4357744\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : e583409 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e24\u4e2a\u8868\u7684 pubmed_id \u5b57\u6bb5\u7c7b\u578b\u90fd\u662f bigint                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4357745\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : keyakizaka46 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6309\u7167\u6211\u7684\u6392\u67e5\u601d\u8def\uff0c\u5148\u7528 left join \u770b\u770b\u80fd\u4e0d\u80fd\u5173\u8054\u7684\u4e0a\uff0c\u4e0d\u884c\u7684\u8bdd\u53bb\u6389\u9650\u5236\u6761\u4ef6\uff0c\u518d\u4e0d\u884c\u53ea\u80fd\u518d\u68c0\u67e5\u5b57\u6bb5\u7c7b\u578b\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4357746\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : leiuu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u91cc\u8fb9\u6570\u636e\u662f\u4ec0\u4e48\u6837\u7684\u5462\uff0c\u80fd\u5426\u5206\u4eab\u4e0b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4357747\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : perfee <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u79cd\u7b80\u5355\u7684 sql\uff0c\u4f18\u5316\u5668\u90fd\u4e0d\u4f1a\u505a\u592a\u591a\u8c03\u6574\u7684\u3002<br \/>\u53ef\u4ee5\u5148\u770b\u4e0b\u6267\u884c\u8ba1\u5212\uff08\u76f4\u89c9\u662f\u611f\u89c9\u4e0d\u4f1a\u662f sql \u89e3\u6790\u4f18\u5316\u5c42\u9762\u7684\u95ee\u9898\uff0c\u4e5f\u4e0d\u662f\u6267\u884c\u95ee\u9898\uff09\uff0c\u5927\u6982\u7387\u662f\u6570\u636e\u95ee\u9898\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4357748\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhangysh1995 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53ef\u80fd\u662f\u4e2a bug\uff0c\u53ef\u4ee5\u5148\u6392\u67e5\uff0c\u770b\u4e00\u4e0b explain \u8fd9\u4e9b\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4357749\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : heyyyy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6267\u884c\u8ba1\u5212\u8d34\u51fa\u6765\u5eb7\u5eb7                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4357750\" 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>                                                             \u88ab\u4f18\u5316\u6389\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u9047\u5230\u4e00\u4e2a hive sql \u7684 b&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\/209261"}],"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=209261"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/209261\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=209261"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=209261"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=209261"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}