/google/gmail/inbox
/google/drive/map
/google/apps
/yahoo/news/cricket
/yahoo/mail/
/yahoo/sports
/wiki/ind/jack
/wiki/us/jil
Run Code Online (Sandbox Code Playgroud)
我需要获取所需的页面组.如果我使用hive查询搜索以'google'开头的页面组,我需要获取前3行的数据.
/google/gmail/inbox
/google/drive/map
/google/apps
Run Code Online (Sandbox Code Playgroud)
这样我就需要根据页面组获取数据.
我使用like函数搜索字符串.
select * from table where field like '%/google/%';
Run Code Online (Sandbox Code Playgroud)