Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Problem in Conversion of Oracle Query to Hive Query

$
0
0

Hello All,

I am converting a below Oracle query to hive Query. Can anyone please post the Converted Hive query for this?

select /*+ NO_INDEX(US_VOICE_1 USI_VOICE_1) */ COUNT(REPORT_TIME) as Count_Raw from saidata.US_VOICE_1, (SELECT distinct CLEAR_CODE_ID,CLEAR_CODE_STATUS FROM SAIDATA.ES_CLEAR_CODE_1) d where REPORT_TIME>=’$1′ AND REPORT_TIME < ‘$2′ and us_voice_1.clear_code_id = d.clear_code_id (+) and SIGNALLING_COMPLETE_TIME is NOT NULL and B_ANSWERED_TIME is NULL and d.CLEAR_CODE_STATUS = ‘Success’


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>