Uh oh!
There was an error while loading. Please reload this page.
ZEPPELIN-142 add SparkSqlCompleter - #132
Conversation
There was a problem hiding this comment.
isn't this going to create a new instance of SparkSqlCompleter each time code completion is invoked on a text block?
There was a problem hiding this comment.
Moved SparkSqlCompleter construction to open()
nevillelyh
commented
Jul 2, 2015
Looks like this failed for spark-sql < 1.3. @felixcheung What's the recommended way of dealing with multiple Spark API versions? |
nberserk
commented
Jul 2, 2015
when this completion invoked? I wonder. |
nevillelyh
commented
Jul 2, 2015
@nberserk you invoke it with |
Leemoonsoo
commented
Jul 3, 2015
Thanks for the great contribution. According to message from CI server It looks like there're some compiling error. @nevillelyh Do you have any idea about the error? |
nevillelyh
commented
Jul 3, 2015
Yeah I'm using API introduces in Spark SQL 1.3. What's the best way to make this work? Separate src/man/java directories for each spark version + Maven profiles? |
Leemoonsoo
commented
Jul 5, 2015
Can we go with reflection? for example, api of getting progress in spark vary between versions. And it is handled using reflections, like https://github.com/apache/incubator-zeppelin/blob/branch-0.5/spark/src/main/java/org/apache/zeppelin/spark/SparkInterpreter.java#L653 What do you think? |
nevillelyh
commented
Jul 6, 2015
It might be hard and unreadable since I rely on types |
Leemoonsoo
commented
Jul 7, 2015
Hmm. I'm worried about separating src directory per spark version will make things too complicated. What do you think? Which one do you think better? |
nevillelyh
commented
Jul 8, 2015
Yeah make sense. I'll try to refactor it and remove the pattern matching parts. |
corneadoug
commented
Sep 27, 2016
@nevillelyh |
nevillelyh
commented
Sep 27, 2016
Sorry haven't worked on this in a while and probably won't have time to. Closing it for now. |
(cherry picked from commit ce22d43) #Squashed DSR-88 Refactor Spark MapR-DB Binary tutorials notebook according to ZEPPELIN-3587 (apache#132)
No description provided.