You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Nikola Mandic (Jira)" <ji...@apache.org> on 2024/06/24 12:53:00 UTC

[jira] [Created] (SPARK-48698) Support analyze column stats for tables with collated columns

Nikola Mandic created SPARK-48698:
-------------------------------------

             Summary: Support analyze column stats for tables with collated columns
                 Key: SPARK-48698
                 URL: https://issues.apache.org/jira/browse/SPARK-48698
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 4.0.0
            Reporter: Nikola Mandic


Following sequence fails:
{code:java}
> create table t(s string collate utf8_lcase) using parquet;
> insert into t values ('A');
> analyze table t compute statistics for all columns;
[UNSUPPORTED_FEATURE.ANALYZE_UNSUPPORTED_COLUMN_TYPE] The feature is not supported: The ANALYZE TABLE FOR COLUMNS command does not support the type "STRING COLLATE UTF8_LCASE" of the column `s` in the table `spark_catalog`.`default`.`t`. SQLSTATE: 0A000
 {code}
Users should be able to run ANALYZE commands on tables which have columns with collated type.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org