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

If the hive table is a table, the outsourcing information will be displayed during ShowCreateTableCommand.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.5.0
    • 3.5.0
    • SQL

    Description

      For example:
      CREATE EXTERNAL TABLE test_extaral_1 (a String);

      When using SHOW CREATE TABLE test, if it is an external table, it is not displayed whether it is an external table.

      spark-sql> show create table test_extaral_1;
      createtab_stmt
      CREATE TABLE `test`.`test_extaral_1` (
        `a` STRING)
      USING orc
      LOCATION '/test/test_extaral_1'

       

      You can modify the display and see whether it is the appearance。

      spark-sql> show create table test_extaral_1;
      createtab_stmt

      CREATE EXTERNAL TABLE `test`.`test_extaral_1` (
        `a` STRING)
      USING orc
      CREATE EXTERNAL TABLE `test`.`test_extaral_1` (
      LOCATION '/test/test_extaral_1'

       

       

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            guihuawen guihuawen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: