---------- Forwarded message ----------
From: 施兴 <[EMAIL PROTECTED]>
Date: Thu, Dec 4, 2008 at 10:32 AM
Subject: Meet a problem
To: [EMAIL PROTECTED]


FROM hive_test
INSERT OVERWRITE TABLE domain_compute SELECT hive_test.domain,
COUNT(DISTINCT hive_test.id)   GROUP BY hive_test.domain
INSERT OVERWRITE LOCAL DIRECTORY '/tmp/hive_test2' SELECT hive_test.domain,
COUNT(DISTINCT hive_test.ip) GROUP BY hive_test.domain;

shows this information:

FAILED: Parse Error: line 1:23 required (...)+ loop did not match anything
at input 'OVERWRITE'

I am learning hive statement by :Data/Hive/Hive 2.0 Tutorial Concepts

-- 
Best wishes!
My Friend~



-- 
Best wishes!
My Friend~

Reply via email to