Re: How to read source code in sql validate package?

2022-05-12 Thread guangyuan wang
Thank you very much. Benchao Li 于2022年5月12日周四 13:34写道: > Hi guangyuan, > > The core logic lies in SqlValidatorImpl[1], you can start from there. > Along with SqlValidator, there are two core concept: SqlValidatorScope > and SqlValidatorNamespace. > > Besides, there are many validation tests in S

Jenkins build is back to normal : Calcite » Calcite-snapshots #148

2022-05-12 Thread Apache Jenkins Server
See

[jira] [Created] (CALCITE-5152) Unable to insert bytes using PreparedStatement

2022-05-12 Thread Gregory Hart (Jira)
Gregory Hart created CALCITE-5152: - Summary: Unable to insert bytes using PreparedStatement Key: CALCITE-5152 URL: https://issues.apache.org/jira/browse/CALCITE-5152 Project: Calcite Issue Ty

Implicit cast from string to array

2022-05-12 Thread Dmitry Sysolyatin
Hi! I would like to implement implicit cast from string to array as PG does. For example: "SELECT ARRAY[1,2,3] = '{1,2,3};'" should return true instead of exception for Postgres dialect Is there an easy way to implement implicit cast?

[jira] [Created] (CALCITE-5151) when create hive jdbc schema,throw new IllegalArgumentException("cannot deduce null collation")

2022-05-12 Thread cwb (Jira)
cwb created CALCITE-5151: Summary: when create hive jdbc schema,throw new IllegalArgumentException("cannot deduce null collation") Key: CALCITE-5151 URL: https://issues.apache.org/jira/browse/CALCITE-5151 Pro

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

2022-05-12 Thread Apache Jenkins Server
See Changes: [Stamatis Zampetakis] [CALCITE-5140] Spark, Piglet tests fail in GitHub CI with OpenJ9 -- [...truncated 337.32 KB...] > Task :plus:test

[jira] [Created] (CALCITE-5150) Parser should parse subquery with order by inside array constructor

2022-05-12 Thread Dmitry Sysolyatin (Jira)
Dmitry Sysolyatin created CALCITE-5150: -- Summary: Parser should parse subquery with order by inside array constructor Key: CALCITE-5150 URL: https://issues.apache.org/jira/browse/CALCITE-5150 Pro

[jira] [Created] (CALCITE-5149) Refine RelMdColumnUniqueness for Window by considering partition keys

2022-05-12 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-5149: Summary: Refine RelMdColumnUniqueness for Window by considering partition keys Key: CALCITE-5149 URL: https://issues.apache.org/jira/browse/CALCITE-5149 Project: Calc