embulk-input-clickhouse 0.1.0 → 0.1.1

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: c7e6a4896fc3d30de73c07bba39eeccf8695f0cc
4
- data.tar.gz: f2515544e5f9e7b741020d67a533a4b6f14fd93e
3
+ metadata.gz: d7fae6cf69398bf818626200a051a82931e3b94f
4
+ data.tar.gz: 68dd2f0e872e35feb4edbe16d9e282b090ba7f5a
5
5
  SHA512:
6
- metadata.gz: 809c5a5e71e07fc5d4dce3d6e3f87259aaa96104943d088174539d1a0fd18f84ca6ed7443aa8b74b57302d221847ca6caebd347408d3e36a5c6f6094ab5d5825
7
- data.tar.gz: 723663526c048119070d18f6fb46236a8fed94366cca0b392be4a95f933d9c5712af408ad039563f95e04dd76328dba8f39c1e47d40675f3cbd3df068c81b27d
6
+ metadata.gz: b839bce7c301d80502c715a94e9dead6ea7d9b7b0514c213932578515961560cbc133720ff72ba5666a69863b0cae2a4224c183774f48b35feb86e300e8194d6
7
+ data.tar.gz: d8df78af66283bdb3b56fd901e9e255390b44c3511121ce4700e044528279e5f0e25c97dc3b14719be0867159e73b2159c25bacdea534d2ca71449a7e374ada4
@@ -11,12 +11,15 @@ repositories {
11
11
  maven {
12
12
  url "http://dl.bintray.com/embulk-input-jdbc/maven"
13
13
  }
14
+ maven {
15
+ url "https://dl.bintray.com/tac0x2a/click-house-jdbc-exp"
16
+ }
14
17
  }
15
18
  configurations {
16
19
  provided
17
20
  }
18
21
 
19
- version = "0.1.0"
22
+ version = "0.1.1"
20
23
 
21
24
  sourceCompatibility = 1.8
22
25
  targetCompatibility = 1.8
@@ -27,7 +30,7 @@ dependencies {
27
30
  testCompile "junit:junit:4.+"
28
31
 
29
32
  compile "org.embulk.input.jdbc:embulk-input-jdbc:0.9.3"
30
- compile "ru.yandex.clickhouse:clickhouse-jdbc:0.1.41"
33
+ compile "net.tac42.clickhouse:clickhouse-jdbc-exp:0.1.42"
31
34
  compile "com.google.code.gson:gson:2.8.5"
32
35
  }
33
36
 
@@ -2,6 +2,8 @@ package org.embulk.input.clickhouse;
2
2
 
3
3
  import com.google.common.base.Optional;
4
4
 
5
+ import net.tac42.clickhouse.settings.ClickHouseConnectionSettings;
6
+
5
7
  import org.embulk.config.Config;
6
8
  import org.embulk.config.ConfigDefault;
7
9
  import org.embulk.config.ConfigDiff;
@@ -23,8 +25,6 @@ import java.sql.SQLException;
23
25
  import java.util.List;
24
26
  import java.util.Properties;
25
27
 
26
- import ru.yandex.clickhouse.settings.ClickHouseConnectionSettings;
27
-
28
28
  public class ClickhouseInputPlugin extends AbstractJdbcInputPlugin
29
29
  {
30
30
  public interface ClickHousePluginTask
@@ -90,7 +90,8 @@ public class ClickhouseInputPlugin extends AbstractJdbcInputPlugin
90
90
  @Override
91
91
  protected JdbcInputConnection newConnection(AbstractJdbcInputPlugin.PluginTask task) throws SQLException
92
92
  {
93
- final String driverClass = "ru.yandex.clickhouse.ClickHouseDriver";
93
+ //final String driverClass = "ru.yandex.clickhouse.ClickHouseDriver";
94
+ final String driverClass = "net.tac42.clickhouse.ClickHouseDriver";
94
95
 
95
96
  ClickHousePluginTask t = (ClickHousePluginTask) task;
96
97
 
@@ -2,6 +2,8 @@ package org.embulk.input.clickhouse.getter;
2
2
 
3
3
  import com.google.gson.Gson;
4
4
 
5
+ import net.tac42.clickhouse.response.ClickHouseResultSet;
6
+
5
7
  import org.embulk.input.jdbc.getter.AbstractColumnGetter;
6
8
  import org.embulk.spi.Column;
7
9
  import org.embulk.spi.PageBuilder;
@@ -15,8 +17,6 @@ import java.math.BigInteger;
15
17
  import java.sql.ResultSet;
16
18
  import java.sql.SQLException;
17
19
 
18
- import ru.yandex.clickhouse.response.ClickHouseResultSet;
19
-
20
20
  public class BigIntegerColumnGetter extends AbstractColumnGetter
21
21
  {
22
22
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-input-clickhouse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - TAC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-02 00:00:00.000000000 Z
11
+ date: 2018-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -49,10 +49,10 @@ files:
49
49
  - LICENSE.txt
50
50
  - README.md
51
51
  - build.gradle
52
- - classpath/clickhouse-jdbc-0.1.41.jar
52
+ - classpath/clickhouse-jdbc-exp-0.1.42.jar
53
53
  - classpath/commons-codec-1.9.jar
54
54
  - classpath/commons-logging-1.2.jar
55
- - classpath/embulk-input-clickhouse-0.1.0.jar
55
+ - classpath/embulk-input-clickhouse-0.1.1.jar
56
56
  - classpath/embulk-input-jdbc-0.9.3.jar
57
57
  - classpath/gson-2.8.5.jar
58
58
  - classpath/guava-19.0.jar