guihuawen created SPARK-46106:
---------------------------------
Summary: If the hive table is a table, the outsourcing information
will be displayed during ShowCreateTableCommand.
Key: SPARK-46106
URL: https://issues.apache.org/jira/browse/SPARK-46106
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 3.5.0
Reporter: guihuawen
Fix For: 3.5.0
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'
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]