Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Confusing Dwrf Reader RowNumber Method #11029

Closed

Conversation

macvincent
Copy link

Summary: We noticed that the RowNumber method in Dwrf reader produces two different outputs based on when it is called. It returns the current position of the reader after a seek operation and then the previous position of the reader before a next read operation was called. This makes it almost unusable without an understanding of its underlying implementation. In this diff, we modify it's design to return the current position of the reader for all calls.

Differential Revision: D62412793

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 18, 2024
Copy link

netlify bot commented Sep 18, 2024

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 1e0cc33
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/66fc97a555dd240008cfe64a

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62412793

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62412793

macvincent pushed a commit to macvincent/velox that referenced this pull request Sep 18, 2024
)

Summary:
Pull Request resolved: facebookincubator#11029

We noticed that the `RowNumber` method in Dwrf reader produces two different outputs based on when it is called. It returns the current position of the reader after a seek operation and then the previous position of the reader before a `next` read operation was called. This makes it almost unusable without an understanding of its underlying implementation. In this diff, we modify it's design to return the current position of the reader for all calls.

Differential Revision: D62412793
macvincent pushed a commit to macvincent/velox that referenced this pull request Sep 18, 2024
)

Summary:
Pull Request resolved: facebookincubator#11029

We noticed that the `RowNumber` method in Dwrf reader produces two different outputs based on when it is called. It returns the current position of the reader after a seek operation and then the previous position of the reader before a `next` read operation was called. This makes it almost unusable without an understanding of its underlying implementation. In this diff, we modify it's design to return the current position of the reader for all calls.

Differential Revision: D62412793
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62412793

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62412793

macvincent pushed a commit to macvincent/velox that referenced this pull request Sep 18, 2024
)

Summary:
Pull Request resolved: facebookincubator#11029

We noticed that the `RowNumber` method in Dwrf reader produces two different outputs based on when it is called. It returns the current position of the reader after a seek operation and then the previous position of the reader before a `next` read operation was called. This makes it almost unusable without an understanding of its underlying implementation. In this diff, we modify it's design to return the current position of the reader for all calls.

Differential Revision: D62412793
macvincent pushed a commit to macvincent/velox that referenced this pull request Sep 18, 2024
)

Summary:
Pull Request resolved: facebookincubator#11029

We noticed that the `RowNumber` method in Dwrf reader produces two different outputs based on when it is called. It returns the current position of the reader after a seek operation and then the previous position of the reader before a `next` read operation was called. This makes it almost unusable without an understanding of its underlying implementation. In this diff, we modify it's design to return the current position of the reader for all calls.

Differential Revision: D62412793
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62412793

macvincent pushed a commit to macvincent/velox that referenced this pull request Sep 18, 2024
)

Summary:
Pull Request resolved: facebookincubator#11029

We noticed that the `RowNumber` method in Dwrf reader produces two different outputs based on when it is called. It returns the current position of the reader after a seek operation and then the previous position of the reader before a `next` read operation was called. This makes it almost unusable without an understanding of its underlying implementation. In this diff, we modify it's design to return the current position of the reader for all calls.

Differential Revision: D62412793
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62412793

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62412793

macvincent pushed a commit to macvincent/velox that referenced this pull request Sep 19, 2024
)

Summary:
Pull Request resolved: facebookincubator#11029

We noticed that the `RowNumber` method in Dwrf reader produces two different outputs based on when it is called. It returns the current position of the reader after a seek operation and then the previous position of the reader before a `next` read operation was called. This makes it almost unusable without an understanding of its underlying implementation. In this diff, we modify it's design to return the current position of the reader for all calls.

Differential Revision: D62412793
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62412793

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62412793

macvincent pushed a commit to macvincent/velox that referenced this pull request Sep 19, 2024
)

Summary:
Pull Request resolved: facebookincubator#11029

We noticed that the `RowNumber` method in Dwrf reader produces two different outputs based on when it is called. It returns the current position of the reader after a seek operation and then the previous position of the reader before a `next` read operation was called. This makes it almost unusable without an understanding of its underlying implementation. In this diff, we modify it's design to return the current position of the reader for all calls.

Differential Revision: D62412793
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62412793

macvincent pushed a commit to macvincent/velox that referenced this pull request Sep 19, 2024
)

Summary:
Pull Request resolved: facebookincubator#11029

We noticed that the `RowNumber` method in Dwrf reader produces two different outputs based on when it is called. It returns the current position of the reader after a seek operation and then the previous position of the reader before a `next` read operation was called. This makes it almost unusable without an understanding of its underlying implementation. In this diff, we modify it's design to return the current position of the reader for all calls.

Differential Revision: D62412793
macvincent pushed a commit to macvincent/velox that referenced this pull request Sep 25, 2024
)

Summary:
Pull Request resolved: facebookincubator#11029

We noticed that the `RowNumber` method in Dwrf reader produces two different outputs based on when it is called. It returns the current position of the reader after a seek operation and then the previous position of the reader before a `next` read operation was called. This makes it almost unusable without an understanding of its underlying implementation. In this diff, we modify it's design to return the current position of the reader for all calls.

Reviewed By: helfman

Differential Revision: D62412793
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62412793

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62412793

macvincent pushed a commit to macvincent/velox that referenced this pull request Sep 27, 2024
)

Summary:
Pull Request resolved: facebookincubator#11029

We noticed that the `RowNumber` method in Dwrf reader produces two different outputs based on when it is called. It returns the current position of the reader after a seek operation and then the previous position of the reader before a `next` read operation was called. This makes it almost unusable without an understanding of its underlying implementation. In this diff, we modify it's design to return the current position of the reader for all calls.

Reviewed By: helfman

Differential Revision: D62412793
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62412793

macvincent pushed a commit to macvincent/velox that referenced this pull request Sep 27, 2024
)

Summary:
Pull Request resolved: facebookincubator#11029

We noticed that the `RowNumber` method in Dwrf reader produces two different outputs based on when it is called. It returns the current position of the reader after a seek operation and then the previous position of the reader before a `next` read operation was called. This makes it almost unusable without an understanding of its underlying implementation. In this diff, we modify it's design to return the current position of the reader for all calls.

Reviewed By: helfman

Differential Revision: D62412793
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62412793

macvincent pushed a commit to macvincent/velox that referenced this pull request Sep 29, 2024
)

Summary:
Pull Request resolved: facebookincubator#11029

We noticed that the `RowNumber` method in Dwrf reader produces two different outputs based on when it is called. It returns the current position of the reader after a seek operation and then the previous position of the reader before a `next` read operation was called. This makes it almost unusable without an understanding of its underlying implementation. In this diff, we modify it's design to return the current position of the reader for all calls.

Reviewed By: helfman

Differential Revision: D62412793
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62412793

macvincent pushed a commit to macvincent/velox that referenced this pull request Sep 30, 2024
)

Summary:
Pull Request resolved: facebookincubator#11029

We noticed that the `RowNumber` method in Dwrf reader produces two different outputs based on when it is called. It returns the current position of the reader after a seek operation and then the previous position of the reader before a `next` read operation was called. This makes it almost unusable without an understanding of its underlying implementation. In this diff, we modify it's design to return the current position of the reader for all calls.

Reviewed By: helfman

Differential Revision: D62412793
Copy link
Contributor

@pedroerp pedroerp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62412793

macvincent pushed a commit to macvincent/velox that referenced this pull request Oct 2, 2024
)

Summary:
Pull Request resolved: facebookincubator#11029

We noticed that the `RowNumber` method in Dwrf reader produces two different outputs based on when it is called. It returns the current position of the reader after a seek operation and then the previous position of the reader before a `next` read operation was called. This makes it almost unusable without an understanding of its underlying implementation. In this diff, we modify it's design to return the current position of the reader for all calls.

Reviewed By: helfman

Differential Revision: D62412793
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62412793

macvincent pushed a commit to macvincent/velox that referenced this pull request Oct 2, 2024
)

Summary:
Pull Request resolved: facebookincubator#11029

We noticed that the `RowNumber` method in Dwrf reader produces two different outputs based on when it is called. It returns the current position of the reader after a seek operation and then the previous position of the reader before a `next` read operation was called. This makes it almost unusable without an understanding of its underlying implementation. In this diff, we modify it's design to return the current position of the reader for all calls.

Reviewed By: helfman

Differential Revision: D62412793
)

Summary:
Pull Request resolved: facebookincubator#11029

We noticed that the `RowNumber` method in Dwrf reader produces two different outputs based on when it is called. It returns the current position of the reader after a seek operation and then the previous position of the reader before a `next` read operation was called. This makes it almost unusable without an understanding of its underlying implementation. In this diff, we modify it's design to return the current position of the reader for all calls.

Reviewed By: helfman

Differential Revision: D62412793
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62412793

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in f94aa6a.

Copy link

Conbench analyzed the 1 benchmark run on commit f94aa6a9.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants