René's URL Explorer Experiment


Title: [Java] StructVector throws with ExtensionType · Issue #87 · apache/arrow-java · GitHub

Open Graph Title: [Java] StructVector throws with ExtensionType · Issue #87 · apache/arrow-java

X Title: [Java] StructVector throws with ExtensionType · Issue #87 · apache/arrow-java

Description: Describe the bug, including details regarding any error messages, version, and platform. Currently when creating a struct vector with a child being an extension type things throw: @Test public void testStructVectorWithExtensionTypes() { ...

Open Graph Description: Describe the bug, including details regarding any error messages, version, and platform. Currently when creating a struct vector with a child being an extension type things throw: @Test public void...

X Description: Describe the bug, including details regarding any error messages, version, and platform. Currently when creating a struct vector with a child being an extension type things throw: @Test public void...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Java] StructVector throws with ExtensionType","articleBody":"### Describe the bug, including details regarding any error messages, version, and platform.\n\nCurrently when creating a struct vector with a child being an extension type things throw:\r\n```java\r\n  @Test\r\n  public void testStructVectorWithExtensionTypes() {\r\n    TestExtensionType.UuidType uuidType = new TestExtensionType.UuidType();\r\n    Field uuidField =  new Field(\"struct_child\", FieldType.nullable(uuidType), null);\r\n    Field structField = new Field(\"struct\", FieldType.nullable(new ArrowType.Struct()), List.of(uuidField));\r\n    // throws\r\n    StructVector s1 = new StructVector(structField, allocator, null);\r\n    // doesn't throw\r\n    StructVector s2 = (StructVector) structField.createVector(allocator);\r\n    s1.close();\r\n    s2.close();\r\n  }\r\n```\r\n\r\nI am mainly running into this while trying to create a `TransferPair`.\r\n```java\r\n  @Test\r\n  public void testStructVectorTransferPairWithExtensionType() {\r\n    TestExtensionType.UuidType uuidType = new TestExtensionType.UuidType();\r\n    Field uuidField =  new Field(\"uuid_child\", FieldType.nullable(uuidType), null);\r\n    Field structField = new Field(\"struct\", FieldType.nullable(new ArrowType.Struct()), List.of(uuidField));\r\n\r\n    StructVector s1 = (StructVector) structField.createVector(allocator);\r\n    TestExtensionType.UuidVector uuidVector = s1.addOrGet(\"uuid_child\", FieldType.nullable(uuidType), TestExtensionType.UuidVector.class);\r\n    s1.setValueCount(1);\r\n    uuidVector.set(0, new UUID(1, 2));\r\n    s1.setIndexDefined(0);\r\n\r\n    TransferPair tp = s1.getTransferPair(structField, allocator);\r\n    final StructVector toVector = (StructVector) tp.getTo();\r\n    assertEquals(s1.getField(), toVector.getField());\r\n    assertEquals(s1.getField().getChildren().get(0), toVector.getField().getChildren().get(0));\r\n    // also fails but probably another issue\r\n//    assertEquals(s1.getValueCount(), toVector.getValueCount());\r\n//    assertEquals(s1, toVector);\r\n\r\n    s1.close();\r\n    toVector.close();\r\n  }\r\n```\n\n### Component(s)\n\nJava","author":{"url":"https://github.com/FiV0","@type":"Person","name":"FiV0"},"datePublished":"2024-05-20T10:58:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/87/arrow-java/issues/87"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c07eac3e-2733-0b87-4a10-eafcaff77b4a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD796:13117A:1364756:18E8E9E:699249AD
html-safe-nonce32cd21c4d37512176142a7619c82aa6831fc5851fba4bcbc55637988ef7c893b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzk2OjEzMTE3QToxMzY0NzU2OjE4RThFOUU6Njk5MjQ5QUQiLCJ2aXNpdG9yX2lkIjoiOTIxMTAxNzQwNjI4NTIzNjY1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac492847613313bc279e6c7c724433d82415bd94c923b9375171e9a98a2034a358
hovercard-subject-tagissue:2695806365
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/87/issue_layout
twitter:imagehttps://opengraph.githubassets.com/604071aa9af22647be409c8d8923d660a61a3d6ffca33245d2d42ad55802eef3/apache/arrow-java/issues/87
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/604071aa9af22647be409c8d8923d660a61a3d6ffca33245d2d42ad55802eef3/apache/arrow-java/issues/87
og:image:altDescribe the bug, including details regarding any error messages, version, and platform. Currently when creating a struct vector with a child being an extension type things throw: @Test public void...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameFiV0
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
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
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/apache/arrow-java/issues/87#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Farrow-java%2Fissues%2F87
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2F87
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/87
Reloadhttps://github.com/apache/arrow-java/issues/87
Reloadhttps://github.com/apache/arrow-java/issues/87
apache https://github.com/apache
arrow-javahttps://github.com/apache/arrow-java
Notifications https://github.com/login?return_to=%2Fapache%2Farrow-java
Fork 111 https://github.com/login?return_to=%2Fapache%2Farrow-java
Star 83 https://github.com/login?return_to=%2Fapache%2Farrow-java
Code https://github.com/apache/arrow-java
Issues 403 https://github.com/apache/arrow-java/issues
Pull requests 39 https://github.com/apache/arrow-java/pulls
Discussions https://github.com/apache/arrow-java/discussions
Actions https://github.com/apache/arrow-java/actions
Security 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 https://github.com/apache/arrow-java/security
Insights https://github.com/apache/arrow-java/pulse
New issuehttps://github.com/login?return_to=https://github.com/apache/arrow-java/issues/87
New issuehttps://github.com/login?return_to=https://github.com/apache/arrow-java/issues/87
#697https://github.com/apache/arrow-java/pull/697
[Java] StructVector throws with ExtensionTypehttps://github.com/apache/arrow-java/issues/87#top
#697https://github.com/apache/arrow-java/pull/697
https://github.com/FiV0
good first issueGood for newcomershttps://github.com/apache/arrow-java/issues?q=state%3Aopen%20label%3A%22good%20first%20issue%22
help wantedExtra attention is neededhttps://github.com/apache/arrow-java/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
https://github.com/FiV0
https://github.com/FiV0
FiV0https://github.com/FiV0
on May 20, 2024https://github.com/apache/arrow-java/issues/87#issue-2695806365
FiV0https://github.com/FiV0
good first issueGood for newcomershttps://github.com/apache/arrow-java/issues?q=state%3Aopen%20label%3A%22good%20first%20issue%22
help wantedExtra attention is neededhttps://github.com/apache/arrow-java/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
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.