embulk-input-adebis 0.0.1.pre5 → 0.0.1.pre6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3eca218a64d051ae548b314eed0c189ac300c182
4
- data.tar.gz: 0fbb66355842cbb209ac04754a33537f199e443a
3
+ metadata.gz: 51f2bfa03fc99c44518e929cfc7137e8c6f7f7a3
4
+ data.tar.gz: cbd54b931430d25933212103e064112bf48cfdfc
5
5
  SHA512:
6
- metadata.gz: 7960e41ad2837dae51a46b3eddae368ade31fb3b5c865761137faaaaf8705392b38c99f7b3a9d752501dfb20f66d18362113fa13f0e5658263934df0cae19b10
7
- data.tar.gz: 14ee60705c8eec1b349a6459dcc59b3e21ad7d4e189d5218ffa1aa491e4cbcc4b87759fdc777e1ae4bac00c449d23a9d0007b3c44ce20ba90d009f05f955e01f
6
+ metadata.gz: 9c3a763045df16df9c836553b00730ec1a268de8267e46bbaf6dea38a98b289757a082ac7332a01cdcd295a99258d900b203742384208f5a6f8a99e48ef3aca4
7
+ data.tar.gz: ba653026a78dab8e0bc75c5cad2c7f74b82a2ba17ed3c4b51d4fdb58d0d45a8f5917bbfea47aea04da63a1b858dd666d221b47407b138127a06b4b058fbc3ecf
@@ -289,11 +289,6 @@ public class Ad extends AbstractOperation {
289
289
  if (record.isParentAdIdSpecified()) pageBuilder.setString(c, record.getParentAdId());
290
290
  else pageBuilder.setNull(c);
291
291
  break;
292
- case "createdAt":
293
- long unixtime = System.currentTimeMillis() / 1000L;
294
- org.embulk.spi.time.Timestamp timestamp = org.embulk.spi.time.Timestamp.ofEpochSecond(unixtime);
295
- pageBuilder.setTimestamp(c, timestamp);
296
- break;
297
292
  default:
298
293
  break;
299
294
  }
@@ -331,7 +326,6 @@ public class Ad extends AbstractOperation {
331
326
  .add("details" , Types.STRING)
332
327
  .add("urlData" , Types.STRING)
333
328
  .add("parentAdId" , Types.STRING)
334
- .add("createdAt" , Types.TIMESTAMP)
335
329
  .build();
336
330
  }
337
331
 
@@ -126,11 +126,6 @@ public class AdConversionAttribute extends AbstractOperation {
126
126
  Boolean isExcluded = false;
127
127
  for (Column c : schema.getColumns()) {
128
128
  switch (c.getName()) {
129
- case "createdAt":
130
- long unixtime = System.currentTimeMillis() / 1000L;
131
- org.embulk.spi.time.Timestamp timestamp = org.embulk.spi.time.Timestamp.ofEpochSecond(unixtime);
132
- pageBuilder.setTimestamp(c, timestamp);
133
- break;
134
129
  case "amount":
135
130
  if (record.isAmountSpecified()) pageBuilder.setLong(c, record.getAmount());
136
131
  else pageBuilder.setNull(c);
@@ -279,7 +274,6 @@ public class AdConversionAttribute extends AbstractOperation {
279
274
  .add("other5", Types.STRING)
280
275
  .add("terminalType", Types.LONG)
281
276
  .add("userId", Types.STRING)
282
- .add("createdAt", Types.TIMESTAMP)
283
277
  .build();
284
278
  }
285
279
  }
@@ -97,11 +97,6 @@ public class AdGroup1 extends AbstractOperation {
97
97
  }
98
98
  for (Column c : schema.getColumns()) {
99
99
  switch (c.getName()) {
100
- case "createdAt":
101
- long unixtime = System.currentTimeMillis() / 1000L;
102
- org.embulk.spi.time.Timestamp timestamp = org.embulk.spi.time.Timestamp.ofEpochSecond(unixtime);
103
- pageBuilder.setTimestamp(c, timestamp);
104
- break;
105
100
  case "adGroup1Id":
106
101
  if (record.isAdGroup1IdSpecified()) pageBuilder.setLong(c, record.getAdGroup1Id());
107
102
  else pageBuilder.setNull(c);
@@ -129,7 +124,6 @@ public class AdGroup1 extends AbstractOperation {
129
124
  return Schema.builder()
130
125
  .add("adGroup1Id" , Types.LONG)
131
126
  .add("adGroup1Name", Types.STRING)
132
- .add("createdAt" , Types.TIMESTAMP)
133
127
  .build();
134
128
  }
135
129
  }
@@ -97,11 +97,6 @@ public class AdGroup2 extends AbstractOperation {
97
97
  }
98
98
  for (Column c : schema.getColumns()) {
99
99
  switch (c.getName()) {
100
- case "createdAt":
101
- long unixtime = System.currentTimeMillis() / 1000L;
102
- org.embulk.spi.time.Timestamp timestamp = org.embulk.spi.time.Timestamp.ofEpochSecond(unixtime);
103
- pageBuilder.setTimestamp(c, timestamp);
104
- break;
105
100
  case "adGroup2Id":
106
101
  if (record.isAdGroup2IdSpecified()) pageBuilder.setLong(c, record.getAdGroup2Id());
107
102
  else pageBuilder.setNull(c);
@@ -129,7 +124,6 @@ public class AdGroup2 extends AbstractOperation {
129
124
  return Schema.builder()
130
125
  .add("adGroup2Id" , Types.LONG)
131
126
  .add("adGroup2Name", Types.STRING)
132
- .add("createdAt" , Types.TIMESTAMP)
133
127
  .build();
134
128
  }
135
129
  }
@@ -96,11 +96,6 @@ public class Media extends AbstractOperation {
96
96
  }
97
97
  for (Column c : schema.getColumns()) {
98
98
  switch (c.getName()) {
99
- case "createdAt":
100
- long unixtime = System.currentTimeMillis() / 1000L;
101
- org.embulk.spi.time.Timestamp timestamp = org.embulk.spi.time.Timestamp.ofEpochSecond(unixtime);
102
- pageBuilder.setTimestamp(c, timestamp);
103
- break;
104
99
  case "mediaId":
105
100
  if (record.isMediaIdSpecified()) pageBuilder.setLong(c, record.getMediaId());
106
101
  else pageBuilder.setNull(c);
@@ -128,7 +123,6 @@ public class Media extends AbstractOperation {
128
123
  return Schema.builder()
129
124
  .add("mediaId" , Types.LONG)
130
125
  .add("mediaName", Types.STRING)
131
- .add("createdAt", Types.TIMESTAMP)
132
126
  .build();
133
127
  }
134
128
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-input-adebis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.pre5
4
+ version: 0.0.1.pre6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takuya Tokuda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-24 00:00:00.000000000 Z
11
+ date: 2019-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler