AntoinePrv commented on issue #245:
URL: https://github.com/apache/arrow-js/issues/245#issuecomment-3637007575

   Now that I understand a bit more the setting, I guess there are two 
different things.
   
   `Symbol.for("Jupyter.display")` that is how the Deno kernel knows what 
output to give to Jupyter to display.
   If we want some automatic render we'd have to fill something in for `Table` 
in this library.
   I'm not sure if other Javascript kernel (e.g. 
[xeus-javascript](https://github.com/jupyter-xeus/xeus-javascript) cc 
@DerThorsten) use the same method name.
   
   Now what this function should return?
   - Some HTML data (`text/html`): works out of the box but we'd have to 
maintain a function doing this;
   - Some IPC data (`application/vnd.apache.arrow.stream`): Almost free to 
implement here, but this MIME type is not supported by Jupyter out of the box, 
so it would require the user to install a Jupyter extension that does not exist 
today (AFAIK).
   
   Everything I mentioned related to actual files may use similar technique but 
is not directly related to the solution here.
   
   My 2c: there could be a basic HTML table here that would work out of the 
box; and later, an  `application/vnd.apache.arrow.stream` (activated by some 
option?) for when there is a well established extension that offer something 
more than a basic table. But I am not a maintainer or contributor here.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to