This is an automated email from the ASF dual-hosted git repository. gurwls223 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push: new 3f3cbae8680e [MINOR][DOCS] Fix SQL Error links and link anchors 3f3cbae8680e is described below commit 3f3cbae8680eb447e1a66d2358755aac446d1265 Author: Nicholas Chammas <nicholas.cham...@gmail.com> AuthorDate: Tue Jan 23 09:12:19 2024 +0900 [MINOR][DOCS] Fix SQL Error links and link anchors ### What changes were proposed in this pull request? Link anchors are case sensitive (at least on Safari). Many of the links in the SQL error pages use the incorrect case, so the anchor doesn't jump to the correct heading. This PR fixes those anchors. There is also a bad link in the menu, which this PR also fixes. ### Why are the changes needed? Links should point to their intended target. ### Does this PR introduce _any_ user-facing change? Yes, user-facing documentation. ### How was this patch tested? I built the SQL docs with: ```sh SKIP_SCALADOC=1 SKIP_PYTHONDOC=1 SKIP_RDOC=1 bundle exec jekyll build ``` And I clicked around a bunch of the SQL error pages to confirm the link anchors now work correctly. I also confirmed the menu link also works correctly now. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #44825 from nchammas/sql-error-links. Authored-by: Nicholas Chammas <nicholas.cham...@gmail.com> Signed-off-by: Hyukjin Kwon <gurwls...@apache.org> --- docs/_data/menu-sql.yaml | 2 +- ...r-conditions-cannot-update-field-error-class.md | 4 +- ...ions-insufficient-table-property-error-class.md | 4 +- ...-internal-error-metadata-catalog-error-class.md | 4 +- ...-error-conditions-invalid-cursor-error-class.md | 4 +- ...-error-conditions-invalid-handle-error-class.md | 4 +- ...or-conditions-missing-attributes-error-class.md | 6 +- ...ns-not-supported-in-jdbc-catalog-error-class.md | 4 +- ...-conditions-unsupported-add-file-error-class.md | 4 +- ...itions-unsupported-default-value-error-class.md | 4 +- ...ditions-unsupported-deserializer-error-class.md | 4 +- ...r-conditions-unsupported-feature-error-class.md | 4 +- ...conditions-unsupported-save-mode-error-class.md | 4 +- ...ted-subquery-expression-category-error-class.md | 4 +- docs/sql-error-conditions.md | 102 ++++++++++----------- 15 files changed, 65 insertions(+), 93 deletions(-) diff --git a/docs/_data/menu-sql.yaml b/docs/_data/menu-sql.yaml index 95833849cc59..0accc01d51c8 100644 --- a/docs/_data/menu-sql.yaml +++ b/docs/_data/menu-sql.yaml @@ -116,7 +116,7 @@ - text: DATATYPE_MISMATCH error class url: sql-error-conditions-datatype-mismatch-error-class.html - text: INCOMPATIBLE_DATA_FOR_TABLE error class - url: sql-error-conditions-incompatible-data-to-table-error-class.html + url: sql-error-conditions-incompatible-data-for-table-error-class.html - text: INCOMPLETE_TYPE_DEFINITION error class url: sql-error-conditions-incomplete-type-definition-error-class.html - text: INCONSISTENT_BEHAVIOR_CROSS_VERSION error class diff --git a/docs/sql-error-conditions-cannot-update-field-error-class.md b/docs/sql-error-conditions-cannot-update-field-error-class.md index 42f952a403be..3d7152e499c9 100644 --- a/docs/sql-error-conditions-cannot-update-field-error-class.md +++ b/docs/sql-error-conditions-cannot-update-field-error-class.md @@ -19,7 +19,7 @@ license: | limitations under the License. --- -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) Cannot update `<table>` field `<fieldName>` type: @@ -44,5 +44,3 @@ Update a struct by updating its fields. ## USER_DEFINED_TYPE Update a UserDefinedType[`<udtSql>`] by updating its fields. - - diff --git a/docs/sql-error-conditions-insufficient-table-property-error-class.md b/docs/sql-error-conditions-insufficient-table-property-error-class.md index 94175ccaf4c8..8f60d0901bff 100644 --- a/docs/sql-error-conditions-insufficient-table-property-error-class.md +++ b/docs/sql-error-conditions-insufficient-table-property-error-class.md @@ -19,7 +19,7 @@ license: | limitations under the License. --- -[SQLSTATE: XXKUC](sql-error-conditions-sqlstates.html#class-XX-internal-error) +[SQLSTATE: XXKUC](sql-error-conditions-sqlstates.html#class-xx-internal-error) Can't find table property: @@ -32,5 +32,3 @@ This error class has the following derived error classes: ## MISSING_KEY_PART `<key>`, `<totalAmountOfParts>` parts are expected. - - diff --git a/docs/sql-error-conditions-internal-error-metadata-catalog-error-class.md b/docs/sql-error-conditions-internal-error-metadata-catalog-error-class.md index e45116561281..ba410d65e4a9 100644 --- a/docs/sql-error-conditions-internal-error-metadata-catalog-error-class.md +++ b/docs/sql-error-conditions-internal-error-metadata-catalog-error-class.md @@ -19,7 +19,7 @@ license: | limitations under the License. --- -[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-XX-internal-error) +[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-xx-internal-error) An object in the metadata catalog has been corrupted: @@ -48,5 +48,3 @@ Corrupted view referred temp view names in catalog. ## VIEW_QUERY_COLUMN_ARITY Corrupted view query output column names in catalog: `<numCols>` parts expected, but part `<index>` is missing. - - diff --git a/docs/sql-error-conditions-invalid-cursor-error-class.md b/docs/sql-error-conditions-invalid-cursor-error-class.md index 0b6a4ae17aa3..8f5b34add585 100644 --- a/docs/sql-error-conditions-invalid-cursor-error-class.md +++ b/docs/sql-error-conditions-invalid-cursor-error-class.md @@ -19,7 +19,7 @@ license: | limitations under the License. --- -[SQLSTATE: HY109](sql-error-conditions-sqlstates.html#class-HY-cli-specific-condition) +[SQLSTATE: HY109](sql-error-conditions-sqlstates.html#class-hy-cli-specific-condition) The cursor is invalid. @@ -40,5 +40,3 @@ The cursor position id `<responseId>` is no longer available at index `<index>`. ## POSITION_NOT_FOUND The cursor position id `<responseId>` is not found. - - diff --git a/docs/sql-error-conditions-invalid-handle-error-class.md b/docs/sql-error-conditions-invalid-handle-error-class.md index 8df8e54a8d9d..7587b457fe8a 100644 --- a/docs/sql-error-conditions-invalid-handle-error-class.md +++ b/docs/sql-error-conditions-invalid-handle-error-class.md @@ -19,7 +19,7 @@ license: | limitations under the License. --- -[SQLSTATE: HY000](sql-error-conditions-sqlstates.html#class-HY-cli-specific-condition) +[SQLSTATE: HY000](sql-error-conditions-sqlstates.html#class-hy-cli-specific-condition) The handle `<handle>` is invalid. @@ -48,5 +48,3 @@ Session was closed. ## SESSION_NOT_FOUND Session not found. - - diff --git a/docs/sql-error-conditions-missing-attributes-error-class.md b/docs/sql-error-conditions-missing-attributes-error-class.md index 3f8f588bb871..2c81f9119600 100644 --- a/docs/sql-error-conditions-missing-attributes-error-class.md +++ b/docs/sql-error-conditions-missing-attributes-error-class.md @@ -19,7 +19,7 @@ license: | limitations under the License. --- -[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-XX-internal-error) +[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-xx-internal-error) Resolved attribute(s) `<missingAttributes>` missing from `<input>` in operator `<operator>`. @@ -31,7 +31,3 @@ Attribute(s) with the same name appear in the operation: `<operation>`. Please check if the right attribute(s) are used. ## RESOLVED_ATTRIBUTE_MISSING_FROM_INPUT - - - - diff --git a/docs/sql-error-conditions-not-supported-in-jdbc-catalog-error-class.md b/docs/sql-error-conditions-not-supported-in-jdbc-catalog-error-class.md index 5508c6a74a9c..60142a3831e2 100644 --- a/docs/sql-error-conditions-not-supported-in-jdbc-catalog-error-class.md +++ b/docs/sql-error-conditions-not-supported-in-jdbc-catalog-error-class.md @@ -19,7 +19,7 @@ license: | limitations under the License. --- -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) Not supported command in JDBC catalog: @@ -32,5 +32,3 @@ This error class has the following derived error classes: ## COMMAND_WITH_PROPERTY `<cmd>` with property `<property>`. - - diff --git a/docs/sql-error-conditions-unsupported-add-file-error-class.md b/docs/sql-error-conditions-unsupported-add-file-error-class.md index 80644e9c1849..3aacf50921ec 100644 --- a/docs/sql-error-conditions-unsupported-add-file-error-class.md +++ b/docs/sql-error-conditions-unsupported-add-file-error-class.md @@ -19,7 +19,7 @@ license: | limitations under the License. --- -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) Don't support add file. @@ -32,5 +32,3 @@ The file `<path>` is a directory, consider to set "spark.sql.legacy.addSingleFil ## LOCAL_DIRECTORY The local directory `<path>` is not supported in a non-local master mode. - - diff --git a/docs/sql-error-conditions-unsupported-default-value-error-class.md b/docs/sql-error-conditions-unsupported-default-value-error-class.md index c8a82f13ddd5..ee5985d96bbe 100644 --- a/docs/sql-error-conditions-unsupported-default-value-error-class.md +++ b/docs/sql-error-conditions-unsupported-default-value-error-class.md @@ -19,7 +19,7 @@ license: | limitations under the License. --- -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) DEFAULT column values is not supported. @@ -32,5 +32,3 @@ This error class has the following derived error classes: ## WITH_SUGGESTION Enable it by setting "spark.sql.defaultColumn.enabled" to "true". - - diff --git a/docs/sql-error-conditions-unsupported-deserializer-error-class.md b/docs/sql-error-conditions-unsupported-deserializer-error-class.md index 0de46f58ab48..a6194238de14 100644 --- a/docs/sql-error-conditions-unsupported-deserializer-error-class.md +++ b/docs/sql-error-conditions-unsupported-deserializer-error-class.md @@ -19,7 +19,7 @@ license: | limitations under the License. --- -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) The deserializer is not supported: @@ -32,5 +32,3 @@ need a(n) `<desiredType>` field but got `<dataType>`. ## FIELD_NUMBER_MISMATCH try to map `<schema>` to Tuple`<ordinal>`, but failed as the number of fields does not line up. - - diff --git a/docs/sql-error-conditions-unsupported-feature-error-class.md b/docs/sql-error-conditions-unsupported-feature-error-class.md index 1143aff634c2..fe3ed6f2efd5 100644 --- a/docs/sql-error-conditions-unsupported-feature-error-class.md +++ b/docs/sql-error-conditions-unsupported-feature-error-class.md @@ -19,7 +19,7 @@ license: | limitations under the License. --- -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) The feature is not supported: @@ -204,5 +204,3 @@ TRANSFORM with the DISTINCT/ALL clause. ## TRANSFORM_NON_HIVE TRANSFORM with SERDE is only supported in hive mode. - - diff --git a/docs/sql-error-conditions-unsupported-save-mode-error-class.md b/docs/sql-error-conditions-unsupported-save-mode-error-class.md index a5a3da2adf34..1fd813ae6a80 100644 --- a/docs/sql-error-conditions-unsupported-save-mode-error-class.md +++ b/docs/sql-error-conditions-unsupported-save-mode-error-class.md @@ -19,7 +19,7 @@ license: | limitations under the License. --- -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) The save mode `<saveMode>` is not supported for: @@ -32,5 +32,3 @@ an existent path. ## NON_EXISTENT_PATH a non-existent path. - - diff --git a/docs/sql-error-conditions-unsupported-subquery-expression-category-error-class.md b/docs/sql-error-conditions-unsupported-subquery-expression-category-error-class.md index 45ad386c6667..979cdfa487ba 100644 --- a/docs/sql-error-conditions-unsupported-subquery-expression-category-error-class.md +++ b/docs/sql-error-conditions-unsupported-subquery-expression-category-error-class.md @@ -19,7 +19,7 @@ license: | limitations under the License. --- -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) Unsupported subquery expression: @@ -76,5 +76,3 @@ IN/EXISTS predicate subqueries can only be used in filters, joins, aggregations, ## UNSUPPORTED_TABLE_ARGUMENT Table arguments are used in a function where they are not supported`<treeNode>`. - - diff --git a/docs/sql-error-conditions.md b/docs/sql-error-conditions.md index fa3bd5826214..77e085f722f7 100644 --- a/docs/sql-error-conditions.md +++ b/docs/sql-error-conditions.md @@ -185,7 +185,7 @@ The provided URL cannot be decoded: `<url>`. Please ensure that the URL is prope ### CANNOT_INVOKE_IN_TRANSFORMATIONS -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) Dataset transformations and actions can only be invoked by the driver, not inside of other Dataset transformations; for example, dataset1.map(x => dataset2.values.count() * x) is invalid because the values transformation and count action cannot be performed inside of the dataset1.map transformation. For more information, see SPARK-28702. @@ -278,7 +278,7 @@ Cannot recognize hive type string: `<fieldType>`, column: `<fieldName>`. The spe ### CANNOT_RENAME_ACROSS_SCHEMA -[SQLSTATE: 0AKD0](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0AKD0](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) Renaming a `<type>` across schemas is not allowed. @@ -302,13 +302,13 @@ Failed to set permissions on created path `<path>` back to `<permission>`. ### CANNOT_SAVE_VARIANT -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) Cannot save variant data type into external storage. ### [CANNOT_UPDATE_FIELD](sql-error-conditions-cannot-update-field-error-class.html) -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) Cannot update `<table>` field `<fieldName>` type: @@ -363,7 +363,7 @@ If this problem persists, you may consider using `rdd.checkpoint()` instead, whi ### CLASS_UNSUPPORTED_BY_MAP_OBJECTS -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) `MapObjects` does not support the class `<cls>` as resulting collection. @@ -429,7 +429,7 @@ For more details see [COMPLEX_EXPRESSION_UNSUPPORTED_INPUT](sql-error-conditions ### CONCURRENT_QUERY -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) Another instance of this query was just started by a concurrent session. @@ -456,7 +456,7 @@ The value `<str>` (`<fmt>`) cannot be converted to `<targetType>` because it is ### CREATE_PERMANENT_VIEW_WITHOUT_ALIAS -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) Not allowed to create the permanent view `<name>` without explicitly assigning an alias for the expression `<attr>`. @@ -541,7 +541,7 @@ For example: `UPDATE SET c1 = DEFAULT` is allowed, but `UPDATE T SET c1 = DEFAUL ### DISTINCT_WINDOW_FUNCTION_UNSUPPORTED -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) Distinct window functions are not supported: `<windowExpr>`. @@ -937,7 +937,7 @@ Data columns: `<dataColumns>`. ### [INSUFFICIENT_TABLE_PROPERTY](sql-error-conditions-insufficient-table-property-error-class.html) -[SQLSTATE: XXKUC](sql-error-conditions-sqlstates.html#class-XX-internal-error) +[SQLSTATE: XXKUC](sql-error-conditions-sqlstates.html#class-xx-internal-error) Can't find table property: @@ -945,31 +945,31 @@ For more details see [INSUFFICIENT_TABLE_PROPERTY](sql-error-conditions-insuffic ### INTERNAL_ERROR -[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-XX-internal-error) +[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-xx-internal-error) `<message>` ### INTERNAL_ERROR_BROADCAST -[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-XX-internal-error) +[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-xx-internal-error) `<message>` ### INTERNAL_ERROR_EXECUTOR -[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-XX-internal-error) +[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-xx-internal-error) `<message>` ### INTERNAL_ERROR_MEMORY -[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-XX-internal-error) +[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-xx-internal-error) `<message>` ### [INTERNAL_ERROR_METADATA_CATALOG](sql-error-conditions-internal-error-metadata-catalog-error-class.html) -[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-XX-internal-error) +[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-xx-internal-error) An object in the metadata catalog has been corrupted: @@ -977,19 +977,19 @@ For more details see [INTERNAL_ERROR_METADATA_CATALOG](sql-error-conditions-inte ### INTERNAL_ERROR_NETWORK -[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-XX-internal-error) +[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-xx-internal-error) `<message>` ### INTERNAL_ERROR_SHUFFLE -[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-XX-internal-error) +[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-xx-internal-error) `<message>` ### INTERNAL_ERROR_STORAGE -[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-XX-internal-error) +[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-xx-internal-error) `<message>` @@ -1057,7 +1057,7 @@ Column or field `<name>` is of type `<type>` while it's required to be `<expecte ### [INVALID_CURSOR](sql-error-conditions-invalid-cursor-error-class.html) -[SQLSTATE: HY109](sql-error-conditions-sqlstates.html#class-HY-cli-specific-condition) +[SQLSTATE: HY109](sql-error-conditions-sqlstates.html#class-hy-cli-specific-condition) The cursor is invalid. @@ -1143,7 +1143,7 @@ The fraction of sec must be zero. Valid range is [0, 60]. If necessary set `<ans ### [INVALID_HANDLE](sql-error-conditions-invalid-handle-error-class.html) -[SQLSTATE: HY000](sql-error-conditions-sqlstates.html#class-HY-cli-specific-condition) +[SQLSTATE: HY000](sql-error-conditions-sqlstates.html#class-hy-cli-specific-condition) The handle `<handle>` is invalid. @@ -1253,7 +1253,7 @@ For more details see [INVALID_OPTIONS](sql-error-conditions-invalid-options-erro ### INVALID_PANDAS_UDF_PLACEMENT -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) The group aggregate pandas UDF `<functionList>` cannot be invoked together with as other, non-pandas aggregate functions. @@ -1397,7 +1397,7 @@ Variable type must be string type but got `<varType>`. ### INVALID_VIEW_TEXT -[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-XX-internal-error) +[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-xx-internal-error) The view `<viewName>` cannot be displayed due to invalid view text: `<viewText>`. This may be caused by an unauthorized modification of the view or an incorrect query syntax. Please check your query syntax and verify that the view has not been tampered with. @@ -1466,7 +1466,7 @@ Malformed CSV record: `<badRecord>` ### MALFORMED_PROTOBUF_MESSAGE -[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-XX-internal-error) +[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-xx-internal-error) Malformed Protobuf messages are detected in message deserialization. Parse Mode: `<failFastMode>`. To process malformed protobuf message as null result, try setting the option 'mode' as 'PERMISSIVE'. @@ -1495,7 +1495,7 @@ Add the columns or the expression to the GROUP BY, aggregate the expression, or ### [MISSING_ATTRIBUTES](sql-error-conditions-missing-attributes-error-class.html) -[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-XX-internal-error) +[SQLSTATE: XX000](sql-error-conditions-sqlstates.html#class-xx-internal-error) Resolved attribute(s) `<missingAttributes>` missing from `<input>` in operator `<operator>`. @@ -1527,7 +1527,7 @@ The expression `<expr>` does not support more than one source. ### MULTI_UDF_INTERFACE_ERROR -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) Not allowed to implement multiple UDF interfaces, UDF class `<className>`. @@ -1539,7 +1539,7 @@ Named parameters are not supported for function `<functionName>`; please retry t ### NAMED_PARAMETER_SUPPORT_DISABLED -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) Cannot call function `<functionName>` because named argument references are not enabled here. In this case, the named argument reference was `<argument>`. @@ -1632,25 +1632,25 @@ For more details see [NOT_NULL_CONSTRAINT_VIOLATION](sql-error-conditions-not-nu ### NOT_SUPPORTED_CHANGE_COLUMN -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) ALTER TABLE ALTER/CHANGE COLUMN is not supported for changing `<table>`'s column `<originName>` with type `<originType>` to `<newName>` with type `<newType>`. ### NOT_SUPPORTED_COMMAND_FOR_V2_TABLE -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) `<cmd>` is not supported for v2 tables. ### NOT_SUPPORTED_COMMAND_WITHOUT_HIVE_SUPPORT -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) `<cmd>` is not supported, if you want to enable it, please set "spark.sql.catalogImplementation" to "hive". ### [NOT_SUPPORTED_IN_JDBC_CATALOG](sql-error-conditions-not-supported-in-jdbc-catalog-error-class.html) -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) Not supported command in JDBC catalog: @@ -1731,7 +1731,7 @@ Function name: `<funcName>`; number of aliases: `<aliasesNum>`; number of output ### OPERATION_CANCELED -[SQLSTATE: HY008](sql-error-conditions-sqlstates.html#class-HY-cli-specific-condition) +[SQLSTATE: HY008](sql-error-conditions-sqlstates.html#class-hy-cli-specific-condition) Operation has been canceled. @@ -1788,13 +1788,13 @@ Invalid pivot value '`<value>`': value data type `<valueType>` does not match pi ### PLAN_VALIDATION_FAILED_RULE_EXECUTOR -[SQLSTATE: XXKD0](sql-error-conditions-sqlstates.html#class-XX-internal-error) +[SQLSTATE: XXKD0](sql-error-conditions-sqlstates.html#class-xx-internal-error) The input plan of `<ruleExecutor>` is invalid: `<reason>` ### PLAN_VALIDATION_FAILED_RULE_IN_BATCH -[SQLSTATE: XXKD0](sql-error-conditions-sqlstates.html#class-XX-internal-error) +[SQLSTATE: XXKD0](sql-error-conditions-sqlstates.html#class-xx-internal-error) Rule `<rule>` in batch `<batch>` generated an invalid plan: `<reason>` @@ -1917,7 +1917,7 @@ Not found an id for the rule name "`<ruleName>`". Please modify RuleIdCollection ### SCALAR_SUBQUERY_IS_IN_GROUP_BY_OR_AGGREGATE_FUNCTION -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) The correlated scalar subquery '`<sqlExpr>`' is neither present in GROUP BY, nor in an aggregate function. Add it to GROUP BY using ordinal position or wrap it in `first()` (or `first_value`) if you don't care which value you get. @@ -1970,7 +1970,7 @@ sortBy must be used together with bucketBy. ### SPARK_JOB_CANCELLED -[SQLSTATE: XXKDA](sql-error-conditions-sqlstates.html#class-XX-internal-error) +[SQLSTATE: XXKDA](sql-error-conditions-sqlstates.html#class-xx-internal-error) Job `<jobId>` cancelled `<reason>` @@ -2010,7 +2010,7 @@ The SQL config `<sqlConf>` cannot be found. Please verify that the config exists ### STAR_GROUP_BY_POS -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) Star (*) is not allowed in a select list when GROUP BY an ordinal position is used. @@ -2041,7 +2041,7 @@ Rerun the streaming query to construct the state schema, and report to the corre ### STDS_INTERNAL_ERROR -[SQLSTATE: XXKST](sql-error-conditions-sqlstates.html#class-XX-internal-error) +[SQLSTATE: XXKST](sql-error-conditions-sqlstates.html#class-xx-internal-error) Internal error: `<message>` Please, report this bug to the corresponding communities or vendors, and provide the full stack trace. @@ -2082,7 +2082,7 @@ The checkpoint seems to be only run with older Spark version(s). Run the streami ### STREAM_FAILED -[SQLSTATE: XXKST](sql-error-conditions-sqlstates.html#class-XX-internal-error) +[SQLSTATE: XXKST](sql-error-conditions-sqlstates.html#class-xx-internal-error) Query [id = `<id>`, runId = `<runId>`] terminated with exception: `<message>` @@ -2327,7 +2327,7 @@ Attempted to unset non-existent properties [`<properties>`] in table `<table>`. ### [UNSUPPORTED_ADD_FILE](sql-error-conditions-unsupported-add-file-error-class.html) -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) Don't support add file. @@ -2335,50 +2335,50 @@ For more details see [UNSUPPORTED_ADD_FILE](sql-error-conditions-unsupported-add ### UNSUPPORTED_ARROWTYPE -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) Unsupported arrow type `<typeName>`. ### UNSUPPORTED_CALL -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) Cannot call the method "`<methodName>`" of the class "`<className>`". ### UNSUPPORTED_CHAR_OR_VARCHAR_AS_STRING -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) The char/varchar type can't be used in the table schema. If you want Spark treat them as string type as same as Spark 3.0 and earlier, please set "spark.sql.legacy.charVarcharAsString" to "true". ### UNSUPPORTED_DATASOURCE_FOR_DIRECT_QUERY -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) Unsupported data source type for direct query on files: `<dataSourceType>` ### UNSUPPORTED_DATATYPE -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) Unsupported data type `<typeName>`. ### UNSUPPORTED_DATA_SOURCE_SAVE_MODE -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) The data source "`<source>`" cannot be written in the `<createMode>` mode. Please use either the "Append" or "Overwrite" mode instead. ### UNSUPPORTED_DATA_TYPE_FOR_DATASOURCE -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) The `<format>` datasource doesn't support the column `<columnName>` of the type `<columnType>`. ### [UNSUPPORTED_DEFAULT_VALUE](sql-error-conditions-unsupported-default-value-error-class.html) -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) DEFAULT column values is not supported. @@ -2386,7 +2386,7 @@ For more details see [UNSUPPORTED_DEFAULT_VALUE](sql-error-conditions-unsupporte ### [UNSUPPORTED_DESERIALIZER](sql-error-conditions-unsupported-deserializer-error-class.html) -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) The deserializer is not supported: @@ -2422,7 +2422,7 @@ Expression `<sqlExpr>` not supported within a window function. ### [UNSUPPORTED_FEATURE](sql-error-conditions-unsupported-feature-error-class.html) -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) The feature is not supported: @@ -2468,7 +2468,7 @@ For more details see [UNSUPPORTED_OVERWRITE](sql-error-conditions-unsupported-ov ### [UNSUPPORTED_SAVE_MODE](sql-error-conditions-unsupported-save-mode-error-class.html) -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) The save mode `<saveMode>` is not supported for: @@ -2476,7 +2476,7 @@ For more details see [UNSUPPORTED_SAVE_MODE](sql-error-conditions-unsupported-sa ### [UNSUPPORTED_SUBQUERY_EXPRESSION_CATEGORY](sql-error-conditions-unsupported-subquery-expression-category-error-class.html) -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) Unsupported subquery expression: @@ -2484,7 +2484,7 @@ For more details see [UNSUPPORTED_SUBQUERY_EXPRESSION_CATEGORY](sql-error-condit ### UNSUPPORTED_TYPED_LITERAL -[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0A-feature-not-supported) +[SQLSTATE: 0A000](sql-error-conditions-sqlstates.html#class-0a-feature-not-supported) Literals of the type `<unsupportedType>` are not supported. Supported types are `<supportedTypes>`. --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org