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

update codes

parent 3bfcf095
......@@ -215,7 +215,7 @@
<workItem from="1584945647680" duration="4469000" />
<workItem from="1588148891822" duration="2318000" />
<workItem from="1588152718016" duration="1463000" />
<workItem from="1588154601852" duration="23406000" />
<workItem from="1588154601852" duration="23750000" />
</task>
<servers />
</component>
......
......@@ -80,9 +80,9 @@ public class SparksqlServiceImpl implements SparksqlService {
ResultSetMetaData metaData = rs.getMetaData();
int columnCount = metaData.getColumnCount();
for(int i=1;i<= columnCount;i++){
String catalogName = metaData.getCatalogName(i);
headers.add(catalogName);
//headers.add("AA");
String columnName = metaData.getColumnName(i);
//String catalogName = metaData.getCatalogName(i);
headers.add(columnName);
}
while(rs.next()){
List<String> rowVals = new ArrayList<String>();
......
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