-
Notifications
You must be signed in to change notification settings - Fork 382
Closed
Description
I have a notebook with four cells:
%%classpath add mvn
org.apache.spark spark-sql_2.11 2.3.1%%spark -cval ds1 = spark.createDataset(Seq(("a", "this", 7), ("b", "this", 5), ("b", "that", 11)))val ds2 = spark.range(1, 10)
After running all four cells, my notebook looks like this:

If I click on the "Preview 10 Rows" button in cell 3, I get this:

The preview of ds1 from cell 3 appears in the output area for cell 4, below the preview button and schema info for ds2.
If I click on ds2's preview button at this point, the Spark status indicator and data preview will appear below the preview of ds1 (but all still in the cell 4 output area).