You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by mb...@apache.org on 2024/10/24 17:24:53 UTC

(calcite) branch main updated: [CALCITE-6613] Make the Background code examples in Calcite official documentation clearer

This is an automated email from the ASF dual-hosted git repository.

mbudiu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite.git


The following commit(s) were added to refs/heads/main by this push:
     new 169d832251 [CALCITE-6613] Make the Background code examples in Calcite official documentation clearer
169d832251 is described below

commit 169d832251be4a845de1f26046d59fff964e8241
Author: Cancai Cai <23...@qq.com>
AuthorDate: Mon Oct 7 00:32:45 2024 +0800

    [CALCITE-6613] Make the Background code examples in Calcite official documentation clearer
---
 site/_docs/index.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/site/_docs/index.md b/site/_docs/index.md
index fda9999f9b..f135688c0a 100644
--- a/site/_docs/index.md
+++ b/site/_docs/index.md
@@ -39,8 +39,8 @@ point it at some data.
 
 {% highlight java %}
 public static class HrSchema {
-  public final Employee[] emps = 0;
-  public final Department[] depts = 0;
+  public final Employee[] emps = new Employee[0];
+  public final Department[] depts = new Department[0];
 }
 Class.forName("org.apache.calcite.jdbc.Driver");
 Properties info = new Properties();