sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pratik khadloya <tispra...@gmail.com>
Subject Complex query with UNION ALL
Date Tue, 09 Sep 2014 17:41:55 GMT
I am trying to import data from a complex query which has 3 subqueries with
UNION ALL.
I see that in the logs, sqoop is trying to figure out the schema on that
query by adding a predicate of 1 == 0. But since on mysql we do not have
materialized views, this is taking a long time as the query itself takes
long time.

Is there a way i can provide the schema to sqoop separately so that it does
not have the figure it out by itself?


Thanks,
Pratik

Mime
View raw message