Build failed in Jenkins: Calcite » Calcite-snapshots #41

2022-01-04 Thread Apache Jenkins Server
See Changes: [nobigogle] Update javacc official website -- [...truncated 317.81 KB...] > Task :redis:test  2.5sec, org.apache.calcite.ad

Build failed in Jenkins: Calcite » Calcite-snapshots #40

2022-01-04 Thread Apache Jenkins Server
See Changes: [wellfengzhu] [CALCITE-3627] Incorrect null semantic for ROW function -- [...truncated 328.26 KB...]  25.7sec, org.apache.cal

Re: Apache Calcite learn materials

2022-01-04 Thread xiong duan
Hi LakeShen, You can find some Calcite Learning Resources here https://lists.apache.org/thread/g5nqv2oc80261y5sm1bwlhbpf986lmdw. R. C. Howell 于2022年1月5日周三 04:50写道: > Just my 2¢. I’ve found the examples on github useful as well as the video > https://youtu.be/p1O3E33FIs8 > > On Tue, Jan 4, 2

Re: Mailing list's policy on job postings?

2022-01-04 Thread Andrei Sereda
Hello, This was discussed here: https://lists.apache.org/thread/31o50vg2k8oolqj19m7rj6cfto56owq5 Thanks, Andrei On Tue, Jan 4, 2022 at 6:17 PM Ian Bertolacci wrote: > > Howdy, > What is this mailing list’s policy regarding job postings? > > Thanks! > -Ian J. Bertolacci >

Mailing list's policy on job postings?

2022-01-04 Thread Ian Bertolacci
Howdy, What is this mailing list’s policy regarding job postings? Thanks! -Ian J. Bertolacci

Re: Re: Adding a custom SQL type?

2022-01-04 Thread Ian Bertolacci
Alternatively, can a type be "annotated"? Maybe there's a middle ground, where we don't have to add a custom type (which sounds like it'd be a ton of work) while still providing our system a way to semantically differentiate same-type things. Thanks! -Ian J. Bertolacci On 1/4/22, 1:26 PM, "Ju

Re: Adding a custom SQL type?

2022-01-04 Thread Ian Bertolacci
Can you point me to where that code would be? -Ian J Bertolacci On 1/4/22, 1:26 PM, "Julian Hyde" wrote: In Eigenbase, the system from which Calcite evolved, there was support for SQL standard ‘CREATE TYPE’. (See Eigenbase documentation, [1]). I think this is what you want. That code

Re: [DISCUSS] SBOM (Software Bill of Materials)

2022-01-04 Thread Julian Hyde
We want to generate classes from Java code, without spawning a process, or writing to the file system, and we want it to work in the JRE (not full JDK present). Only Janino does this, AFAIK. > On Jan 4, 2022, at 1:01 PM, Gunnar Morling > wrote: > > Am Di., 4. Jan. 2022 um 21:41 Uhr schrieb Ju

Re: [DISCUSS] SBOM (Software Bill of Materials)

2022-01-04 Thread Gunnar Morling
Am Di., 4. Jan. 2022 um 21:41 Uhr schrieb Julian Hyde < jhyde.apa...@gmail.com>: > No, I don’t think it matters in this case. But consistent use of ROOT is > useful, because someone in future might be tracking down a bug, and if they > see ENGLISH it’s one more hypothesis they’d have to discount.

Re: Apache Calcite learn materials

2022-01-04 Thread R. C. Howell
Just my 2¢. I’ve found the examples on github useful as well as the video https://youtu.be/p1O3E33FIs8 On Tue, Jan 4, 2022 at 3:48 PM LakeShen wrote: > Hi community, > > I am the couple to apache calcite , now I am very interested in apache > calcite. I am finding apache calcite learn materials,

Apache Calcite learn materials

2022-01-04 Thread LakeShen
Hi community, I am the couple to apache calcite , now I am very interested in apache calcite. I am finding apache calcite learn materials, could anyone give some suggestions about this? Thanks Best, LakeShen

Re: [DISCUSS] SBOM (Software Bill of Materials)

2022-01-04 Thread Julian Hyde
No, I don’t think it matters in this case. But consistent use of ROOT is useful, because someone in future might be tracking down a bug, and if they see ENGLISH it’s one more hypothesis they’d have to discount. > On Jan 4, 2022, at 12:31 PM, Gunnar Morling > wrote: > > Am Di., 4. Jan. 2022 um

Re: [DISCUSS] SBOM (Software Bill of Materials)

2022-01-04 Thread Gunnar Morling
Am Di., 4. Jan. 2022 um 20:51 Uhr schrieb Julian Hyde < jhyde.apa...@gmail.com>: > If a method needs a locale, always pass Locale.ROOT. > Ok, I've changed it accordingly. Do you think it actually matters for the case at hand? > On Jan 4, 2022, at 9:13 AM, Gunnar Morling > wrote: > > > > Am Di.,

Re: Adding a custom SQL type?

2022-01-04 Thread Julian Hyde
In Eigenbase, the system from which Calcite evolved, there was support for SQL standard ‘CREATE TYPE’. (See Eigenbase documentation, [1]). I think this is what you want. That code has atrophied over the years, but some of it still remains in Calcite. If someone wants to put in the effort, it co

Adding a custom SQL type?

2022-01-04 Thread Ian Bertolacci
Howdy, How difficult would it be for a Calcite user to add their own type to the type system? Is there a define process for doing this? In our system, a relationship is a semantic type which is physically a long integer. We’ve been able to get by with typing relaltionship fields as SqlTypeName.

[jira] [Created] (CALCITE-4976) Release Calcite 1.30.0

2022-01-04 Thread Julian Hyde (Jira)
Julian Hyde created CALCITE-4976: Summary: Release Calcite 1.30.0 Key: CALCITE-4976 URL: https://issues.apache.org/jira/browse/CALCITE-4976 Project: Calcite Issue Type: Bug Report

Re: [DISCUSS] SBOM (Software Bill of Materials)

2022-01-04 Thread Julian Hyde
If a method needs a locale, always pass Locale.ROOT. > On Jan 4, 2022, at 9:13 AM, Gunnar Morling > wrote: > > Am Di., 4. Jan. 2022 um 09:39 Uhr schrieb Julian Hyde < > jhyde.apa...@gmail.com>: > >> Please log a jira case for the commons-lang3 change. > > > Logged https://issues.apache.org/j

Re: [DISCUSS] SBOM (Software Bill of Materials)

2022-01-04 Thread Gunnar Morling
Am Di., 4. Jan. 2022 um 09:39 Uhr schrieb Julian Hyde < jhyde.apa...@gmail.com>: > Please log a jira case for the commons-lang3 change. Logged https://issues.apache.org/jira/browse/CALCITE-4975. > It looks good. One or two places I’d create a function rather than having > a blob of code inline

[jira] [Created] (CALCITE-4975) Remove dependency to commons-lang3

2022-01-04 Thread Gunnar Morling (Jira)
Gunnar Morling created CALCITE-4975: --- Summary: Remove dependency to commons-lang3 Key: CALCITE-4975 URL: https://issues.apache.org/jira/browse/CALCITE-4975 Project: Calcite Issue Type: Impr

Help with extending the Calcite grammar

2022-01-04 Thread Laksh Singla
Hi, I am relatively a newcomer to the Calcite project and was exploring ways to extend Calcite's grammar. I have gone through the provided test cases and some examples where the grammar is modified. I was facing difficulty in adding custom clauses to the end of a pre-existing grammar rule. In part

[jira] [Created] (CALCITE-4974) Upgrade log4j2 version to 2.17.1 in Avatica

2022-01-04 Thread Stamatis Zampetakis (Jira)
Stamatis Zampetakis created CALCITE-4974: Summary: Upgrade log4j2 version to 2.17.1 in Avatica Key: CALCITE-4974 URL: https://issues.apache.org/jira/browse/CALCITE-4974 Project: Calcite

[jira] [Created] (CALCITE-4973) Upgrade log4j2 version to 2.17.1

2022-01-04 Thread Stamatis Zampetakis (Jira)
Stamatis Zampetakis created CALCITE-4973: Summary: Upgrade log4j2 version to 2.17.1 Key: CALCITE-4973 URL: https://issues.apache.org/jira/browse/CALCITE-4973 Project: Calcite Issue Ty

Re: I have some questions about the offset of the RexRangeRef

2022-01-04 Thread Stamatis Zampetakis
The example with RexInputRef(5) is mentioned in the Javadoc of RexRangeRef [1] and it looks like a typo. As Julian said, it should be RexInputRef(4) and the type should probably be VARCHAR. [1] https://github.com/apache/calcite/blob/8983e7e82ef65c3a72f06305a676cc2998bf72d6/core/src/main/java/org/a

Re: [Calcite Release] Finalizing 1.29.0 release

2022-01-04 Thread Stamatis Zampetakis
Good catch Jess. I just marked 1.29.0 as released. Moreover, I noticed that closed JIRAs in 1.29.0 didn't have the usual comment "Resolved in release X.Y.Z (-MM-DD)" so I did a bulk change to update those as well. Best, Stamatis On Mon, Jan 3, 2022 at 3:22 AM Jess Balint wrote: > The 1.29.

Re: [DISCUSS] SBOM (Software Bill of Materials)

2022-01-04 Thread Julian Hyde
Please log a jira case for the commons-lang3 change. It looks good. One or two places I’d create a function rather than having a blob of code inline. Your use of default locale in the CSV adapter looks wrong. Calcite is a server, so never uses default locale or time zone. In fact we use forbidde