有人可以在这里帮助我,如何解决?我试图从我的teradata表中删除行,但是有些失败,并显示以下错误
expected something between '(' and the 'DELETE' keyword
我使用的代码
val jdbcDF = sqlContext.load("jdbc", Map(
"url" -> "jdbc:teradata://<server_name>, TMODE=TERA, user=my_user, password=*****",
"dbtable" -> s"(DELETE from table where pa='20181115') as st",
"driver" -> "com.teradata.jdbc.TeraDriver")