|
@@ -270,7 +270,7 @@ public class ContentPlatformDemandVideoJob {
|
|
|
}
|
|
}
|
|
|
for (List<Long> partition : Lists.partition(videoIds, ODPS_CATEGORY_CHUNK)) {
|
|
for (List<Long> partition : Lists.partition(videoIds, ODPS_CATEGORY_CHUNK)) {
|
|
|
String inClause = partition.stream().map(String::valueOf).collect(Collectors.joining(","));
|
|
String inClause = partition.stream().map(String::valueOf).collect(Collectors.joining(","));
|
|
|
- String sql = "SELECT videoid, merge_leve2 FROM loghubods.video_merge_tag WHERE videoid IN (" + inClause + ")";
|
|
|
|
|
|
|
+ String sql = "SELECT videoid, merge_leve2 FROM loghubods.video_merge_tag WHERE videoid IN (" + inClause + ");";
|
|
|
try {
|
|
try {
|
|
|
List<Record> records = odpsManager.query(sql);
|
|
List<Record> records = odpsManager.query(sql);
|
|
|
if (CollectionUtils.isEmpty(records)) {
|
|
if (CollectionUtils.isEmpty(records)) {
|