forked from D-Net/dnet-hadoop
Changes for Episciences journal
This commit is contained in:
parent
7a7eb30a3f
commit
733abdffe3
|
@ -499,7 +499,7 @@ public class PiwikStatsDB {
|
|||
|
||||
String returnEpisciencesJournals = "SELECT id, substring(regexp_extract(websiteurl,'^([^\\.]+)\\.?',1),9) FROM "
|
||||
+ ConnectDB.getStatsDBSchema() +
|
||||
".datasource where websiteurl like '%episciences%' and dateofvalidation is not null";
|
||||
".datasource where websiteurl like '%episciences%' and (dateofvalidation is not null or harvested=true)";
|
||||
|
||||
PreparedStatement st = ConnectDB.DB_HIVE_CONNECTION
|
||||
.prepareStatement(returnEpisciencesJournals);
|
||||
|
@ -576,7 +576,7 @@ public class PiwikStatsDB {
|
|||
|
||||
String returnEpisciencesJournals = "SELECT id, substring(regexp_extract(websiteurl,'^([^\\.]+)\\.?',1),9) FROM "
|
||||
+ ConnectDB.getStatsDBSchema() +
|
||||
".datasource where websiteurl like '%episciences%' and dateofvalidation is not null";
|
||||
".datasource where websiteurl like '%episciences%' and (dateofvalidation is not null or harvested=true)";
|
||||
|
||||
PreparedStatement st = ConnectDB.DB_HIVE_CONNECTION
|
||||
.prepareStatement(returnEpisciencesJournals);
|
||||
|
|
Loading…
Reference in New Issue