移除_组合 - AWS Glue DataBrew

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

移除_组合

根据用户指定的内容,从列中删除一个或多个字符。

参数
  • sourceColumn – 现有列的名称。

  • collapseConsecutiveWhitespace— 如果true,则将两个或多个空白字符替换为一个空白字符。

  • removeAllPunctuation— 如果true,则删除以下所有字符:. ! , ?

  • removeAllQuotes— 如果true,则删除所有单引号和双引号。

  • removeAllWhitespace— 如果true,则删除所有空白字符。

  • customCharacters— 一个或多个可以操作的字符。

  • customValue— 可以对其采取行动的值。

  • removeCustomCharacters— 如果true,则移除customCharacters参数指定的所有字符。

  • removeCustomValue— 如果true,则移除customValue参数指定的所有字符。

  • punctuationally— 如果true,如果以下字符出现在值的开头或结尾处,则移除这些字符:. ! , ?

  • antidisestablishmentarianism— 如果true,删除值开头和结尾的单引号和双引号。

  • removeLeadingAndTrailingWhitespace— 如果true,则从值的开头和结尾移除所有空格。

  • removeLetters— 如果true,则删除所有大写和小写字母字符(Aa通过 Zz; through)。

  • removeNumbers— 如果true,则删除所有数字字符(0通过9)。

  • removeSpecialCharacters— 如果true,则删除以下所有字符:! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~

例 示例

{ "RecipeAction": { "Operation": "REMOVE_COMBINED", "Parameters": { "collapseConsecutiveWhitespace": "false", "removeAllPunctuation": "false", "removeAllQuotes": "false", "removeAllWhitespace": "false", "removeCustomCharacters": "false", "removeCustomValue": "false", "removeLeadingAndTrailingPunctuation": "false", "removeLeadingAndTrailingQuotes": "false", "removeLeadingAndTrailingWhitespace": "false", "removeLetters": "false", "removeNumbers": "false", "removeSpecialCharacters": "true", "sourceColumn": "info_url" } } }
{ "RecipeAction": { "Operation": "REMOVE_COMBINED", "Parameters": { "collapseConsecutiveWhitespace": "false", "customCharacters": "¶", "removeAllPunctuation": "false", "removeAllQuotes": "false", "removeAllWhitespace": "false", "removeCustomCharacters": "true", "removeCustomValue": "false", "removeLeadingAndTrailingPunctuation": "false", "removeLeadingAndTrailingQuotes": "false", "removeLeadingAndTrailingWhitespace": "false", "removeLetters": "false", "removeNumbers": "false", "removeSpecialCharacters": "false", "sourceColumn": "info_url" } } }
{ "RecipeAction": { "Operation": "REMOVE_COMBINED", "Parameters": { "collapseConsecutiveWhitespace": "true", "customValue": "M", "removeAllPunctuation": "true", "removeAllQuotes": "false", "removeAllWhitespace": "false", "removeCustomCharacters": "false", "removeCustomValue": "true", "removeLeadingAndTrailingPunctuation": "false", "removeLeadingAndTrailingQuotes": "true", "removeLeadingAndTrailingWhitespace": "true", "removeLetters": "true", "removeNumbers": "true", "removeSpecialCharacters": "false", "sourceColumn": "info_url" } } }
{ "RecipeAction": { "Operation": "REMOVE_COMBINED", "Parameters": { "collapseConsecutiveWhitespace": "false", "removeAllPunctuation": "false", "removeAllQuotes": "false", "removeAllWhitespace": "false", "removeCustomCharacters": "false", "removeCustomValue": "false", "removeLeadingAndTrailingPunctuation": "false", "removeLeadingAndTrailingQuotes": "false", "removeLeadingAndTrailingWhitespace": "false", "removeLetters": "false", "removeNumbers": "true", "removeSpecialCharacters": "false", "sourceColumn": "first_name" } } }
{ "RecipeAction": { "Operation": "REMOVE_COMBINED", "Parameters": { "collapseConsecutiveWhitespace": "false", "removeAllPunctuation": "false", "removeAllQuotes": "false", "removeAllWhitespace": "false", "removeCustomCharacters": "false", "removeCustomValue": "false", "removeLeadingAndTrailingPunctuation": "false", "removeLeadingAndTrailingQuotes": "false", "removeLeadingAndTrailingWhitespace": "false", "removeLetters": "false", "removeNumbers": "true", "removeSpecialCharacters": "false", "sourceColumn": "first_name" } } }