calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Risden <>
Subject Re: Calcite example code
Date Wed, 19 Dec 2018 22:39:07 GMT
I like the idea a lot.

Notebooks are interactive ways to work with code and results. The
notebook typically contains both input and output although you can
save it without the output. The notebook can be used interactively
with Jupyter or one of the options below.

I was going to share this as well since it helps with notebooks on Github:

Static viewing

Dynamic notebook

The dynamic notebook could use a little work to get the Java kernel to
work correctly but it is definitely possible.

Kevin Risden
On Wed, Dec 19, 2018 at 5:22 PM Julian Hyde <> wrote:
> For old idiots like me, can you explain how the notebook works? The file you checked
into GitHub, does it contain the input and output or just the input? Is there a way to edit
or use the notebook interactively?
> It certainly seems a better way to introduce people to examples than saying “go look
at this test”.
> I think quite a few of our tests could be converted into this format.
> Julian
> > On Dec 19, 2018, at 10:52 AM, Michael Mior <> wrote:
> >
> > After seeing so many people ask for example code to do certain basic things
> > in Calcite, I've been trying to find a good literate programming solution
> > for Java as I like this approach for demoing. I recently came across the
> > IJava ( kernel for Jupyter notebooks.
> >
> > This is basically just a proof of concept at this point, but here's a
> > simple example
> >
> >
> >
> > I'm curious what others think of this approach. If others think it would be
> > useful, I'd be happy to take suggestions on what should be included.
> > Eventually, I'd like to get CI set up for this repository so I can re-run
> > the notebooks at will. I would then aim to check this on every release so
> > we can have a repository of code samples which we know run correctly.
> >
> > --
> > Michael Mior
> >

View raw message