hive语句

like语句

1、sql:

select * from brrps_mart_org_map

where part_date =20170208

and branch03_name like ‘%北京%‘

2、hive:

select * from brrps_mart_org_map

where part_date =20170208

and branch03_name like concat(‘%’,’北京’,’%’)

    原文作者:queenieyin
    原文地址: https://www.jianshu.com/p/545199b07db3
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞