You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2019/04/21 17:22:00 UTC
[jira] [Updated] (SPARK-27439) Use analyzed plan when explaining
Dataset
[ https://issues.apache.org/jira/browse/SPARK-27439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated SPARK-27439:
----------------------------------
Issue Type: Improvement (was: Bug)
> Use analyzed plan when explaining Dataset
> -----------------------------------------
>
> Key: SPARK-27439
> URL: https://issues.apache.org/jira/browse/SPARK-27439
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.4.1
> Reporter: xjl
> Priority: Minor
>
> {code:java}
> SparkSession spark = SparkSession
> .builder()
> .appName("app").enableHiveSupport().master("local[4]")
> .getOrCreate();
> spark.sql("select * from default.t1").createOrReplaceTempView("tmp001");
> Dataset<Row> hiveTable = spark.sql("select * from tmp001");
> spark.sql("select * from default.t2").createOrReplaceTempView("tmp001");
> hiveTable.show();
>
> }
> {code}
> hiveTable show the value of t1 but not t2
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org