Created
May 24, 2020 17:26
-
-
Save iht/f68cc010fa10f9da9a564c38201e7ab9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static String transformKey(String key, Row record) { | |
/** | |
* TODO: Change the existing key here, by a new key | |
* | |
* <p>Here we just reverse the key, as a demo. Ideally, you should test different strategies, | |
* test the performance obtained with each key transform strategy, and then decide how you need | |
* to change the keys. | |
*/ | |
return StringUtils.reverse(key); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment