Member since
08-08-2022
2
Posts
0
Kudos Received
0
Solutions
08-08-2022
09:39 PM
FAILED: SemanticException [Error 10017]: Line 5:8 Both left and right aliases encountered in JOIN ''%'' executed sql > select * from table_A a join table_B b on a.col_1 like concat('%', b.col_2, '%') where 1=1 ; I am using HDP 2.6.2 version and Hive 1.2.1000 version
... View more
08-08-2022
12:22 AM
I know Hive only provide equi join. For example, below sql statement. select * from A join B on A.c1 = B.c2 where 1=1; But I want to execute Like join Query in Hive. For example, below sql statement. select * from A join B on A.c1 like B.c2 where 1=1; Please let me know if you know the solution in Hive.
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Apache Hive