版权声明:本文为博主原创文章,未经博主同意不得转载. https://blog.csdn.net/sheismylife/article/details/29384357 假设你指定了\n为sqoop导入的换行符.mysql的某个string字段的值假设包括了\n, 则会导致sqoop导入多出一行记录. 有一个选项 -hive-drop-import-delims Drops \n, \r, and \01 from string fields when importing to Hive. 这
https://stackoverflow.com/questions/4021851/join-string-list-elements-with-a-delimiter-in-one-step You can use the StringUtils.join() method of Apache Commons Lang: String join = StringUtils.join(joinList, "+");