0

Hi i connected Hive using DB visualizer and fired a simple join query to fetch two columns according to the filter applied. But the query was running for more than an hour with the status "Executing". I fired the same query in Hive logging through Putty and got the result in less than 20 seconds.

Can anyone help me to understand why the query in DB visualizer was running for a long time without producing any output.

Query used:

SELECT
  A.ORDER,
  B.ORDER1
FROM
 ORDER A
 INNER JOIN DUORDER B ON A.ORDER=B.ORDER1 AND A.TYPE ='50'

(The result set contain only 400 records)

Bellerofont
  • 1,081
  • 18
  • 17
  • 16

1 Answers1

-3

To analyze why, we need more info. Please please open Tools->Debug Window in DbVisualizer and enable debugging (just for DbVisualizer, not JDBC). Execute the query again, stopping it after some time (say a few minutes). Then submit a support request using Help->Contact Support, and make sure that Attach Logs is enabled. This will give us the info we need to see what may be wrong.

Best Regards, Hans (DbVisualizer team)

Hans
  • 59
  • 2