From 8e1cb54bf253a644f506be96b43f7159f5808407 Mon Sep 17 00:00:00 2001 From: Shreya Khajanchi Date: Mon, 9 Dec 2024 21:41:17 +0530 Subject: [PATCH] minor fix --- .../com/custom/CustomTransformationWithShardForLiveIT.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/v2/spanner-custom-shard/src/main/java/com/custom/CustomTransformationWithShardForLiveIT.java b/v2/spanner-custom-shard/src/main/java/com/custom/CustomTransformationWithShardForLiveIT.java index 4d850f15e6..f05c84f788 100644 --- a/v2/spanner-custom-shard/src/main/java/com/custom/CustomTransformationWithShardForLiveIT.java +++ b/v2/spanner-custom-shard/src/main/java/com/custom/CustomTransformationWithShardForLiveIT.java @@ -206,9 +206,9 @@ public MigrationTransformationResponse toSourceRow(MigrationTransformationReques Map responseRow = new HashMap<>(); Map requestRow = request.getRequestRow(); String name = requestRow.get("name").toString(); - String[] name_array = name.split(" "); - responseRow.put("first_name", name_array[0]); - responseRow.put("last_name", name_array[1]); + String[] nameArray = name.split(" "); + responseRow.put("first_name", nameArray[0]); + responseRow.put("last_name", nameArray[1]); MigrationTransformationResponse response = new MigrationTransformationResponse(responseRow, false); return response;