Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[#3173]Update field names in all entries. #3175

Merged
merged 2 commits into from
Sep 30, 2019

Conversation

stellanl
Copy link
Contributor

Before the PR (what is the issue or what needed to be done)

Need to update the field names as used by #3166.

The solution

Screenshots (if appropriate)

Checklist

  • Connect the issue
  • Test plan
  • Copyright header
  • Code formatting
  • Documentation

@stellanl stellanl requested a review from muloem September 18, 2019 14:35
Copy link
Member

@muloem muloem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aren't there some updates to make as far as the DeviceSurveyJobQueue elements are concerned?

@@ -72,7 +72,7 @@ private void processAssignments(DatastoreService ds) {
for (Entity ass : pq.asIterable(FetchOptions.Builder.withChunkSize(500))) {

boolean splitAllowed = true;
boolean forceSplit = false;
boolean forceSplit = true; //want to write the surveyId and new field names to all
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If its always going to be true then do we even need to have the variable?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's more like a constant now :) Strictly no, I just thought it made the logic clearer.

@stellanl stellanl merged commit adc5960 into develop Sep 30, 2019
@stellanl stellanl deleted the issue/3173-augment-assignment-splitting-script branch September 30, 2019 10:23
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants