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

Fix makeScanSpec wrong index issue if skip rowindex column #9866

Conversation

gaoyangxiaozhu
Copy link
Contributor

@gaoyangxiaozhu gaoyangxiaozhu commented May 20, 2024

  1. correct spec channel index if skip kRowIndex column, this fixing below query if _tmp_row_index_column be marked to kRowIndex type. Basically, all scan would fail if kRowIndex type column is selected before data column.
select  _tmp_row_index_column, a from table
  1. A column should always be treat as row index column if engine mark it to kRowIndex type

check this #9867 for log detail

@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 May 20, 2024
Copy link

netlify bot commented May 20, 2024

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 56dcd62
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/664ff18ce67d45000893b049

@gaoyangxiaozhu
Copy link
Contributor Author

gaoyangxiaozhu commented May 20, 2024

@Yuhta for help review, thank you!

@gaoyangxiaozhu
Copy link
Contributor Author

@Yuhta for help review, thank you!

ping again

@gaoyangxiaozhu gaoyangxiaozhu requested a review from Yuhta May 23, 2024 02:15
@gaoyangxiaozhu gaoyangxiaozhu requested a review from Yuhta May 23, 2024 16:08
@Yuhta Yuhta added the ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall label May 23, 2024
@mbasmanova
Copy link
Contributor

@gaoyangxiaozhu CI is red. Would you take a look?

@facebook-github-bot
Copy link
Contributor

@mbasmanova has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@mbasmanova merged this pull request in 0f39740.

Copy link

Conbench analyzed the 1 benchmark run on commit 0f397401.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

Joe-Abraham pushed a commit to Joe-Abraham/velox that referenced this pull request Jun 7, 2024
…ncubator#9866)

Summary:
1. correct spec channel index if skip `kRowIndex` column, this fixing below query if `_tmp_row_index_column` be marked to `kRowIndex` type. Basically,  all scan would fail if `kRowIndex` type column is selected before data column.
```
select  _tmp_row_index_column, a from table
```

2. A column should always be treat as `row index` column if engine mark it to `kRowIndex` type

check this facebookincubator#9867 for log detail

Pull Request resolved: facebookincubator#9866

Reviewed By: Yuhta

Differential Revision: D57770761

Pulled By: mbasmanova

fbshipit-source-id: 0f0ddbf76c609deb854503eddcbb4dbe7748daad
Joe-Abraham pushed a commit to Joe-Abraham/velox that referenced this pull request Jun 7, 2024
…ncubator#9866)

Summary:
1. correct spec channel index if skip `kRowIndex` column, this fixing below query if `_tmp_row_index_column` be marked to `kRowIndex` type. Basically,  all scan would fail if `kRowIndex` type column is selected before data column.
```
select  _tmp_row_index_column, a from table
```

2. A column should always be treat as `row index` column if engine mark it to `kRowIndex` type

check this facebookincubator#9867 for log detail

Pull Request resolved: facebookincubator#9866

Reviewed By: Yuhta

Differential Revision: D57770761

Pulled By: mbasmanova

fbshipit-source-id: 0f0ddbf76c609deb854503eddcbb4dbe7748daad
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. Merged ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants