File tree Expand file tree Collapse file tree 1 file changed +0
-102
lines changed
Expand file tree Collapse file tree 1 file changed +0
-102
lines changed Original file line number Diff line number Diff line change 172172 " spark.sql(\" DROP TABLE cities\" )"
173173 ],
174174 "attachments" : {}
175- },
176- {
177- "cell_type" : " code" ,
178- "execution_count" : 8 ,
179- "outputs" : [
180- {
181- "output_type" : " execute_result" ,
182- "execution_count" : 8 ,
183- "data" : {
184- "text/plain" : " DataFrame[database: string, tableName: string, isTemporary: boolean]"
185- },
186- "metadata" : {}
187- }
188- ],
189- "metadata" : {},
190- "source" : [
191- " spark.sql(\" SHOW TABLES\" )"
192- ],
193- "attachments" : {}
194- },
195- {
196- "cell_type" : " code" ,
197- "execution_count" : 9 ,
198- "outputs" : [
199- {
200- "output_type" : " execute_result" ,
201- "execution_count" : 9 ,
202- "data" : {
203- "application/json" : {
204- "isSummary" : false ,
205- "language" : " sql" ,
206- "table" : {
207- "rows" : [
208- {
209- "database" : " default" ,
210- "tableName" : " hdinsightdemo" ,
211- "isTemporary" : false
212- },
213- {
214- "database" : " default" ,
215- "tableName" : " hdinsighttest" ,
216- "isTemporary" : false
217- },
218- {
219- "database" : " default" ,
220- "tableName" : " my_table" ,
221- "isTemporary" : false
222- },
223- {
224- "database" : " default" ,
225- "tableName" : " mytable" ,
226- "isTemporary" : false
227- }
228- ],
229- "schema" : {
230- "database" : " string" ,
231- "tableName" : " string" ,
232- "isTemporary" : " boolean"
233- }
234- }
235- }
236- },
237- "metadata" : {}
238- }
239- ],
240- "metadata" : {
241- "diagram" : {
242- "activateDiagramType" : 1 ,
243- "chartConfig" : {
244- "category" : " bar" ,
245- "keys" : [
246- " database"
247- ],
248- "values" : [
249- " database"
250- ],
251- "yLabel" : " database" ,
252- "xLabel" : " database" ,
253- "aggregation" : " COUNT" ,
254- "aggByBackend" : false
255- },
256- "aggData" : " {\" database\" :{\" default\" :4}}" ,
257- "isSummary" : false ,
258- "previewData" : {
259- "filter" : null
260- },
261- "isSql" : true
262- }
263- },
264- "source" : [
265- " %%sql\n " ,
266- " SHOW TABLES"
267- ],
268- "attachments" : {}
269- },
270- {
271- "cell_type" : " code" ,
272- "execution_count" : null ,
273- "outputs" : [],
274- "metadata" : {},
275- "source" : [],
276- "attachments" : {}
277175 }
278176 ]
279177}
You can’t perform that action at this time.
0 commit comments