Skip to content

Fix issue #522: row count is correct on column-only views#523

Merged
texodus merged 1 commit intomasterfrom
fix_column_only
Apr 5, 2019
Merged

Fix issue #522: row count is correct on column-only views#523
texodus merged 1 commit intomasterfrom
fix_column_only

Conversation

@sc1f
Copy link
Contributor

@sc1f sc1f commented Apr 5, 2019

This PR fixes the persistent issue of an extra empty row on column-only views—the num_rows method is edited in the C++ to ignore the aggregate row for column-only views.

  • Regression tests are added in the engine as well as in the Hypergrid plugin.

@sc1f sc1f requested a review from texodus April 5, 2019 05:25
@sc1f sc1f force-pushed the fix_column_only branch from 9d58b85 to 73d1ce7 Compare April 5, 2019 05:40
@sc1f sc1f force-pushed the fix_column_only branch from 73d1ce7 to 35e1b7b Compare April 5, 2019 06:37
@texodus
Copy link
Member

texodus commented Apr 5, 2019

Thanks for the PR! Good catch and good fix - this problem has apparently been lying around since the inception of the column-only pivot feature.

Great tests is much appreciated as well!

@texodus texodus merged commit 16383ec into master Apr 5, 2019
@texodus texodus deleted the fix_column_only branch April 27, 2019 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants