Re: Using INTERVAL parameters for UDTF

2021-02-18 Thread Patrick Angeles
Opened an issue here: https://issues.apache.org/jira/browse/CALCITE-4504 Cheers On Thu, Feb 18, 2021 at 5:33 AM Timo Walther wrote: > Hi Patrick, > > thanks for reaching out to us and investigating the problem. Could you > open an issue in the Calcite project? I think it would be nice to solve

Re: Using INTERVAL parameters for UDTF

2021-02-18 Thread Timo Walther
Hi Patrick, thanks for reaching out to us and investigating the problem. Could you open an issue in the Calcite project? I think it would be nice to solve it on both the Calcite and Flink side. Thanks, Timo On 18.02.21 06:02, Patrick Angeles wrote: NVM. Found the actual source on Calcite tr

Re: Using INTERVAL parameters for UDTF

2021-02-17 Thread Patrick Angeles
NVM. Found the actual source on Calcite trunk. Looks like interval type (and a few others) are not yet supported. https://github.com/apache/calcite/blob/master/core/src/main/java/org/apache/calcite/sql/type/SqlTypeUtil.java On Wed, Feb 17, 2021 at 8:11 PM Patrick Angeles wrote: > For some rea

Re: Using INTERVAL parameters for UDTF

2021-02-17 Thread Patrick Angeles
For some reason I can't get view the source so I don't have exact line numbers, but IntelliJ was kind enough to decompile this part (SqlTypeUtil.class) for me. This appears to be the exception I'm hitting. if (!isAtomic(type) && !isNull(type)) { > if (isCollection(type)) { > typeNameSp