You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Juliusz Sompolski (Jira)" <ji...@apache.org> on 2020/03/20 11:12:00 UTC

[jira] [Created] (SPARK-31204) HiveResult compatibility for DatasourceV2 command

Juliusz Sompolski created SPARK-31204:
-----------------------------------------

             Summary: HiveResult compatibility for DatasourceV2 command
                 Key: SPARK-31204
                 URL: https://issues.apache.org/jira/browse/SPARK-31204
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Juliusz Sompolski


HiveResult performs some compatibility matches and conversions for commands to be compatible with Hive output, e.g.:

{code}
    case ExecutedCommandExec(_: DescribeCommandBase) =>
      // If it is a describe command for a Hive table, we want to have the output format
      // be similar with Hive.
...
    // SHOW TABLES in Hive only output table names, while ours output database, table name, isTemp.
    case command @ ExecutedCommandExec(s: ShowTablesCommand) if !s.isExtended =>
{code}

It is needed for DatasourceV2 commands as well (eg. ShowTablesExec...).




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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