Skip to content

Commit

Permalink
[pinpoint-apm#11512] Bump pinot jdbc client to 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
donghun-cho committed Sep 23, 2024
1 parent 6acfcfd commit a23efa8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public void pinotPartitionForLongSortKeyTest() {
int numPartitions = 128;
Long longValue = -4545381519295174261L;
MurmurPartitionFunction murmurPartitionFunction = new MurmurPartitionFunction(numPartitions);
int partition = murmurPartitionFunction.getPartition(longValue);
int partition = murmurPartitionFunction.getPartition(longValue.toString());
assertEquals(105, partition);
}

Expand All @@ -126,7 +126,7 @@ public void comparePartitionOperationInKafkaAndPinotForLongSortKeyTest() {
int numPartitions = 128;
Long longValue = 5522573437844253163L;
MurmurPartitionFunction murmurPartitionFunction = new MurmurPartitionFunction(numPartitions);
int pinotPartition = murmurPartitionFunction.getPartition(longValue);
int pinotPartition = murmurPartitionFunction.getPartition(longValue.toString());
assertEquals(1, pinotPartition);

LongSerializer keySerializer = new LongSerializer();
Expand Down
36 changes: 8 additions & 28 deletions pinot/pinot-datasource/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,20 +116,15 @@
</exclusions>
</dependency>

<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<!--<version>3.2.2</version>-->
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<!--<version>2.12.5</version>-->
<!--<version>2.12.7</version>-->
</dependency>
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>0.9.11</version>
<version>0.10.2</version>
<exclusions>
<exclusion>
<groupId>*</groupId>
Expand All @@ -145,7 +140,7 @@
<dependency>
<groupId>it.unimi.dsi</groupId>
<artifactId>fastutil</artifactId>
<version>8.2.3</version>
<version>8.5.13</version>
</dependency>
<dependency>
<groupId>org.locationtech.jts</groupId>
Expand All @@ -155,7 +150,7 @@
<dependency>
<groupId>org.apache.calcite</groupId>
<artifactId>calcite-core</artifactId>
<version>1.30.0</version>
<version>1.37.0</version>
<exclusions>
<exclusion>
<groupId>*</groupId>
Expand All @@ -166,7 +161,7 @@
<dependency>
<groupId>org.apache.calcite</groupId>
<artifactId>calcite-linq4j</artifactId>
<version>1.30.0</version>
<version>1.37.0</version>
<exclusions>
<exclusion>
<groupId>*</groupId>
Expand All @@ -177,23 +172,18 @@
<dependency>
<groupId>org.apache.calcite.avatica</groupId>
<artifactId>avatica-core</artifactId>
<version>1.20.0</version>
<version>1.25.0</version>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.esri.geometry</groupId>
<artifactId>esri-geometry-api</artifactId>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>com.jayway.jsonpath</groupId>
<artifactId>json-path</artifactId>
<!--<version>2.7.0</version>-->
<!--<version>2.9.0</version>-->
<exclusions>
<exclusion>
<groupId>*</groupId>
Expand All @@ -204,12 +194,7 @@
<dependency>
<groupId>com.github.seancfoley</groupId>
<artifactId>ipaddress</artifactId>
<version>5.3.4</version>
</dependency>
<dependency>
<groupId>org.apache.datasketches</groupId>
<artifactId>datasketches-java</artifactId>
<version>4.1.0</version>
<version>5.5.0</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
Expand All @@ -228,11 +213,6 @@
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>commons-configuration</groupId>
<artifactId>commons-configuration</artifactId>
<version>1.10</version>
</dependency>
<dependency>
<groupId>com.101tec</groupId>
<artifactId>zkclient</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
<codehaus.jackson.version>1.9.13</codehaus.jackson.version>
<hbase2.client.version>2.5.10-hadoop3</hbase2.client.version>

<pinot.client.version>1.0.0</pinot.client.version>
<pinot.client.version>1.2.0</pinot.client.version>

<plugin.jacoco.skip>true</plugin.jacoco.skip>

Expand Down

0 comments on commit a23efa8

Please sign in to comment.