You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by Stamatis Zampetakis <za...@gmail.com> on 2020/02/05 12:29:38 UTC

Re: Gradle documentation update

The build instructions on the Website are still outdated (they still
mention mvn).
If nobody picks this up, I will try to align things tomorrow since more and
more people encounter problems when building master.

Best,
Stamatis

On Fri, Jan 24, 2020 at 12:01 AM Michael Mior <mm...@apache.org> wrote:

> No, the site is updated apart from releases, but any changes aside
> from a release are made manually. This is so that we can fix bugs on
> the site or make updates not related to code while keeping the
> documentation consistent with the latest released version.
>
> --
> Michael Mior
> mmior@apache.org
>
> Le jeu. 23 janv. 2020 à 17:42, Rui Wang <am...@apache.org> a écrit :
> >
> > Not sure if it is related: the change of reference.md that I submitted in
> > [1] hasn't appeared on [2]
> >
> > Question: does the Calcite reference webpage only get updated when
> > releasing? (if not it might have been overwritten by an older version).
> >
> >
> > [1]: https://github.com/apache/calcite/pull/1587
> > [2]: https://calcite.apache.org/docs/reference.html
> >
> >
> > -Rui
> >
> > On Tue, Jan 21, 2020 at 6:00 PM Michael Mior <mm...@apache.org> wrote:
> >
> > > It looks like things are much simpler than I thought. In the current
> > > state of the site branch, the Gradle changes (which happened since the
> > > last Calcite release) have not been cherry picked onto the site
> > > branch. I'm happy to do this although it means the directions will be
> > > wrong when building from a release. I think this is better than being
> > > wrong for the current master.
> > > --
> > > Michael Mior
> > > mmior@apache.org
> > >
> > > Le mar. 7 janv. 2020 à 06:35, Michael Mior <mm...@apache.org> a écrit
> :
> > > >
> > > > I noticed when the changed was made from Maven to Gradle, the
> > > documentation on the development page has not been updated. I can
> change
> > > the compilation command, but could any IDE users update the
> documentation
> > > there?
> > > > --
> > > > Michael Mior
> > > > mmior@apache.org
> > >
>

Re: Gradle documentation update

Posted by Michael Mior <mm...@apache.org>.
Thanks Stamatis!
--
Michael Mior
mmior@apache.org

Le mer. 5 févr. 2020 à 07:29, Stamatis Zampetakis <za...@gmail.com> a écrit :
>
> The build instructions on the Website are still outdated (they still
> mention mvn).
> If nobody picks this up, I will try to align things tomorrow since more and
> more people encounter problems when building master.
>
> Best,
> Stamatis
>
> On Fri, Jan 24, 2020 at 12:01 AM Michael Mior <mm...@apache.org> wrote:
>
> > No, the site is updated apart from releases, but any changes aside
> > from a release are made manually. This is so that we can fix bugs on
> > the site or make updates not related to code while keeping the
> > documentation consistent with the latest released version.
> >
> > --
> > Michael Mior
> > mmior@apache.org
> >
> > Le jeu. 23 janv. 2020 à 17:42, Rui Wang <am...@apache.org> a écrit :
> > >
> > > Not sure if it is related: the change of reference.md that I submitted in
> > > [1] hasn't appeared on [2]
> > >
> > > Question: does the Calcite reference webpage only get updated when
> > > releasing? (if not it might have been overwritten by an older version).
> > >
> > >
> > > [1]: https://github.com/apache/calcite/pull/1587
> > > [2]: https://calcite.apache.org/docs/reference.html
> > >
> > >
> > > -Rui
> > >
> > > On Tue, Jan 21, 2020 at 6:00 PM Michael Mior <mm...@apache.org> wrote:
> > >
> > > > It looks like things are much simpler than I thought. In the current
> > > > state of the site branch, the Gradle changes (which happened since the
> > > > last Calcite release) have not been cherry picked onto the site
> > > > branch. I'm happy to do this although it means the directions will be
> > > > wrong when building from a release. I think this is better than being
> > > > wrong for the current master.
> > > > --
> > > > Michael Mior
> > > > mmior@apache.org
> > > >
> > > > Le mar. 7 janv. 2020 à 06:35, Michael Mior <mm...@apache.org> a écrit
> > :
> > > > >
> > > > > I noticed when the changed was made from Maven to Gradle, the
> > > > documentation on the development page has not been updated. I can
> > change
> > > > the compilation command, but could any IDE users update the
> > documentation
> > > > there?
> > > > > --
> > > > > Michael Mior
> > > > > mmior@apache.org
> > > >
> >

Re: Gradle documentation update

Posted by Julian Hyde <jh...@apache.org>.
No objection to SQLLine printing some helpful instructions, as long as there is a way for more advanced users to turn it off.

I can’t think of a mechanism in SQLLine to run a startup script, but there probably is one.

> On Feb 6, 2020, at 1:55 AM, Vladimir Sitnikov <si...@gmail.com> wrote:
> 
>> If you notice anything weird let me know.
> 
> Thank you.
> 
> ---
> 
> I recently found that ./sqlline is non-trivial, especially when non-expert
> is using it.
> 
> What do you think if we make ./sqlline to print sample commands right after
> it starts?
> 
> We have pre-defined data sets.
> What if ./sqlline printed a couple of lines right at the startup, so the
> user could copy-paste them to connect to the datasets?
> 
> It would probably make sense to add !echo and !startupscript commands to
> Sqlline so
> Calcite's sqlline could print the welcome message and suggest the way to
> connect and
> it could even suggest a couple of SQLs to try.
> 
> ---
> 
> As a side note, it might be interesting to have Calcite playground.
> It could be like https://rextester.com/l/postgresql_online_compiler but
> with Calcite inside.
> 
> Vladimir


Re: Gradle documentation update

Posted by Vladimir Sitnikov <si...@gmail.com>.
>If you notice anything weird let me know.

Thank you.

---

I recently found that ./sqlline is non-trivial, especially when non-expert
is using it.

What do you think if we make ./sqlline to print sample commands right after
it starts?

We have pre-defined data sets.
What if ./sqlline printed a couple of lines right at the startup, so the
user could copy-paste them to connect to the datasets?

It would probably make sense to add !echo and !startupscript commands to
Sqlline so
Calcite's sqlline could print the welcome message and suggest the way to
connect and
it could even suggest a couple of SQLs to try.

---

As a side note, it might be interesting to have Calcite playground.
It could be like https://rextester.com/l/postgresql_online_compiler but
with Calcite inside.

Vladimir

Re: Gradle documentation update

Posted by Stamatis Zampetakis <za...@gmail.com>.
I committed a few things on apache/site and pushed the changes to
apache/calcite-site.
The Gradle documentation in the Website looks to be fine now.

If you notice anything weird let me know.

Best,
Stamatis


On Wed, Feb 5, 2020 at 1:29 PM Stamatis Zampetakis <za...@gmail.com>
wrote:

> The build instructions on the Website are still outdated (they still
> mention mvn).
> If nobody picks this up, I will try to align things tomorrow since more
> and more people encounter problems when building master.
>
> Best,
> Stamatis
>
> On Fri, Jan 24, 2020 at 12:01 AM Michael Mior <mm...@apache.org> wrote:
>
>> No, the site is updated apart from releases, but any changes aside
>> from a release are made manually. This is so that we can fix bugs on
>> the site or make updates not related to code while keeping the
>> documentation consistent with the latest released version.
>>
>> --
>> Michael Mior
>> mmior@apache.org
>>
>> Le jeu. 23 janv. 2020 à 17:42, Rui Wang <am...@apache.org> a écrit :
>> >
>> > Not sure if it is related: the change of reference.md that I submitted
>> in
>> > [1] hasn't appeared on [2]
>> >
>> > Question: does the Calcite reference webpage only get updated when
>> > releasing? (if not it might have been overwritten by an older version).
>> >
>> >
>> > [1]: https://github.com/apache/calcite/pull/1587
>> > [2]: https://calcite.apache.org/docs/reference.html
>> >
>> >
>> > -Rui
>> >
>> > On Tue, Jan 21, 2020 at 6:00 PM Michael Mior <mm...@apache.org> wrote:
>> >
>> > > It looks like things are much simpler than I thought. In the current
>> > > state of the site branch, the Gradle changes (which happened since the
>> > > last Calcite release) have not been cherry picked onto the site
>> > > branch. I'm happy to do this although it means the directions will be
>> > > wrong when building from a release. I think this is better than being
>> > > wrong for the current master.
>> > > --
>> > > Michael Mior
>> > > mmior@apache.org
>> > >
>> > > Le mar. 7 janv. 2020 à 06:35, Michael Mior <mm...@apache.org> a
>> écrit :
>> > > >
>> > > > I noticed when the changed was made from Maven to Gradle, the
>> > > documentation on the development page has not been updated. I can
>> change
>> > > the compilation command, but could any IDE users update the
>> documentation
>> > > there?
>> > > > --
>> > > > Michael Mior
>> > > > mmior@apache.org
>> > >
>>
>