-
Notifications
You must be signed in to change notification settings - Fork 101
lightning: evaluate all generated columns even if they are virtual (#1407) #1417
lightning: evaluate all generated columns even if they are virtual (#1407) #1417
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
/run-integration-test |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: c4329dc
|
@ti-chi-bot: Your PR was out of date, I have automatically updated it for you. At the same time I will also trigger all tests for you: /run-all-tests If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
/build |
This is an automated cherry-pick of #1407
What problem does this PR solve?
Fix #1404
What is changed and how it works?
Expression indices rely on a virtual generated column, which is not calculated by Lightning (unless depended by a stored generated column). This caused the virtual generated column to contain invalid value and thus invalidate the index.
This PR just calculates all generated columns no matter they are virtual or stored.
Check List
Tests
Code changes
Side effects
Related changes
Release note