Commit fbf2e686 authored by 赵建伟's avatar 赵建伟

update codes

parent 1aab7b14
...@@ -41,7 +41,7 @@ public class HivesqlServiceImpl implements HivesqlService { ...@@ -41,7 +41,7 @@ public class HivesqlServiceImpl implements HivesqlService {
reader = new BufferedReader(new FileReader(file)); reader = new BufferedReader(new FileReader(file));
String tempStr; String tempStr;
while ((tempStr = reader.readLine()) != null) { while ((tempStr = reader.readLine()) != null) {
sbf.append("\t").append(tempStr); sbf.append("\n").append(tempStr);
} }
reader.close(); reader.close();
} catch (IOException e) { } catch (IOException e) {
......
...@@ -45,7 +45,7 @@ public class SparksqlServiceImpl implements SparksqlService { ...@@ -45,7 +45,7 @@ public class SparksqlServiceImpl implements SparksqlService {
reader = new BufferedReader(new FileReader(file)); reader = new BufferedReader(new FileReader(file));
String tempStr; String tempStr;
while ((tempStr = reader.readLine()) != null) { while ((tempStr = reader.readLine()) != null) {
sbf.append("\t").append(tempStr); sbf.append("\n").append(tempStr);
} }
reader.close(); reader.close();
} catch (IOException e) { } catch (IOException e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment