Re: [DISCUSS] WithItem query parentheses

2022-06-07 Thread Yanjing Wang
Thanks Julian for your nice guidance, I logged this bug onto CALCITE-5185 , and I will go to any lengths to fix it soon. Julian Hyde 于2022年6月7日周二 22:28写道: > Yes. The parentheses are required for correctness. Please log a bug. > > While you’re

[jira] [Created] (CALCITE-5185) The required parentheses for WITH ITEM QUERY are missing when SqlPrettyWriter.config().withAlwaysUseParentheses(false)

2022-06-07 Thread yanjing.wang (Jira)
yanjing.wang created CALCITE-5185: - Summary: The required parentheses for WITH ITEM QUERY are missing when SqlPrettyWriter.config().withAlwaysUseParentheses(false) Key: CALCITE-5185 URL:

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

2022-06-07 Thread Apache Jenkins Server
See Changes: [Chunwei Lei] Fix typo in comments -- [...truncated 341.63 KB...]  28.9sec, org.apache.calcite.test.PigRelOpTest

Re: Avatica server HTTP prefix

2022-06-07 Thread Francis Chuang
Hi Will, Avatica does not have any functionality to do this. You will need to produce your own build of Avatica with the appropriate middleware to strip the path. Depending on what you're using for Kubernentes ingress, perhaps ingress can rewrite the url before passing that off the your

Re: [DISCUSS] WithItem query parentheses

2022-06-07 Thread Julian Hyde
Yes. The parentheses are required for correctness. Please log a bug. While you’re there, it would be nice if there were a line break after each CTE. (Including if there are multiple CTEs.) Maybe the fix can address that too. Julian > On Jun 7, 2022, at 05:19, Yanjing Wang wrote: > > Hi

[DISCUSS] WithItem query parentheses

2022-06-07 Thread Yanjing Wang
Hi community, the test follows @Test void testWithUnion2() { // Per the standard WITH ... SELECT ... UNION is valid even without parens. final String sql = "with emp2 as (select * from emp union all select * from emp)\n" + "select * from emp2\n" + "union\n" +