We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
Cast to timestamp with time zone returns timestamp
To Reproduce
#[test] fn test_cast_utf8_to_timestamptz() { let valid = StringArray::from(vec![ "2023-01-01", ]); let array = Arc::new(valid) as ArrayRef; let b = cast(&array, &DataType::Timestamp(TimeUnit::Nanosecond, Some("+00:00".to_owned()))) .unwrap(); dbg!(&b); } [arrow-cast/src/cast.rs:7653] &b = PrimitiveArray<Timestamp(Nanosecond, None)> [ 2023-01-01T00:00:00, ]
Expected behavior
The return type has to be
PrimitiveArray<Timestamp(Nanosecond, Some("+00:00"))>
Additional context
The text was updated successfully, but these errors were encountered:
Probably related to #1936
Sorry, something went wrong.
label_issue.py automatically added labels {'arrow'} from #3806
label_issue.py
Successfully merging a pull request may close this issue.
Describe the bug
Cast to timestamp with time zone returns timestamp
To Reproduce
Expected behavior
The return type has to be
Additional context
The text was updated successfully, but these errors were encountered: