You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by whisperstream <gi...@git.apache.org> on 2015/05/06 22:50:05 UTC
[GitHub] incubator-zeppelin pull request: Fixed pyspark indentation issue -...
GitHub user whisperstream opened a pull request:
https://github.com/apache/incubator-zeppelin/pull/63
Fixed pyspark indentation issue - take 2
see https://issues.apache.org/jira/browse/ZEPPELIN-34, should allow:
```
%pyspark
if True:
print "one"
else:
print "two"
def test_func(text):
for i in range(1, 10):
print text + '-' + str(i)
test_func('fixed')
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/whisperstream/incubator-zeppelin pyspark-indentation-fix-2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-zeppelin/pull/63.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 #63
----
commit ec4398d4a5020eedac7dced92fdd4bc07d956ee8
Author: whisperstream <ax...@whisperstream.com>
Date: 2015-05-06T20:47:32Z
Fixed pyspark indentation issue
see https://issues.apache.org/jira/browse/ZEPPELIN-34, should allow:
%pyspark
if True:
print "one"
else:
print "two"
def test_func(text):
for i in range(1, 10):
print text + '-' + str(i)
test_func('fixed')
----
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: Fixed pyspark indentation issue -...
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/incubator-zeppelin/pull/63
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: Fixed pyspark indentation issue -...
Posted by Leemoonsoo <gi...@git.apache.org>.
Github user Leemoonsoo commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/63#issuecomment-100417569
Tested and looks good to me.
Merging it if there's no more discussions.
@whisperstream Thanks for the great fix.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---