René's URL Explorer Experiment


Title: [Java] IllegalArgumentException when unsetting TimeStamp*TZVector values · Issue #125 · apache/arrow-java · GitHub

Open Graph Title: [Java] IllegalArgumentException when unsetting TimeStamp*TZVector values · Issue #125 · apache/arrow-java

X Title: [Java] IllegalArgumentException when unsetting TimeStamp*TZVector values · Issue #125 · apache/arrow-java

Description: Describe the bug, including details regarding any error messages, version, and platform. In apache/arrow#35352, there was a timezone check added to the TimeStamp*TZVector.set methods that verified that the *TimeStamp*TZHolder had the sam...

Open Graph Description: Describe the bug, including details regarding any error messages, version, and platform. In apache/arrow#35352, there was a timezone check added to the TimeStamp*TZVector.set methods that verified ...

X Description: Describe the bug, including details regarding any error messages, version, and platform. In apache/arrow#35352, there was a timezone check added to the TimeStamp*TZVector.set methods that verified ...

Opengraph URL: https://github.com/apache/arrow-java/issues/125

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Java] IllegalArgumentException when unsetting TimeStamp*TZVector values","articleBody":"### Describe the bug, including details regarding any error messages, version, and platform.\n\nIn apache/arrow#35352, there was a [timezone check](https://github.com/apache/arrow/blob/main/java/vector/src/main/java/org/apache/arrow/vector/TimeStampMicroTZVector.java#L164-L166) added to the `TimeStamp*TZVector.set` methods that verified that the `*TimeStamp*TZHolder` had the same timezone as the vector that was being set.\r\n\r\nBefore this change was committed, this snippet to unset the value at an index worked:\r\n```\r\nTimeStampMicroTZVector vector = new TimeStampMicroTZVector(\"vector\", allocator, \"UTC\");\r\nNullableTimeStampMicroTZHolder holder = new NullableTimeStampMicroTZHolder();\r\nvector.setSafe(0, holder);\r\n```\r\nHowever, after the change, it now throws `IllegalArgumentException: holder.timezone: null not equal to vector timezone: UTC` when trying to unset the value in the vector.\r\n\r\nWe currently have a workaround for this issue by explicitly setting `holder.timezone = vector.getTimeZone();` before calling the `setSafe` method. I'm wondering if it is expected behavior to require that `holder.timezone` match the vector's timezone when unsetting the value. It also differs from the `get` behavior which [does not set the timezone on the holder when the vector's value is unset](https://github.com/apache/arrow/blob/main/java/vector/src/main/java/org/apache/arrow/vector/TimeStampMicroTZVector.java#L121-L123). I'm happy to help submit a patch if the existing behavior is indeed unintended.\n\n### Component(s)\n\nJava","author":{"url":"https://github.com/rachel88888","@type":"Person","name":"rachel88888"},"datePublished":"2024-02-02T22:07:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/125/arrow-java/issues/125"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:93f5a9d3-12e5-4291-c9fb-d89e7eb4a131
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id83D0:3EE845:6B4C4C2:9664CDE:6A4FC7D1
html-safe-nonceecc4e5bad105277f3a3f9c60b6a5a68e8d1cb8ed5df8ad6cf605cf0d730a4af3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0QwOjNFRTg0NTo2QjRDNEMyOjk2NjRDREU6NkE0RkM3RDEiLCJ2aXNpdG9yX2lkIjoiODM4NDYzMjQ4MTI3MDE4Nzk4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb6e29b35e4d62c85db3b4dc0501c470aefe4944a0de257a2026270e7b8c59a7a
hovercard-subject-tagissue:2695808647
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/arrow-java/125/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1323b8329e1e79aa0067d5bd721a9a3dd01f00d3adb522a26739c03480aea1a6/apache/arrow-java/issues/125
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1323b8329e1e79aa0067d5bd721a9a3dd01f00d3adb522a26739c03480aea1a6/apache/arrow-java/issues/125
og:image:altDescribe the bug, including details regarding any error messages, version, and platform. In apache/arrow#35352, there was a timezone check added to the TimeStamp*TZVector.set methods that verified ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerachel88888
hostnamegithub.com
expected-hostnamegithub.com
None60b2ae4c725f51e2dac275d0ac5e9233e5967a61cdfaebd732f63da67ff1b71c
turbo-cache-controlno-preview
go-importgithub.com/apache/arrow-java git https://github.com/apache/arrow-java.git
octolytics-dimension-user_id47359
octolytics-dimension-user_loginapache
octolytics-dimension-repository_id893682219
octolytics-dimension-repository_nwoapache/arrow-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id893682219
octolytics-dimension-repository_network_root_nwoapache/arrow-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release06fb64e1cb36b9a7a2e3f0e6c14af40ef9f439d4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/apache/arrow-java/issues/125#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Farrow-java%2Fissues%2F125
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Farrow-java%2Fissues%2F125
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=apache%2Farrow-java
Reloadhttps://github.com/apache/arrow-java/issues/125
Reloadhttps://github.com/apache/arrow-java/issues/125
Reloadhttps://github.com/apache/arrow-java/issues/125
Please reload this pagehttps://github.com/apache/arrow-java/issues/125
apache https://github.com/apache
arrow-javahttps://github.com/apache/arrow-java
Notifications https://github.com/login?return_to=%2Fapache%2Farrow-java
Fork 133 https://github.com/login?return_to=%2Fapache%2Farrow-java
Star 91 https://github.com/login?return_to=%2Fapache%2Farrow-java
Code https://github.com/apache/arrow-java
Issues 422 https://github.com/apache/arrow-java/issues
Pull requests 44 https://github.com/apache/arrow-java/pulls
Discussions https://github.com/apache/arrow-java/discussions
Actions https://github.com/apache/arrow-java/actions
Security and quality 0 https://github.com/apache/arrow-java/security
Insights https://github.com/apache/arrow-java/pulse
Code https://github.com/apache/arrow-java
Issues https://github.com/apache/arrow-java/issues
Pull requests https://github.com/apache/arrow-java/pulls
Discussions https://github.com/apache/arrow-java/discussions
Actions https://github.com/apache/arrow-java/actions
Security and quality https://github.com/apache/arrow-java/security
Insights https://github.com/apache/arrow-java/pulse
#941https://github.com/apache/arrow-java/pull/941
[Java] IllegalArgumentException when unsetting TimeStamp*TZVector valueshttps://github.com/apache/arrow-java/issues/125#top
#941https://github.com/apache/arrow-java/pull/941
https://github.com/Kaustav-Sarkar
good first issueGood for newcomershttps://github.com/apache/arrow-java/issues?q=state%3Aopen%20label%3A%22good%20first%20issue%22
19.0.0https://github.com/apache/arrow-java/milestone/3
https://github.com/rachel88888
rachel88888https://github.com/rachel88888
on Feb 2, 2024https://github.com/apache/arrow-java/issues/125#issue-2695808647
apache/arrow#35352https://github.com/apache/arrow/issues/35352
timezone checkhttps://github.com/apache/arrow/blob/main/java/vector/src/main/java/org/apache/arrow/vector/TimeStampMicroTZVector.java#L164-L166
does not set the timezone on the holder when the vector's value is unsethttps://github.com/apache/arrow/blob/main/java/vector/src/main/java/org/apache/arrow/vector/TimeStampMicroTZVector.java#L121-L123
Kaustav-Sarkarhttps://github.com/Kaustav-Sarkar
good first issueGood for newcomershttps://github.com/apache/arrow-java/issues?q=state%3Aopen%20label%3A%22good%20first%20issue%22
19.0.0https://github.com/apache/arrow-java/milestone/3
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.