Open a11dev opened 6 days ago
The config should be:
transform {
Sql {
source_table_name = "assignments"
result_table_name = "mongoassignments"
query = "select CAST(W6KEY as INT) as w6key, CAST(IFNULL(TASK,0),INT) as task from w6assignments"
}
}
use cast (name as int)
not cast(name,int)
Search before asking
What happened
SQL Cast function https://seatunnel.apache.org/docs/2.3.5/transform-v2/sql-functions/#cast CAST "Unsupported function: CAST" documentation example is with CONVERT result is the same "Unsupported function: CONVERT "
SeaTunnel Version
2.3.5
SeaTunnel Config
Running Command
Error Exception
Zeta or Flink or Spark Version
No response
Java or Scala Version
No response
Screenshots
No response
Are you willing to submit PR?
Code of Conduct