'Sqoop from SQL Server with no primary keys

I am trying to do a sqoop import for a table that has few billion records and doesn't have any primary key in the table, so I can't do --split-by any existing column.

Is it possible to split by row number, so I can split the data equally across all mappers.

Can you please help with the command.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source