Skip to content

Commit 90155fb

Browse files
committed
Update sql error conditions doc file
1 parent b13e62c commit 90155fb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/sql-error-conditions.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2002,6 +2002,18 @@ You're using untyped Scala UDF, which does not have the input type information.
20022002
2. use Java UDF APIs, e.g. `udf(new UDF1[String, Integer] { override def call(s: String): Integer = s.length() }, IntegerType)`, if input types are all non primitive.
20032003
3. set "spark.sql.legacy.allowUntypedScalaUDF" to "true" and use this API with caution.
20042004

2005+
### UPSERT_KEY_COLUMNS_REQUIRED
2006+
2007+
SQLSTATE: none assigned
2008+
2009+
Upsert requires key columns.
2010+
2011+
### UPSERT_NOT_ALLOWED
2012+
2013+
SQLSTATE: none assigned
2014+
2015+
Upsert is not allowed for table `<table>`: `<reason>`.
2016+
20052017
### VIEW_ALREADY_EXISTS
20062018

20072019
[SQLSTATE: 42P07](sql-error-conditions-sqlstates.html#class-42-syntax-error-or-access-rule-violation)

0 commit comments

Comments
 (0)