Comments (3)
@soullkk , does it work if you pass the
sizeBytes
as a String, i.e."33554432"
instead of33554432
?
Yes, using "33554432" is not a problem, but this value is an int instead of a string, and it does not match the guidance provided by the Druid. Additionally, in lower versions of the Druid, such as 24.0.1, using 33554432 is not a problem. So I think this is a bug and an incompatible change point in higher versions of the Druid.
from druid.
private static final Integer num = 1;
public static void main(String[] args) {
add(get());
}
public static void add(int obj) {
System.out.println("int");
}
public static void add(String obj) {
System.out.println("string");
}
public static void add(long obj) {
System.out.println("long");
}
public static <T> T get() {
return (T) num;
}
result is :
Exception in thread "main" java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
at lkk.util.Main.main(Main.java:136)
from druid.
@soullkk , does it work if you pass the sizeBytes
as a String, i.e. "33554432"
instead of 33554432
?
from druid.
Related Issues (20)
- Encountered test failed when running test from `kubernetes-overlord-extensions` module
- Explore API
- [MM-less] Clean up volume config when inherit podSpec from Overlord HOT 5
- KafkaTuningConfiguration spec is incorrectly documented & Implemented
- /v2 and /v2/candidates endpoints not respecting broker partition pruning - range partition
- supervisor endpoint not respecting frontCoded indexSpec formatVersion
- Is druid.segmentCache.locations is used to configure the maximum storage size for hot data?
- Overlord cannot respond to requests when kafka is abnormal
- Ingestion lag because of multiple checkpoints. HOT 1
- Need a way to distribute ingestion task replicas across tiers
- Ingestion tasks fail because of problem with HDFS
- druid datasource delete automatically [only unused data sources]
- MSQ exporting fails to output headers with complex column types (array/json) HOT 1
- feature: stringMax, stringMin aggregations
- Auto-generate metric emitter mappings HOT 2
- druid.indexer.task.restoreTasksOnRestart does not work by default for Docker based deployments on Kubernetes HOT 1
- SQL JSON_OBJECT() function results in RUNTIME_FAILURE when querying INFORMATION_SCHEMA.COLUMNS
- Kill task using exclusive locks currently and no way to change it
- Add filter feature for DataSource section of Router page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from druid.