You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by GitBox <gi...@apache.org> on 2022/08/15 07:35:10 UTC

[GitHub] [zeppelin] zkytech commented on pull request #4443: [ZEPPELIN-5798] Add multiline sql statement support for Livy Spark SQL interpreter

zkytech commented on PR #4443:
URL: https://github.com/apache/zeppelin/pull/4443#issuecomment-1214710538

   I have found a new bug in this file.
   
   message data like this will fail with error `com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 1 column 9 path $.`
   ```
   df: org.apache.spark.sql.DataFrame = [_id: struct<oid: string>, pv: bigint ... 2 more fields]
   _id	pv	stats_date	uv	
   {"_id":{"oid":"6295fdbd458288396d008163"},"pv":0,"stats_date":"20220530","uv":0}
   ```
   which is caused by code in [this place](https://github.com/apache/zeppelin/blob/d2cdb77f6ae6a13ff9c770b82d7125270415a77c/livy/src/main/java/org/apache/zeppelin/livy/LivySparkSQLInterpreter.java?_pjax=%23js-repo-pjax-container%2C%20div%5Bitemtype%3D%22http%3A%2F%2Fschema.org%2FSoftwareSourceCode%22%5D%20main%2C%20%5Bdata-pjax-container%5D#L189) 
   
   I will fix this later.


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org