来自 SQL Server 的 Sqoop,没有主键
我正在尝试对一个具有数十亿条记录并且表中没有任何主键的表进行 sqoop 导入,因此我无法通过任何现有列进行 --split-by 。
是否可以按行号拆分,以便我可以在所有映射器之间平均拆分数据。
您能帮忙执行一下命令吗?
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论