[ https://issues.apache.org/jira/browse/SPARK-2973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14255150#comment-14255150 ]
Cheng Lian commented on SPARK-2973: ----------------------------------- How about adding a special {{LocalRDD}} that inherits {{RDD}} but doesn't trigger any distributed jobs? Essentially it's just a normal {{Seq}} but behaves like an {{RDD}}. Then we can let {{HiveNativeCommand}} (or {{NativeCommand}} in branch-1.2) return a {{LocalRDD}} in {{.execute()}}. > Add a way to show tables without executing a job > ------------------------------------------------ > > Key: SPARK-2973 > URL: https://issues.apache.org/jira/browse/SPARK-2973 > Project: Spark > Issue Type: Improvement > Components: SQL > Reporter: Aaron Davidson > Assignee: Cheng Lian > Priority: Critical > Fix For: 1.2.0 > > > Right now, sql("show tables").collect() will start a Spark job which shows up > in the UI. There should be a way to get these without this step. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org