Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-31204

HiveResult compatibility for DatasourceV2 command

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • SQL
    • None

    Description

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

          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 =>
      

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

      Attachments

        Issue Links

          Activity

            People

              imback82 Terry Kim
              juliuszsompolski Juliusz Sompolski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: