mirror of https://github.com/apache/druid.git
revert datasketches-java version to 1.1.0-incubating until new version is released (#9751)
* revert datasketches-java version to 1.1.0-incubating until fix is in place * fix tests * checkstyle
This commit is contained in:
parent
7fa72fbf15
commit
fc5383cd00
|
@ -94,13 +94,21 @@ public class HllSketchSqlAggregatorTest extends CalciteTestBase
|
|||
{
|
||||
private static final String DATA_SOURCE = "foo";
|
||||
private static final boolean ROUND = true;
|
||||
|
||||
private static QueryRunnerFactoryConglomerate conglomerate;
|
||||
private static Closer resourceCloser;
|
||||
private static AuthenticationResult authenticationResult = CalciteTests.REGULAR_USER_AUTH_RESULT;
|
||||
private static final Map<String, Object> QUERY_CONTEXT_DEFAULT = ImmutableMap.of(
|
||||
PlannerContext.CTX_SQL_QUERY_ID, "dummy"
|
||||
);
|
||||
private static QueryRunnerFactoryConglomerate conglomerate;
|
||||
private static Closer resourceCloser;
|
||||
private static AuthenticationResult authenticationResult = CalciteTests.REGULAR_USER_AUTH_RESULT;
|
||||
|
||||
@Rule
|
||||
public TemporaryFolder temporaryFolder = new TemporaryFolder();
|
||||
|
||||
@Rule
|
||||
public QueryLogHook queryLogHook = QueryLogHook.create(TestHelper.JSON_MAPPER);
|
||||
|
||||
private SpecificSegmentsQuerySegmentWalker walker;
|
||||
private SqlLifecycleFactory sqlLifecycleFactory;
|
||||
|
||||
@BeforeClass
|
||||
public static void setUpClass()
|
||||
|
@ -115,15 +123,6 @@ public class HllSketchSqlAggregatorTest extends CalciteTestBase
|
|||
resourceCloser.close();
|
||||
}
|
||||
|
||||
@Rule
|
||||
public TemporaryFolder temporaryFolder = new TemporaryFolder();
|
||||
|
||||
@Rule
|
||||
public QueryLogHook queryLogHook = QueryLogHook.create(TestHelper.JSON_MAPPER);
|
||||
|
||||
private SpecificSegmentsQuerySegmentWalker walker;
|
||||
private SqlLifecycleFactory sqlLifecycleFactory;
|
||||
|
||||
@Before
|
||||
public void setUp() throws Exception
|
||||
{
|
||||
|
@ -488,7 +487,6 @@ public class HllSketchSqlAggregatorTest extends CalciteTestBase
|
|||
+ " Log Config K : 12\n"
|
||||
+ " Hll Target : HLL_4\n"
|
||||
+ " Current Mode : LIST\n"
|
||||
+ " Memory : false\n"
|
||||
+ " LB : 2.0\n"
|
||||
+ " Estimate : 2.000000004967054\n"
|
||||
+ " UB : 2.000099863468538\n"
|
||||
|
@ -498,7 +496,6 @@ public class HllSketchSqlAggregatorTest extends CalciteTestBase
|
|||
+ " LOG CONFIG K : 12\n"
|
||||
+ " HLL TARGET : HLL_4\n"
|
||||
+ " CURRENT MODE : LIST\n"
|
||||
+ " MEMORY : FALSE\n"
|
||||
+ " LB : 2.0\n"
|
||||
+ " ESTIMATE : 2.000000004967054\n"
|
||||
+ " UB : 2.000099863468538\n"
|
||||
|
@ -632,7 +629,6 @@ public class HllSketchSqlAggregatorTest extends CalciteTestBase
|
|||
+ " Log Config K : 12\n"
|
||||
+ " Hll Target : HLL_4\n"
|
||||
+ " Current Mode : LIST\n"
|
||||
+ " Memory : false\n"
|
||||
+ " LB : 2.0\n"
|
||||
+ " Estimate : 2.000000004967054\n"
|
||||
+ " UB : 2.000099863468538\n"
|
||||
|
|
|
@ -3211,7 +3211,7 @@ name: DataSketches
|
|||
license_category: binary
|
||||
module: java-core
|
||||
license_name: Apache License version 2.0
|
||||
version: 1.2.0-incubating
|
||||
version: 1.1.0-incubating
|
||||
libraries:
|
||||
- org.apache.datasketches: datasketches-java
|
||||
|
||||
|
|
5
pom.xml
5
pom.xml
|
@ -84,7 +84,8 @@
|
|||
<avatica.version>1.15.0</avatica.version>
|
||||
<avro.version>1.9.2</avro.version>
|
||||
<calcite.version>1.21.0</calcite.version>
|
||||
<datasketches.version>1.2.0-incubating</datasketches.version>
|
||||
<datasketches.version>1.1.0-incubating</datasketches.version>
|
||||
<datasketches.memory.version>1.2.0-incubating</datasketches.memory.version>
|
||||
<derby.version>10.14.2.0</derby.version>
|
||||
<dropwizard.metrics.version>4.0.0</dropwizard.metrics.version>
|
||||
<guava.version>16.0.1</guava.version>
|
||||
|
@ -1014,7 +1015,7 @@
|
|||
<dependency>
|
||||
<groupId>org.apache.datasketches</groupId>
|
||||
<artifactId>datasketches-memory</artifactId>
|
||||
<version>${datasketches.version}</version>
|
||||
<version>${datasketches.memory.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.calcite</groupId>
|
||||
|
|
Loading…
Reference in New Issue