You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by pawanmalwal <gi...@git.apache.org> on 2017/08/22 10:34:59 UTC
[GitHub] carbondata pull request #1281: [CARBONDATA-1326] Fixed findbug issue and uni...
GitHub user pawanmalwal opened a pull request:
https://github.com/apache/carbondata/pull/1281
[CARBONDATA-1326] Fixed findbug issue and univocity-parsers jar version to 2.2.1
Updated univocity-parsers jar version from 1.5.6 to 2.2.1 in processing/pom.xml and fixed one findbug issue.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/pawanmalwal/carbondata findbug_univocity_pom_changes
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/1281.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1281
----
commit 218a4d8b44ae5efcc3d591358d5bba7ab813a68f
Author: Pawan Malwal <pm...@gmail.com>
Date: 2017-08-22T10:19:00Z
[CARBONDATA-1326] Fixed findbug issue and univocity-parsers jar version to 2.2.1
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] carbondata pull request #1281: [CARBONDATA-1326] Fixed findbug issue and uni...
Posted by pawanmalwal <gi...@git.apache.org>.
Github user pawanmalwal closed the pull request at:
https://github.com/apache/carbondata/pull/1281
---
[GitHub] carbondata pull request #1281: [CARBONDATA-1326] Fixed findbug issue and uni...
Posted by pawanmalwal <gi...@git.apache.org>.
GitHub user pawanmalwal reopened a pull request:
https://github.com/apache/carbondata/pull/1281
[CARBONDATA-1326] Fixed findbug issue and univocity-parsers jar version to 2.2.1
Updated univocity-parsers jar version from 1.5.6 to 2.2.1 in processing/pom.xml and fixed one findbug issue.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/pawanmalwal/carbondata findbug_univocity_pom_changes
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/1281.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1281
----
commit 2a36440af46fc9ed361109990dc9a7c8f367e19e
Author: Pawan Malwal <pm...@gmail.com>
Date: 2017-08-22T10:19:00Z
[CARBONDATA-1326] Fixed findbug issue and univocity-parsers jar version to 2.2.1
----
---
[GitHub] carbondata issue #1281: [CARBONDATA-1326] Fixed findbug issue and univocity-...
Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/1281
Can one of the admins verify this patch?
---
[GitHub] carbondata issue #1281: [CARBONDATA-1326] Fixed findbug issue and univocity-...
Posted by ravipesala <gi...@git.apache.org>.
Github user ravipesala commented on the issue:
https://github.com/apache/carbondata/pull/1281
Can one of the admins verify this patch?
---
[GitHub] carbondata issue #1281: [CARBONDATA-1326] Fixed findbug issue and univocity-...
Posted by ravipesala <gi...@git.apache.org>.
Github user ravipesala commented on the issue:
https://github.com/apache/carbondata/pull/1281
Can one of the admins verify this patch?
---
[GitHub] carbondata issue #1281: [CARBONDATA-1326] Fixed findbug issue and univocity-...
Posted by sraghunandan <gi...@git.apache.org>.
Github user sraghunandan commented on the issue:
https://github.com/apache/carbondata/pull/1281
retest this please
---
[GitHub] carbondata issue #1281: [CARBONDATA-1326] Fixed findbug issue and univocity-...
Posted by pawanmalwal <gi...@git.apache.org>.
Github user pawanmalwal commented on the issue:
https://github.com/apache/carbondata/pull/1281
retest this please
---
[GitHub] carbondata issue #1281: [CARBONDATA-1326] Fixed findbug issue and univocity-...
Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/1281
Can one of the admins verify this patch?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] carbondata issue #1281: [CARBONDATA-1326] Fixed findbug issue and univocity-...
Posted by pawanmalwal <gi...@git.apache.org>.
Github user pawanmalwal commented on the issue:
https://github.com/apache/carbondata/pull/1281
Duplicate PR - univocity jar changes done in PR https://github.com/apache/carbondata/pull/1532
---
[GitHub] carbondata issue #1281: [CARBONDATA-1326] Fixed findbug issue and univocity-...
Posted by pawanmalwal <gi...@git.apache.org>.
Github user pawanmalwal commented on the issue:
https://github.com/apache/carbondata/pull/1281
Yes thats right. This PR also has some code change to avoid 1 more string object creation in the same method and another chanage to update univocity-parsers jar version to 2.2.1 in processing/pom.xml. Please review.
---
[GitHub] carbondata pull request #1281: [CARBONDATA-1326] Fixed findbug issue and uni...
Posted by sraghunandan <gi...@git.apache.org>.
Github user sraghunandan commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1281#discussion_r134849821
--- Diff: core/src/main/java/org/apache/carbondata/core/scan/filter/FilterExpressionProcessor.java ---
@@ -163,17 +163,17 @@ public FilterResolverIntf getFilterResolver(Expression expressionTree,
}
private String joinByteArray(byte[] bytes, char delimiter) {
- StringBuffer byteArrayAsString = new StringBuffer();
- byteArrayAsString.append("");
+ String byteArrayAsString = "";
--- End diff --
do not change this to String,Findbugs will give error.
though java optimises internally when strings are concatenated, findbugs doesn't recognise that
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] carbondata pull request #1281: [CARBONDATA-1326] Fixed findbug issue and uni...
Posted by pawanmalwal <gi...@git.apache.org>.
Github user pawanmalwal commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1281#discussion_r134990100
--- Diff: core/src/main/java/org/apache/carbondata/core/scan/filter/FilterExpressionProcessor.java ---
@@ -163,17 +163,17 @@ public FilterResolverIntf getFilterResolver(Expression expressionTree,
}
private String joinByteArray(byte[] bytes, char delimiter) {
- StringBuffer byteArrayAsString = new StringBuffer();
- byteArrayAsString.append("");
+ String byteArrayAsString = "";
--- End diff --
Changed to StringBuffer per your suggestion.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] carbondata issue #1281: [CARBONDATA-1326] Fixed findbug issue and univocity-...
Posted by pawanmalwal <gi...@git.apache.org>.
Github user pawanmalwal commented on the issue:
https://github.com/apache/carbondata/pull/1281
retest this please
---
[GitHub] carbondata issue #1281: [CARBONDATA-1326] Fixed findbug issue and univocity-...
Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/1281
Can one of the admins verify this patch?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] carbondata issue #1281: [CARBONDATA-1326] Fixed findbug issue and univocity-...
Posted by sraghunandan <gi...@git.apache.org>.
Github user sraghunandan commented on the issue:
https://github.com/apache/carbondata/pull/1281
Master already has stringbuffer implementation
On 24-Aug-2017 4:54 PM, "Pawan Malwal" <no...@github.com> wrote:
> *@pawanmalwal* commented on this pull request.
> ------------------------------
>
> In core/src/main/java/org/apache/carbondata/core/scan/filter/
> FilterExpressionProcessor.java
> <https://github.com/apache/carbondata/pull/1281#discussion_r134990100>:
>
> > @@ -163,17 +163,17 @@ public FilterResolverIntf getFilterResolver(Expression expressionTree,
> }
>
> private String joinByteArray(byte[] bytes, char delimiter) {
> - StringBuffer byteArrayAsString = new StringBuffer();
> - byteArrayAsString.append("");
> + String byteArrayAsString = "";
>
> Changed to StringBuffer per your suggestion.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/carbondata/pull/1281#discussion_r134990100>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ACxx76Sn4CZ9tN4YM3FGi3n0HKdzbcaTks5sbV2EgaJpZM4O-bck>
> .
>
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] carbondata pull request #1281: [CARBONDATA-1326] Fixed findbug issue and uni...
Posted by pawanmalwal <gi...@git.apache.org>.
Github user pawanmalwal closed the pull request at:
https://github.com/apache/carbondata/pull/1281
---
[GitHub] carbondata issue #1281: [CARBONDATA-1326] Fixed findbug issue and univocity-...
Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/1281
Can one of the admins verify this patch?
---