Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-cloud
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-hook
gic-cloud
Commits
9f9e9d01
Commit
9f9e9d01
authored
Mar 17, 2022
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取数平台调整
parent
8a3488fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
CsvResultSetHelper.java
...ic/cloud/data/hook/service/entity/CsvResultSetHelper.java
+3
-0
FlatQueryResultServiceImpl.java
...ud/data/hook/service/impl/FlatQueryResultServiceImpl.java
+2
-2
No files found.
gic-cloud-data-hook-service/src/main/java/com/gic/cloud/data/hook/service/entity/CsvResultSetHelper.java
View file @
9f9e9d01
...
...
@@ -176,6 +176,9 @@ public class CsvResultSetHelper implements ResultSetHelper {
if
(
tmpResult
!=
null
&&
tmpResult
.
length
()
>
0
)
{
//tmpResult = DecryptUtils.getInstance().decrypt(tmpResult);
tmpResult
=
DecryptUtils
.
getInstance
().
decrypt
(
tmpResult
);
if
(
tmpResult
.
startsWith
(
"0"
)){
tmpResult
=
tmpResult
+
"\t"
;
}
System
.
out
.
println
(
"tmpResult = "
+
tmpResult
);
}
// IF OVER
result
.
add
(
tmpResult
);
...
...
gic-cloud-data-hook-service/src/main/java/com/gic/cloud/data/hook/service/impl/FlatQueryResultServiceImpl.java
View file @
9f9e9d01
...
...
@@ -627,8 +627,9 @@ public class FlatQueryResultServiceImpl implements IFlatQueryResultService {
log
.
debug
(
"自助指标当前正在执行的任务为:"
,
JSON
.
toJSONString
(
bigTaskConditions
.
get
(
i
)));
if
(
bigTaskConditions
.
get
(
i
).
getBuildPermitted
().
equals
(
Global
.
YES
))
{
try
{
connection
=
HiveHelper
.
getBigDataDownloadHiveConnection
();
condition
=
bigTaskConditions
.
remove
(
i
);
// 移除并获取第一个任务条件
bigTaskRunningMap
.
put
(
condition
.
getTaskId
(),
condition
.
getTaskId
());
connection
=
HiveHelper
.
getBigDataDownloadHiveConnection
();
break
;
}
catch
(
Exception
e
){
log
.
debug
(
"获取连接异常:"
,
e
.
getMessage
());
...
...
@@ -637,7 +638,6 @@ public class FlatQueryResultServiceImpl implements IFlatQueryResultService {
}
}
// IF OVER
}
// FOR OVER
bigTaskRunningMap
.
put
(
condition
.
getTaskId
(),
condition
.
getTaskId
());
takeFile
(
condition
,
connection
);
bigTaskRunningMap
.
remove
(
condition
.
getTaskId
());
}
// 没有任务则忽略
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment