Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,12 @@ class SparkThrowableSuite extends SparkFunSuite {
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
|---""".stripMargin
|---
|
|<!--
| DO NOT EDIT THIS FILE.
| It was generated automatically by `${getClass().getName()}`.
|-->""".stripMargin
}

def orphanedGoldenFiles(): Iterable[File] = {
Expand Down
5 changes: 5 additions & 0 deletions docs/sql-error-conditions-as-of-join-error-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

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

Invalid as-of join.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

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

Failed to create data source table `<tableName>`:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

SQLSTATE: 58030

An error occurred during loading state.
Expand Down
5 changes: 5 additions & 0 deletions docs/sql-error-conditions-cannot-update-field-error-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported)

Cannot update `<table>` field `<fieldName>` type:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

SQLSTATE: 58030

Error writing state store files for provider `<providerClass>`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

[SQLSTATE: 54000](sql-error-conditions-sqlstates.html#class-54-program-limit-exceeded)

Can't create array with `<numberOfElements>` elements which exceeding the array size limit `<maxRoundedArrayLength>`,
Expand All @@ -36,3 +41,5 @@ cannot initialize an array with specified parameters.
## PARAMETER

the value of parameter(s) `<parameter>` in the function `<functionName>` is invalid.


Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

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

Cannot process input data types for the expression: `<expression>`.
Expand Down
5 changes: 5 additions & 0 deletions docs/sql-error-conditions-connect-error-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

SQLSTATE: 56K00

Generic Spark Connect error.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

[SQLSTATE: 21S01](sql-error-conditions-sqlstates.html#class-21-cardinality-violation)

Cannot create view `<viewName>`, the reason is
Expand Down
5 changes: 5 additions & 0 deletions docs/sql-error-conditions-datatype-mismatch-error-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

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

Cannot resolve `<sqlExpr>` due to data type mismatch:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

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

Call to function `<functionName>` is invalid because it includes multiple argument assignments to the same parameter name `<parameterName>`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

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

'`<operation>`' expects a table but `<viewName>` is a view.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

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

The table `<tableName>` does not support `<operation>`.
Expand Down
5 changes: 5 additions & 0 deletions docs/sql-error-conditions-failed-jdbc-error-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

SQLSTATE: HV000

Failed JDBC `<url>` on the operation:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

SQLSTATE: KD000

Cannot write incompatible data for the table `<tableName>`:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

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

Incomplete complex type:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

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

You may get a different result due to the upgrading to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

[SQLSTATE: 21S01](sql-error-conditions-sqlstates.html#class-21-cardinality-violation)

Cannot write to `<tableName>`, the reason is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

[SQLSTATE: XXKUC](sql-error-conditions-sqlstates.html#class-XX-internal-error)

Can't find table property:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-XX-internal-error)

An object in the metadata catalog has been corrupted:
Expand Down
5 changes: 5 additions & 0 deletions docs/sql-error-conditions-invalid-boundary-error-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

[SQLSTATE: 22003](sql-error-conditions-sqlstates.html#class-22-data-exception)

The boundary `<boundary>` is invalid: `<invalidValue>`.
Expand Down
5 changes: 5 additions & 0 deletions docs/sql-error-conditions-invalid-cursor-error-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

[SQLSTATE: HY109](sql-error-conditions-sqlstates.html#class-HY-cli-specific-condition)

The cursor is invalid.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

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

Failed to execute `<statement>` command because the destination column or variable `<colName>` has a DEFAULT value `<defaultValue>`,
Expand Down
5 changes: 5 additions & 0 deletions docs/sql-error-conditions-invalid-format-error-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

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

The format is invalid: `<format>`.
Expand Down
5 changes: 5 additions & 0 deletions docs/sql-error-conditions-invalid-handle-error-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

[SQLSTATE: HY000](sql-error-conditions-sqlstates.html#class-HY-cli-specific-condition)

The handle `<handle>` is invalid.
Expand Down
5 changes: 5 additions & 0 deletions docs/sql-error-conditions-invalid-inline-table-error-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

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

Invalid inline table.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

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

Invalid inverse distribution function `<funcName>`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

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

Invalid lambda function call.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

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

The limit like expression `<expr>` is invalid.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

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

Invalid observed metrics.
Expand Down
5 changes: 5 additions & 0 deletions docs/sql-error-conditions-invalid-options-error-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ license: |
limitations under the License.
---

<!--
DO NOT EDIT THIS FILE.
It was generated automatically by `org.apache.spark.SparkThrowableSuite`.
-->

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

Invalid options:
Expand Down
Loading