felixcheung commented on a change in pull request #3321: [ZEPPELIN-3487]. Spark 
SQL (%sql) paragraphs for DDLs should suppress datagrid-ui
URL: https://github.com/apache/zeppelin/pull/3321#discussion_r263682012
 
 

 ##########
 File path: 
spark/spark1-shims/src/main/scala/org/apache/zeppelin/spark/Spark1Shims.java
 ##########
 @@ -56,6 +56,10 @@ public String showDataFrame(Object obj, int maxResult) {
     if (obj instanceof DataFrame) {
       DataFrame df = (DataFrame) obj;
       String[] columns = df.columns();
+      // DDL will empty DataFrame
 
 Review comment:
   is row count doesnt matter here?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to