Skip to content

docs: add MapVector cookbook example - #419

Open
yashdotdev13 wants to merge 1 commit into
apache:mainfrom
yashdotdev13:docs/40-mapvector-cookbook
Open

yashdotdev13 wants to merge 1 commit into
apache:mainfrom
yashdotdev13:docs/40-mapvector-cookbook

Conversation

@yashdotdev13

Copy link
Copy Markdown

Summary

  • Add an Array of Map recipe to the Java Cookbook.
  • Demonstrate creating a MapVector with BIGINT keys and INT values.
  • Show how to write key-value entries using UnionMapWriter.
  • Demonstrate reading map entries using UnionMapReader.
  • Include expected output using the Cookbook's testcode and testoutput directives.

Validation

  • git diff --check
  • make javatest — 52 tests passed, 0 failures.
  • make java — Sphinx HTML documentation build succeeded.

Related Issue

This contribution follows the maintainer's guidance on [apache/arrow-java#40](apache/arrow-java#40) to provide the MapVector example in the Java Cookbook.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant