Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upimportccl: parse zero mysql dates as null #31288
Conversation
dt
requested a review
from
mjibson
Oct 11, 2018
dt
requested a review
from cockroachdb/sql-bulk-prs
as a
code owner
Oct 11, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
dt
referenced this pull request
Oct 12, 2018
Merged
importccl: ignore mysql's _binary introducer #31188
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
bors r+ |
bot
pushed a commit
that referenced
this pull request
Oct 12, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
craig
bot
commented
Oct 12, 2018
Build succeeded |
craig
bot
merged commit b558b66
into
cockroachdb:master
Oct 12, 2018
dt
deleted the
dt:zero
branch
Oct 14, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dt commentedOct 11, 2018
these nonsense values are permitted by older / less strict mysql versions but have no cockroach counterpart -- a date is either null, or an actual date, which cannot have a zero day or month. Mapping these values to null is the closest we can get them, and in schemas that allow null values, hopefully makes migration easier. In schemas that do not allow nulls these will of course produce errors but we do not really have another option in those cases.
Release note: none.