Hive 选择与 Rlike 加入
我在配置单元上有两个表,一个包含我从日志中提取的引用链接。 另一个有正则表达式来过滤它们。 我只想获取与正则表达式不匹配的引荐来源网址。
我的目标是:
SELECT iisrefer.referer
FROM iisrefer
LEFT OUTER JOIN iisrefermap
ON iisrefer.referer rlike iisrefermap.referer
WHERE iisrefermap.referer IS NULL
正如你所看到的这里 hive不支持它,第一条评论建议解决方法,但我不明白如何执行它,
有人可以帮助我吗? 谢谢,
I have two tables on hive, one contains referer link that i extract from log.
the other one have regex to filter them.
I want to get only the referers that not match to regex.
my goal is:
SELECT iisrefer.referer
FROM iisrefer
LEFT OUTER JOIN iisrefermap
ON iisrefer.referer rlike iisrefermap.referer
WHERE iisrefermap.referer IS NULL
as you can see here hive not support it, the first comment suggest a work around but i didnt understand how to execute it,
can someone help me please?
Thanks,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为你应该这样使用:
我希望它会有所帮助。
I think you should use smth like this:
I wish it will help.