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

[flash-456] alter for nullable attribute #207

Merged
merged 4 commits into from
Aug 29, 2019

Conversation

hanfei1991
Copy link
Member

if we change nullable to not null, we do nothing.
if we change not null to nullable, we write null map files ***.null.bin and ***.null.mrk

@hanfei1991 hanfei1991 requested a review from zanmato1984 August 28, 2019 17:33
@hanfei1991
Copy link
Member Author

/run-integration-tests

{
// Overflow detected, fatal if force_decode is true,
// Null value with non-null type detected, fatal if force_decode is true,
// as schema being newer and narrow shouldn't happen.
Copy link
Contributor

Choose a reason for hiding this comment

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

newer and narrow -> newer and with invalid null

Copy link
Contributor

@zanmato1984 zanmato1984 left a comment

Choose a reason for hiding this comment

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

LGTM

@zanmato1984
Copy link
Contributor

/run-integration-tests

@hanfei1991 hanfei1991 merged commit 9512e10 into master Aug 29, 2019
@hanfei1991 hanfei1991 deleted the hanfei-ddl/alter-for-null branch August 29, 2019 09:41
JaySon-Huang pushed a commit to JaySon-Huang/tiflash that referenced this pull request Aug 2, 2024
… (pingcap#207)

Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants