KEMBAR78
feat: improve json to proto conversion by caching schema by GaoleMeng · Pull Request #2179 · googleapis/java-bigquerystorage · GitHub
Skip to content

Conversation

GaoleMeng
Copy link
Contributor

By caching schema across rows during conversion, we could save ~2x conversion speed for wide schema and when the row count is large

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> ☕️

If you write sample code, please follow the samples format.

@GaoleMeng GaoleMeng requested a review from a team as a code owner July 7, 2023 23:10
@GaoleMeng GaoleMeng requested a review from tswast July 7, 2023 23:10
@product-auto-label product-auto-label bot added size: l Pull request size is large. api: bigquerystorage Issues related to the googleapis/java-bigquerystorage API. labels Jul 7, 2023
@GaoleMeng GaoleMeng requested a review from yirutang July 7, 2023 23:10
@GaoleMeng GaoleMeng requested a review from a team as a code owner July 11, 2023 01:20
@GaoleMeng GaoleMeng force-pushed the main branch 5 times, most recently from fb52950 to 403c6b3 Compare July 11, 2023 05:35
@GaoleMeng GaoleMeng force-pushed the main branch 11 times, most recently from a6f49fa to 561cdf1 Compare July 11, 2023 23:54
@GaoleMeng GaoleMeng force-pushed the main branch 3 times, most recently from ec44394 to a856a68 Compare July 12, 2023 23:03
caching the schema. This will introduce approximately 2x improvement to
append speed
@GaoleMeng GaoleMeng added the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 12, 2023
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 12, 2023
@GaoleMeng GaoleMeng added the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 13, 2023
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 13, 2023
@GaoleMeng GaoleMeng added external This issue is blocked on a bug with the actual product. owlbot:run Add this label to trigger the Owlbot post processor. labels Jul 13, 2023
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 13, 2023
@GaoleMeng GaoleMeng merged commit afc550a into googleapis:main Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquerystorage Issues related to the googleapis/java-bigquerystorage API. external This issue is blocked on a bug with the actual product. size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants