REMOVE_COMBINED - Amazon Glue DataBrew
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

REMOVE_COMBINED

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

参数
  • 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,则删除所有大写和小写字母字符(AZaz)。

  • removeNumbers:如果为 true,则删除所有数字字符(09)。

  • 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" } } }