carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manishgupta88 <...@git.apache.org>
Subject [GitHub] incubator-carbondata pull request #781: [CARBONDATA-900] Is null query on a ...
Date Tue, 11 Apr 2017 12:24:19 GMT
GitHub user manishgupta88 reopened a pull request:

    https://github.com/apache/incubator-carbondata/pull/781

    [CARBONDATA-900] Is null query on a newly added measure column is not returning proper
results

    
    
    Analysis: When is null query is executed on newly added measure column, control goes to
RowLevelFilterExecuterImpl class, where measure existence is checked. In case the measure
is not found, bitset group is not getting populated with default values due to which that
block is not returning any result.
    
    Solution: When query is on a restructured block where newly added column does not exist,
create the default bitset group so that based on default value existence default bitset group
is created and results are returned based on that.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/manishgupta88/incubator-carbondata alter_measure_query_fix

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-carbondata/pull/781.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 #781
    
----
commit 1c68a23448e9a3a3a5fca9331125f7bd7aac11a4
Author: manishgupta88 <tomanishgupta18@gmail.com>
Date:   2017-04-11T11:24:03Z

    Problem: Is null query on a newly added measure column is not returning proper results.
    
    Analysis: When is null query is executed on newly added measure column, control goes to
RowLevelFilterExecuterImpl class, where measure existence is checked. In case the measure
is not found, bitset group is not getting populated with default values due to which that
block is not returning any result.
    
    Solution: When query is on a restructured block where newly added column does not exist,
create the default bitset group so that based on default value existence default bitset group
is created and results are returned based on 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.
---

Mime
View raw message