You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by fr...@apache.org on 2019/05/15 12:25:46 UTC

[calcite-avatica-go] branch master updated (7b197cb -> ca36f54)

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

francischuang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/calcite-avatica-go.git.


 discard 7b197cb  [CALCITE-3026] Add news item for 4.0.0 release
     new ca36f54  [CALCITE-3026] Add news item and set date for 4.0.0 release

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (7b197cb)
            \
             N -- N -- N   refs/heads/master (ca36f54)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 site/_docs/go_history.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


[calcite-avatica-go] 01/01: [CALCITE-3026] Add news item and set date for 4.0.0 release

Posted by fr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

francischuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite-avatica-go.git

commit ca36f5430b3c81d9fbb21b0b65b3334aaf6eeb2f
Author: Francis Chuang <fr...@apache.org>
AuthorDate: Wed May 15 22:19:55 2019 +1000

    [CALCITE-3026] Add news item and set date for 4.0.0 release
---
 site/_docs/go_history.md                           |  2 +-
 site/_posts/2019-05-16-release-avatica-go-4.0.0.md | 46 ++++++++++++++++++++++
 2 files changed, 47 insertions(+), 1 deletion(-)

diff --git a/site/_docs/go_history.md b/site/_docs/go_history.md
index f586913..a2f9cf1 100644
--- a/site/_docs/go_history.md
+++ b/site/_docs/go_history.md
@@ -28,7 +28,7 @@ For a full list of releases, see
 Downloads are available on the
 [downloads page]({{ site.baseurl }}/downloads/avatica-go.html).
 
-## <a href="https://github.com/apache/calcite-avatica-go/releases/tag/v4.0.0">4.0.0</a> / 2019-05-XX
+## <a href="https://github.com/apache/calcite-avatica-go/releases/tag/v4.0.0">4.0.0</a> / 2019-05-16
 {: #v4-0-0}
 
 Apache Calcite Avatica Go 4.0.0 is a major release of Avatica Go with a number of improvements and a breaking change.
diff --git a/site/_posts/2019-05-16-release-avatica-go-4.0.0.md b/site/_posts/2019-05-16-release-avatica-go-4.0.0.md
new file mode 100644
index 0000000..9614a72
--- /dev/null
+++ b/site/_posts/2019-05-16-release-avatica-go-4.0.0.md
@@ -0,0 +1,46 @@
+---
+layout: news_item
+date: "2019-05-16 08:30:00 +0000"
+author: francischuang
+version: 4.0.0
+categories: [release]
+tag: v4-0-0
+sha: 3790ef5
+component: avatica-go
+---
+<!--
+{% comment %}
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to you under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+{% endcomment %}
+-->
+
+Apache Calcite Avatica Go 4.0.0 is a major release with numerous improvements and a breaking change for Apache Phoenix.
+As this a a new major version, users of this package will need to upgrade their import paths to 
+`"github.com/apache/calcite-avatica-go/v4"`.
+
+**Breaking change for Apache Phoenix ([CALCITE-2763](https://issues.apache.org/jira/browse/CALCITE-2724)):** 
+In Apache Phoenix, null and empty strings are equivalent. For some background on why this is the case, see
+[PHOENIX-947](https://issues.apache.org/jira/browse/PHOENIX-947). In version 3 of Avatica-Go and below, null and empty
+strings are returned as an empty string `""` to the client. This prevented database/sql's built in NullString type from
+working correctly. From 4.0.0 onwards, null and empty strings will be returned as a `nil`. This allows the usage of the
+`sql.NullString` type.
+
+For this release, both [dep](https://github.com/golang/dep) and Go modules are supported for package management. As 
+Go modules will be turned on by default in Go 1.13.0 (estimated to be released in September/October 2019), it is highly
+recommended that users of this package start migrating to using Go modules to ease the transition.
+
+The Calcite team recommends users of this package to upgrade to this version, where practical, as the dependencies being
+used by this package have also been upgraded.
\ No newline at end of file