Available SQL Functions in Glue

0

Using the step: "Derived Column" where I can use SQL functions to derive new columns I found SUBSTRING works but CHARINDEX it doesn't. And as usual with AWS documentation, there's no place or indication which functions are available in this particular kind of glue node.

已提問 1 年前檢視次數 343 次
1 個回答
2
已接受的答案

Are you using DynamicFrames?

You can convert it to DataFrame and then use SparkSQL functions.

https://spark.apache.org/docs/latest/api/sql/index.html

profile pictureAWS
已回答 1 年前
profile picture
專家
已審閱 1 年前
  • The goal is to use "Derived Column" and not dabble with the script itself.

  • Actually that list is correct. Thanks, @acmanjon

  • Yes, that node allows using SparkSQL functions based on the Glue version you are using (3.3.0 for Glue 4 and 3.1.1 for Glue 3)

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南