Skip to content
New issue

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

feat: convert vals to strings #1024

Closed
wants to merge 4 commits into from
Closed

Conversation

jimmyshah
Copy link

@jimmyshah jimmyshah commented Nov 14, 2023

resolves #1001

Problem

There is a bug currently that requires runtime_config properties values to be strings. As a result, integer values need quotes around them in the yml files, which is awkward.

With this PR, values are cast as strings, so that the properties can be set in a more expected way.

ADAP-1007

Solution

In _configure_batch(), I added a check for runtime_config.properties. If they exist, I iterate through the dictionary to cast the values as strings. Changing this part of the code was suggested as an option in #1001.

Checklist

  • I have read the contributing guide and understand what's expected of me
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • This PR has no interface changes

@cla-bot cla-bot bot added the cla:yes label Nov 14, 2023
@jimmyshah jimmyshah marked this pull request as ready for review November 14, 2023 00:08
@jimmyshah jimmyshah requested a review from a team as a code owner November 14, 2023 00:08
@dbeatty10 dbeatty10 added the triage:ready-for-review Externally contributed PR has functional approval, ready for code review from Core engineering label Nov 14, 2023
@jimmyshah
Copy link
Author

@dbeatty10 @McKnight-42 Anything I can do to help move this PR forward?

@dbeatty10
Copy link
Contributor

@jimmyshah this is queued up for a member of our engineering team to give it an initial review and provide any relevant feedback. We don't have a set timeline for when they will be able to get to it though.

@jimmyshah
Copy link
Author

@dbeatty10 Got it! I didn't know there was a review queue, so that's helpful context. Thank you for the update!

Copy link
Contributor

github-actions bot commented Oct 2, 2024

This PR has been marked as Stale because it has been open with no activity as of late. If you would like the PR to remain open, please comment on the PR or else it will be closed in 7 days.

@github-actions github-actions bot added the Stale label Oct 2, 2024
Copy link
Contributor

Although we are closing this PR as stale, it can still be reopened to continue development. Just add a comment to notify the maintainers.

@github-actions github-actions bot closed this Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla:yes Stale triage:ready-for-review Externally contributed PR has functional approval, ready for code review from Core engineering
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ADAP-1007] [Feature] Cast dataproc batch runtime_config properties to strings
3 participants