-
Notifications
You must be signed in to change notification settings - Fork 409
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
cast string as datetime with time zone results in loss of precision #8754
Labels
affects-5.4
affects-6.1
affects-6.5
affects-7.1
affects-7.5
affects-8.1
component/compute
impact/wrong-result
severity/major
type/bug
The issue is confirmed as a bug.
Comments
SeaRise
added
type/bug
The issue is confirmed as a bug.
component/compute
severity/major
labels
Feb 4, 2024
SeaRise
changed the title
Insert a special datetime with time_zone results in loss of precision
cast string as datetime results in loss of precision
Feb 4, 2024
related to pingcap/tidb#37820 |
SeaRise
changed the title
cast string as datetime results in loss of precision
cast string as datetime with time zone results in loss of precision
Feb 4, 2024
Merged
12 tasks
This was referenced Aug 26, 2024
ti-chi-bot bot
pushed a commit
that referenced
this issue
Sep 2, 2024
…ne or illegal chars (#9255) (#9354) close #8754 Fix the wrong result bug when casting string as datetime with time zone or illegal chars - func `getFracIndex` ignore time zone. - func `parseFrac` ignore illegal suffix after microsecond format. Signed-off-by: Zhigao Tong <tongzhigao@pingcap.com> Co-authored-by: TONG,Zhigao <tongzhigao@pingcap.com> Co-authored-by: Zhigao Tong <tongzhigao@pingcap.com> Co-authored-by: TONG, Zhigao <tongzhigao@pingcap.com>
ti-chi-bot bot
pushed a commit
that referenced
this issue
Sep 20, 2024
…ne or illegal chars (#9255) (#9352) close #8754 Fix the wrong result bug when casting string as datetime with time zone or illegal chars - func `getFracIndex` ignore time zone. - func `parseFrac` ignore illegal suffix after microsecond format. Signed-off-by: Zhigao Tong <tongzhigao@pingcap.com> Co-authored-by: TONG,Zhigao <tongzhigao@pingcap.com> Co-authored-by: Zhigao Tong <tongzhigao@pingcap.com> Co-authored-by: TONG, Zhigao <tongzhigao@pingcap.com>
ti-chi-bot bot
pushed a commit
that referenced
this issue
Oct 31, 2024
…ne or illegal chars (#9255) (#9353) close #8754 Fix the wrong result bug when casting string as datetime with time zone or illegal chars - func `getFracIndex` ignore time zone. - func `parseFrac` ignore illegal suffix after microsecond format. Signed-off-by: Zhigao Tong <tongzhigao@pingcap.com> Co-authored-by: TONG,Zhigao <tongzhigao@pingcap.com> Co-authored-by: Zhigao Tong <tongzhigao@pingcap.com> Co-authored-by: TONG, Zhigao <tongzhigao@pingcap.com>
ti-chi-bot bot
pushed a commit
that referenced
this issue
Oct 31, 2024
…ne or illegal chars (#9255) (#9351) close #8754 Fix the wrong result bug when casting string as datetime with time zone or illegal chars - func `getFracIndex` ignore time zone. - func `parseFrac` ignore illegal suffix after microsecond format. Signed-off-by: Zhigao Tong <tongzhigao@pingcap.com> Co-authored-by: TONG,Zhigao <tongzhigao@pingcap.com> Co-authored-by: Zhigao Tong <tongzhigao@pingcap.com> Co-authored-by: TONG, Zhigao <tongzhigao@pingcap.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-5.4
affects-6.1
affects-6.5
affects-7.1
affects-7.5
affects-8.1
component/compute
impact/wrong-result
severity/major
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
related to pingcap/tidb#49555
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiFlash version? (Required)
v8.0.0-alpha-126-gc0476a0
The text was updated successfully, but these errors were encountered: