Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Frank Dekervel
    @kervel
    hello, did anybody use polynote with apache flink streaming ?
    raproth
    @raproth
    Are you planning to make a new release soon? 0.4.2 is quite old...
    jonathanindig
    @jonathanindig
    Yes.
    jonathanindig
    @jonathanindig
    Anton Kulaga
    @antonkulaga
    cool
    Jelmer Kuperus
    @jelmerk

    I am trying to create a visualisation on a dataframe but somehow when i place the dataframe in a vega datasets collection like so

    https://gist.github.com/jelmerk/c924edb4ed0360e8235c283345a8b6be

    I get the following error

    Uncaught (in promise) RangeError: Maximum call stack size exceeded
    at Object (<anonymous>)

    anyone have any idea why this happens ?
    Jelmer Kuperus
    @jelmerk
    Another more self contained example: https://gist.github.com/jelmerk/ba2a3643079d69f819f9eb7163412142 based on the docs
    jonathanindig
    @jonathanindig
    I haven’t looked into why what you’re trying isn’t working, but is there any reason you need to use datasets rather than just specifying data as in the example?
    Jelmer Kuperus
    @jelmerk
    i want to use 2 different datasets in 2 different layers

    i have 1 dataframe with the active number of executors
    and another one with the start and end times of each spark job

    I'd like to turn that into a linegraph with the number of executors with some markers indicating when a job started and ended

    Jelmer Kuperus
    @jelmerk
    Here's an example from the docs where they use 2 different dataset https://vega.github.io/vega-lite/examples/layer_likert.html
    Anton Kulaga
    @antonkulaga
    is it already safe to use polynote with Spark3.2+Scala 2.13?
    Aleksander Żarczyński
    @o-l-o
    I have question regarding max dataset size passed to the Vega view. In the code I found that the data is limited to 2000 elements. In case of layered plots it's often not enough. Could you introduce some parameter (or even better - plot setting) which would allow for modifying the limit?
    jonathanindig
    @jonathanindig
    Hi @o-l-o, would you mind creating a github issue to track your request? Just to make sure it doesn’t get lost here. Thanks!
    2 replies
    Dan Di Spaltro
    @dispalt
    Sorry for being dense but I need to build a 2.13 version of polynote before I can use with a 2.13 version of spark right?
    Anton Kulaga
    @antonkulaga
    I am having an issue when I try to run polars ( https://github.com/pola-rs/polars ) inside polynote
    binascii.cpython-38-x86_64-linux-gnu.so: undefined symbol: PyFloat_Type
    Anton Kulaga
    @antonkulaga
    I belive it is totally polynote fault as the library works well localy
    5 replies
    I opened an issue polynote/polynote#1238
    KIM
    @jinyuejin
    Hello, I want to ask a question. Have you noticed when the code-cell is selected the spaces-width will change?
    jonathanindig
    @jonathanindig
    Hi @jinyuejin , can you show a screenshot or video of what you mean? Not sure I follow. Thanks!
    Dan Di Spaltro
    @dispalt
    Hey there, following up on this guy, but if I am connecting to spark cluster running 2.13 do I need a polynote built with 2.13?
    jeremyrsmith
    @jeremyrsmith
    @dispalt it should detect what Scala version to use when starting the kernel
    3 replies
    KIM
    @jinyuejin
    jump.gif
    @jonathanindig Hi,Since I'm a front-end developer, I'm wondering if there is a way around this.
    I don't think it's a monaco-editor's problem.
    jonathanindig
    @jonathanindig
    I’ve never seen that before. What browser / OS are you using? Are you able to reproduce by playing around with the Monaco Playground? https://microsoft.github.io/monaco-editor/playground.html
    KIM
    @jinyuejin
    Chrome and Win10. In the Monaco Playground, it seems normal.
    1.gif
    jonathanindig
    @jonathanindig
    If you make an empty cell and put that exact same text (the todo list), does it do the same thing in Polynote?
    KIM
    @jinyuejin
    In polynote ,the text-cell is normal, while code-cell, it will happen.
    2.gif
    jonathanindig
    @jonathanindig
    Can you share a screenshot of it happening in a code cell with the todo list?
    KIM
    @jinyuejin
    In the Monaco Playground, it's not happen . so, I don't think the reason is value and language.
    4 replies
    OK ,i try
    3.gif
    It's too werid.
    jonathanindig
    @jonathanindig
    Oh wow, that’s weird. Neither of us have a Windows machine, so it’s hard for us to debug this. I don’t see it happening in Chrome on Mac
    KIM
    @jinyuejin
    Thank you for your reply!
    jonathanindig
    @jonathanindig
    Sorry I can’t be more helpful :( We’d be happy to look at a PR if someone with a Windows machine figures out what’s happening!
    1 reply
    KIM
    @jinyuejin
    I don't know if this problem is also the cause of windows. https://github.com/polynote/polynote/issues/1245#issue-1156081303
    jonathanindig
    @jonathanindig
    Hmm, that is not Windows-specific. In this case, this is because the Text cell contents get saved as Markdown, so an intendation turns into a quote
    KIM
    @jinyuejin
    oh,no ! I accidentally closed it!sorry.... I'm github rookie.
    jonathanindig
    @jonathanindig
    I repoened it. No worries :)
    KIM
    @jinyuejin
    908C0A1E.png
    KIM
    @jinyuejin
    Hi, I have a question .What does the ExecutionStatus mean? pos always returns None.
    Dan Di Spaltro
    @dispalt
    Im running into a class path issue, so I've got spark 2.13 (3.2) running, I finally got all the bits to work connecting from the notebook to the k8s master. It took a while to chase everything down, but it's looking good now. However, my one last not working bit is something to do with the pager of results. I am getting a missing class exception. Specifically for mysql jdbc jar. If i write something like Class.forName("com.mysql.cj.jdbc.Driver") it works, if I actually load in a table and do show(10) it also works, however, the pager just doesn't work and I am not entirely sure why...
    jeremyrsmith
    @jeremyrsmith
    @dispalt can you share the stack trace?
    Faiz Halde
    @fhalde
    Is it possible to provide a local jar in Configuration & dependencies ? I've tried supplying using file://<path to jar> but it fails with some "URI has an authority component" error
    jonathanindig
    @jonathanindig
    Try file:///