Fatih Haltas 2013-07-22, 10:00
I've responded on the other thread, but let me respond also here.
The --schema parameter is extra argument specific for given connector (PostgreSQL in this case). It's not a usual Sqoop argument. As a result it needs to be specified in extra argument section of the command line, for example:
sqoop import --connect ... -- --schema my_schema
Please do notice the extra "--" separating the normal Sqoop arguments and connector specific extra arguments.
On Mon, Jul 22, 2013 at 02:00:14PM +0400, Fatih Haltas wrote:
> Hi everyone,
> For couple of days, I am struggling to list/import tables under the
> spesific schema by sqoop but still I could not achieve.
> Jarek suggested me to use --schema optionthen I am using the command below
> but sqoop gives the help menu which means I am making a mistake at a point.
> Here is the command that I used so far.
> sqoop list-tables --connect
> jdbc:postgresql://192.168.194.158:5432/pgsql--username pgsql
> --password XXX --schema fatih
> Any help is gonna be apprecatied.
> Thanks you all.