开发者社区 问答 正文

MaxCompute的MapJoin Hint的使用方法是什么?

MaxCompute的MapJoin Hint的使用方法是什么?

展开
收起
游客yzrzs5mf6j7yy 2021-12-08 18:12:46 588 分享 版权
1 条回答
写回答
取消 提交回答
  • ​ 在SELECT语句中使用Hint提示/*+ MAPJOIN(table) */,如下:

    SELECT /* + MAPJOIN(a) */ a.shop_name, b.customer_id, b.total_price FROM shop a JOIN sale_detail b ON a.shop_name = b.shop_name;

    2021-12-08 18:13:09
    赞同 展开评论