what are the following commands in sqoop?

后端 未结 5 1936
礼貌的吻别
礼貌的吻别 2020-12-23 23:10

Can anyone tell me what is the use of --split-by and boundary query in sqoop?

sqoop import --connect jdbc:mysql://localhost/my --username user --passw

5条回答
  •  感动是毒
    2020-12-24 00:03

    Also if we specify --query value within double quotes(" "), we need to precede $CONDITIONS with a slash(\)

    --query "select * from table where id=5 AND \$CONDITIONS"
    

    or else

    --query 'select * from table where id=5 AND $CONDITIONS' 
    

提交回复
热议问题