Does AWS Glue support fixed-byte-length source data?

0

Hello. Can AWS Glue read source data file like below?

  20220101E00011000AAABBBCCC
  20220101E00021000あいCCC

The second record contains Japanese characters, and is the same byte length with the first record. The numbers of characters vary by record.

Thank you.

  • If the numbers of characters are the same by record, I can use Grok pattern like "(?<col0>.{6})(?<col1>.{2})..." when making a data catalog using crawler. But in this case, numbers differ, and bytes are the same. Can anyone tell AWS Glue does support/not support data set like this?

質問済み 2年前413ビュー
1回答
0
承認された回答

Unfortunately parsing data by Bytes right now is not supported in glue. I observed your data is unstructured and the only way to parse that data is Grok SerDe or Regex SerDe but they parse data by identifying patterns so they are not feasible. I will recommend you to preprocess your data and then load them in glue.

unstructured data -> preprocessing using some Custom built parser function(csv) -> S3 -> crawl and createDatabase in glue.
AWS
サポートエンジニア
Shubh
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ