GitHub user echarles opened a pull request:
https://github.com/apache/zeppelin/pull/2227
[ZEPPELIN-2359] Support Spell as Display
### What is this PR for?
SPELL should be considered as another display type, just like TEXT, HTML,
TABLE...
### What type of PR is it?
[Improvement]
### Todos
* [ ] - Task
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-2359
### How should this be tested?
Run in a paragraph
```
val json =
"""{"array":[1,2,3],"boolean":true,"null":null,"number":123,"object":{"a":"b","c":"d","e":"f"},"string":"Hello
World"}"""
println(s"""%spell %json
$json""")
```
or
```
val hello = "hello all"
println(s"""%spell %echo
$hello""")
```
### Screenshots
NA
### Questions:
* Does the licenses files need update? N
* Is there breaking changes for older versions? N
* Does this needs documentation? Y
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/datalayer/zeppelin ZEPPELIN-2359
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/2227.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2227
----
commit ebe7ebb336f182581df5e2c5d7df01308f88b367
Author: Eric Charles <[email protected]>
Date: 2017-03-18T11:23:13Z
Automatic message for commit of samedi 18 mars 2017, 11:23:13 (UTC+0000)
commit 39543dec69555ec9968175ad6f8a36dcb7a28ae0
Author: Eric Charles <[email protected]>
Date: 2017-03-25T13:03:02Z
Merge branch 'master' of https://github.com/apache/zeppelin
commit e89fd7098c11a821bbb78498f627eada0700992d
Author: Eric Charles <[email protected]>
Date: 2017-03-29T04:00:14Z
Merge branch 'master' of https://github.com/apache/zeppelin
commit 2fb48c0a8db6e5bd154861133724e0d0947bf792
Author: Eric Charles <[email protected]>
Date: 2017-04-05T13:16:40Z
Merge branch 'master' of https://github.com/apache/zeppelin
commit 78d0ff2d92de4cb0027c7ea78be8db1d6cc4cf8e
Author: Eric Charles <[email protected]>
Date: 2017-04-05T16:15:55Z
revert to scala 2.10
commit 4c1d5b0f8b7d8ce61eacf56aedefcc877539f5e3
Author: Eric Charles <[email protected]>
Date: 2017-04-05T17:40:43Z
Support Spell as Display
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---