fluent-plugin-aliyun-odps 0.1.5 → 0.1.6

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: ccca9e5528e9cbc5461352d040d5fc4e9b1b519d
4
- data.tar.gz: cf67243d84b5a5cb744fb1bb4ef5a398ae630ae2
3
+ metadata.gz: 3557dd3c4653efb184fb04200769c5a9f53a6947
4
+ data.tar.gz: 6e35787b0de40f61db279b5d640209e8d800d5e9
5
5
  SHA512:
6
- metadata.gz: 70bca3d7fff3d6787e16f42697d996a4198a43967d7910c89addbc16d64da7b4ad4d82bc38a235c8aadd10770e5ac24433216c30c9d78521f03f7c0dc37908b9
7
- data.tar.gz: 1c34a5a98e54d264639ba6986c0f4c12ff6514f3b781f85870e89d2501fff9c7f98c5693b1ca259fe76016ff70f3788eb2bf152cca47fb8bae606486103e3f1a
6
+ metadata.gz: 7e37bd48d24117a0968f3fd6646b3ce8c64f133138410cbebcae287fe8ccfb6b4a8d1ebe57dd140e8c25fe1a4d9a430ef4028647508cd1514ab4283d29a6a1ad
7
+ data.tar.gz: 8112131d1bb7e0c09b31f98af58e2b28370107a5e715b5f1c95f5e5811cac1bafb3b692cbb9f2367ba2105db4bdfcc7be193996b2f0c93be723b1b190a2190b5
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.5
1
+ 0.1.6
@@ -171,7 +171,7 @@ module Fluent
171
171
  @log.error "Format partition failed, abandon this record. Msg:" +ex.message + " Table:" + @table
172
172
  @log.error "Drop data:" + data.to_s
173
173
  else
174
- raise e
174
+ raise ex
175
175
  end
176
176
  end
177
177
  else
@@ -116,6 +116,7 @@ module OdpsDatahub
116
116
  writeTag(col.mIdx + 1, ::Protobuf::WireType::VARINT, upStream)
117
117
  upStream.write(encodeDataTime(cellValue))
118
118
  when $ODPS_STRING
119
+ cellValue = cellValue.encode('utf-8')
119
120
  encode_str = encodeString(cellValue)
120
121
  crc32cRecord.write(cellValue)
121
122
  writeTag(col.mIdx + 1, ::Protobuf::WireType::LENGTH_DELIMITED, upStream)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-aliyun-odps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xiao Dong
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-05-06 00:00:00.000000000 Z
12
+ date: 2016-05-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd