I have some questions about the offset of the RexRangeRef

2021-12-29 Thread 董剑辉
I see the following java doc in org.apache.calcite.rex.RexRangeRef, and I want to ask why return RexInputRef(5,Integer) not RexInputRef(4,Integer) when create a reference to the DNAME field? "Reference to a range of columns. This construct is used only during the process of translating a SQL tree

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

2021-12-29 Thread Jacques Nadeau
WRT SBOM (Julian): My general experience is that most large orgs use scanners now (either open or closed) and they will scan whether you have a bill of materials or not. I wouldn't worry about adding something additional. WRT too many dependencies (Gunnar): I completely agree with the general feel

Re: [Calcite Release] Finalizing 1.29.0 release

2021-12-29 Thread Julian Hyde
Yes, ‘drop’ was the right thing to do. ‘Closed’ just means that it’s not possible to add anything to the repo. Each repo is ‘open’ for a short time during the release process while the script is adding files. The other verb is ‘release’, which means send the repo to Maven Central. > On Dec 29,

Re: [Calcite Release] Finalizing 1.29.0 release

2021-12-29 Thread Rui Wang
Those repos were stale ones produced during cutting the candidate. Those were marked as "closed" so I thought that meant those were deleted/remove. I have just clicked on the "Drop" button explicitly. -Rui On Sun, Dec 26, 2021 at 11:24 AM Julian Hyde wrote: > At https://repository.apache.org/#

Re: [ANNOUNCE] Apache Calcite 1.29.0 released

2021-12-29 Thread Jing Zhang
Thanks Rui for making this happen. Best, Jing Zhang xiong duan 于2021年12月29日周三 06:31写道: > Thanks for being RM, Rui! > > Chunwei Lei 于2021年12月28日周二 11:56写道: > > > Thanks for being RM, Rui! > > > > Best, > > Chunwei > > > > > > On Tue, Dec 28, 2021 at 6:33 AM Jacques Nadeau > wrote: > > > > > Th

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

2021-12-29 Thread Gunnar Morling
Hi, In a way, Calcite's build configuration as well as the published POM could be considered as such an SBOM? In particular when looking at the latter through services like mvnrepository [1], you get quite a good view on the dependency versions, licenses, any potential CVEs, etc. I think this shou

Re: How to obtain metadata for tables in sub-schemas?

2021-12-29 Thread Gunnar Morling
Am Di., 28. Dez. 2021 um 23:13 Uhr schrieb Julian Hyde < jhyde.apa...@gmail.com>: > That looks right. So we may have a bug. Also try > > md.getTables(null, null, "%", new String[] {“TABLE”})); > > and > > md.getTables(“", null, "%", new String[] {“TABLE”})); > Same result, no sub-schema table

[jira] [Created] (CALCITE-4969) Can't retrieve metadata for tables in sub-schemas

2021-12-29 Thread Gunnar Morling (Jira)
Gunnar Morling created CALCITE-4969: --- Summary: Can't retrieve metadata for tables in sub-schemas Key: CALCITE-4969 URL: https://issues.apache.org/jira/browse/CALCITE-4969 Project: Calcite I