我需要使用瓢将HTML内容(MS SQL Server表中的字段)导入文本文件。尽管我没有收到任何错误,但预期会导入字段。缺少一些HTML标记。任何帮助,将不胜感激。下面是sqoop评论
sqoop导入-驱动程序“ net.sourceforge.jtds.jdbc.Driver” --connect \ “ jdbc:jtds:sqlserver:// abcd; instance = MSSQLSERVER; databaseName = abcd; domain = abcd.com”-用户名abcd -P \ --query“从abcd.html中选择*” --target-dir / user / abcd / abcd --split-by id --fields-terminated-by'|'
HTML内容示例:
EMAIL SUBJECT: FW: The Update Site URL<br />
EMAIL BODY: <div>
<p style="margin: 0;"><span style="color:#1F497D">Hello. I will need assistance with this so the radio
can download calls to our server. Thank you.</span></p>
<p style="margin: 0;"><span style="color:#1F497D"></span></p>
<p style="margin: 0;"><span style="color:#1F497D"></span></p>