sql - HiveQL INNER JOIN -
I am trying to connect a simple INNER between the two tables in the hive, I have a table of command and the other one The log table is the structure of both of them:
order:
id_operacion string filtered string id_usuario string id_producto string unidades int id_bono string precio float precio_total flap ip string LOGS: Host Identity STRING User STRING Time STRING Request STRING Status STRING Size STRING Referer STRING GENT STRING All 'IP' order table has a value, some of them are nullified
I want to get the value order.id_usuario , order.id_producto, logs.host, logs.agent . In those cases that order.ip = log.host. I'm trying this query:
Log in to SELECT order.id_producto, order.id_usuario, log.host, Order.ip = log.host. log in. I do not know why but the question lasts for logs with all the agents, and not only matches the IP address of those two tables.
I hope I have explained this issue. Any ideas?
It may seem like a problem with the inclusion of this table with the tap. Can you also try this data?
SELECT order.id_producto, order.id_usuario, log.host, log on with log.agent command, order order.ip = log.host.Apple is not empty
Comments
Post a Comment