im in the process on transferiing data from oracle to hive with thiveinput talend.
My code looks like this.
SELECT
DISTINCT A.ID,
LEVEL SEQUENCE,
REGEXP_SUBSTR(A.ANEST,'[^|]+', 1, LEVEL),
DATE
FROM
( SELECT A.*
FROM tableaa A,
tablebb B
WHERE A.IDX = B.IDY
and A.DATE = B.DATE
) A
CONNECT BY INSTR(A.ANEST, '|', 1, LEVEL-1) > 0
AND PRIOR sys_guid() IS NOT NULL
Would u mind to explain in the simple way, what connect by instr stands for? And how should I write in hive?
thank you