Comments (1)
I have already found the code which occur the error.
GroupConcatFunctionExtension.java
The code:
` @OverRide
public Object processAdd(Object o) {
addString((String) o);
return constructConcatString(",");
}
@Override
public Object processAdd(Object[] objects) {
addString((String) objects[0]);
return constructConcatString((String) objects[1]);
}
@Override
public Object processRemove(Object o) {
removeString((String) o);
return constructConcatString(",");
}
@Override
public Object processRemove(Object[] objects) {
removeString((String) objects[0]);
return constructConcatString((String) objects[1]);
}`
should be changed as below:
`@Override
public Object processAdd(Object o) {
addString(String.valueOf(o));
return constructConcatString(",");
}
@Override
public Object processAdd(Object[] objects) {
addString(String.valueOf(objects[0]));
return constructConcatString(String.valueOf(objects[1]));
}
@Override
public Object processRemove(Object o) {
removeString(String.valueOf(o));
return constructConcatString(",");
}
@Override
public Object processRemove(Object[] objects) {
removeString(String.valueOf(objects[0]));
return constructConcatString(String.valueOf(objects[1]));
}`
from siddhi-execution-string.
Related Issues (13)
- Add a function to aggregate a string attribute of events in a stream and concatenate to a single string
- Unable to get only distinct values from the tokenize method
- Siddhi String Tokenizer return parameter in not clear in the documentation
- [Doc] Regex used for substr function is optional, but documentation it is marked as mandatory HOT 1
- Improvements to documentation related to the default datasources of WSO2 SP
- Adding new extensions for map and evaluate strings HOT 1
- Improve logging in GetStringJSONFunctionExtension HOT 3
- Runtime exception testcases are not asserted
- Add jacoco plugin for test coverage report generation
- str:concat() should support not string parameters.
- ERROR {io.siddhi.core.stream.output.sink.Sink} - Error on 'APIM_ALERT_EMAIL_NOTIFICATION' HOT 2
- Update mkdocs
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 siddhi-execution-string.