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

UNICODE

在新列中返回源列中字符串的第一个字符或自定义字符串的 Unicode 索引值。

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

  • value:要计算的字符串。

  • targetColumn:要创建的新列的名称。

注意

您可以指定 sourceColumnvalue,但不能同时指定两者。

例 示例

{ "RecipeAction": { "Operation": "UNICODE", "Parameters": { "sourceColumn": "first_name", "targetColumn": "first_name_unicode" } } }

{ "RecipeAction": { "Operation": "UNICODE", "Parameters": { "value": "?", "targetColumn": "sixty_three" } } }